Trabajos de portfolio

Please visit Source Site #wordpress #wp #php #snippet #coding Trabajos de portfolio The post Trabajos de portfolio appeared first on GenerateWP. Please visit Source Site

Shortcode

Please visit Source Site #wordpress #wp #php #snippet #coding // Add Shortcode function query_history_posts_shortcode( $atts ) { // Attributes $atts = shortcode_atts( array( ‘posts’ => ’10’, ‘category’ => ”, ‘orderby’…

History query

Please visit Source Site #wordpress #wp #php #snippet #coding // WP_Query arguments $args = array( ‘post_type’ => array( ‘company_history’ ), ‘post_status’ => array( ‘published’ ), ‘nopaging’ => false, ‘posts_per_page’ =>…

Test

Please visit Source Site #wordpress #wp #php #snippet #coding $tax_query = array( array( ‘taxonomy’ => ‘category’, ‘field’ => ‘slug’, ), ); The post Test appeared first on GenerateWP. Please visit…

taxonomy

Please visit Source Site #wordpress #wp #php #snippet #coding // WP_Term_Query arguments $args = array( ‘taxonomy’ => array( ‘canais-categorias’ ), ‘order’ => ‘ASC’, ‘orderby’ => ‘name’, ‘hide_empty’ => true, );…