Acasă » programare web

programare web

Ordonarea setului de articole dupa mai multe campuri custom

Salut! In documentatia WordPress pentru WP_Query gasim sintaxa pentru ordonarea setului de articole dupa un camp custom (prezent in tabelul post_meta) asociat fiecarui articol. $args = array( ‘post_type’ => ‘product’, ‘orderby’ => ‘meta_value_num’, ‘meta_key’ => ‘price’, ); $query = new WP_Query( $args ); Exista situatii… Citește mai mult »Ordonarea setului de articole dupa mai multe campuri custom

Cursurile urmarite recent la Tuts+

Recently Watched Courses CodeIgniter Essentials PHP Object Oriented Programming Fundamentals The MVC Mindset Use Composer Automated Testing With PHP Tools of the Modern Web Developer Guide to Your First WordPress Framework WordPress Hacker’s Guide to the Galaxy Object-Oriented Design in PHP PHP Testing Basics