jamesmddd
Forum Replies Created
-
great, thanks!
thanks…
how can i only show the content on parent pages, and have nothing on the child pageS?
thanks!
ahah its working, thanks!
do you know if there is any way I can get the child categories to be in a line, rather than in a bullet point list?
No, still not working…
Maybe if I show you the page its going on you can know what I’m talking about…
http://designermensclothes.co.uk/22/mensclothes/accessories
underneath the Category: Accessories title, I’d like to display the child categories of Accessories, which are linked to the child category page.;
just tried it and it didn’t work 🙁
thanks!
guys, this is great…
how could i change this code
<?php // If there's a query for cat 3 (so $wp_query->query, will contain cat=3, or equivalent already if this is true) if( is_category('3') ) { // Check if $wp_query is available, only globalise if required if(!$wp_query) { global $wp_query; } // What args you "need to set" (everything else is just read as normal from $wp_query->query) $args = array( 'meta_key' => 'sort_num', 'orderby' => 'meta_value' ); // The final query, your "required args" , plus any that already existed in the query query_posts( array_merge( $args , $wp_query->query ) ); } if (have_posts()) : while (have_posts()) : the_post(); ?>to be so by default posts are sorted by custom field, and then I can put in the seperate categories ID’s to display by date?
much appreciated!
Forum: Fixing WordPress
In reply to: After posting a comment, WP doesn't redirect properly.i think i got it working! I deleted a space that was at the end of the custom permalinks field…