Title: jamesmddd's Replies | WordPress.org

---

# jamesmddd

  [  ](https://wordpress.org/support/users/jamesmddd/)

 *   [Profile](https://wordpress.org/support/users/jamesmddd/)
 *   [Topics Started](https://wordpress.org/support/users/jamesmddd/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jamesmddd/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jamesmddd/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jamesmddd/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jamesmddd/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jamesmddd/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Showing date on single post pages when posts are in any category EXCEPT id=3](https://wordpress.org/support/topic/showing-date-on-single-post-pages-when-posts-are-in-any-category-except-id3/)
 *  Thread Starter [jamesmddd](https://wordpress.org/support/users/jamesmddd/)
 * (@jamesmddd)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/showing-date-on-single-post-pages-when-posts-are-in-any-category-except-id3/#post-1652907)
 * great, thanks!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [how to display category description only on the first category page?](https://wordpress.org/support/topic/how-to-display-category-description-only-on-the-first-category-page/)
 *  Thread Starter [jamesmddd](https://wordpress.org/support/users/jamesmddd/)
 * (@jamesmddd)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/how-to-display-category-description-only-on-the-first-category-page/#post-1622460)
 * thanks…
 * how can i only show the content on parent pages, and have nothing on the child
   pageS?
 * thanks!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [How to list and link the child categories of the current parent category?](https://wordpress.org/support/topic/how-to-list-and-link-the-child-categories-of-the-current-parent-category/)
 *  Thread Starter [jamesmddd](https://wordpress.org/support/users/jamesmddd/)
 * (@jamesmddd)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/how-to-list-and-link-the-child-categories-of-the-current-parent-category/#post-1621844)
 * 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?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [How to list and link the child categories of the current parent category?](https://wordpress.org/support/topic/how-to-list-and-link-the-child-categories-of-the-current-parent-category/)
 *  Thread Starter [jamesmddd](https://wordpress.org/support/users/jamesmddd/)
 * (@jamesmddd)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/how-to-list-and-link-the-child-categories-of-the-current-parent-category/#post-1621811)
 * 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](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.;
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [How to list and link the child categories of the current parent category?](https://wordpress.org/support/topic/how-to-list-and-link-the-child-categories-of-the-current-parent-category/)
 *  Thread Starter [jamesmddd](https://wordpress.org/support/users/jamesmddd/)
 * (@jamesmddd)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/how-to-list-and-link-the-child-categories-of-the-current-parent-category/#post-1621795)
 * just tried it and it didn’t work 🙁
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [How to list and link the child categories of the current parent category?](https://wordpress.org/support/topic/how-to-list-and-link-the-child-categories-of-the-current-parent-category/)
 *  Thread Starter [jamesmddd](https://wordpress.org/support/users/jamesmddd/)
 * (@jamesmddd)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/how-to-list-and-link-the-child-categories-of-the-current-parent-category/#post-1621794)
 * thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Sort posts by custom field in one category (other have to be sort by default)](https://wordpress.org/support/topic/sort-posts-by-custom-field-in-one-category-other-have-to-be-sort-by-default/)
 *  [jamesmddd](https://wordpress.org/support/users/jamesmddd/)
 * (@jamesmddd)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/sort-posts-by-custom-field-in-one-category-other-have-to-be-sort-by-default/#post-1305627)
 * 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [After posting a comment, WP doesn't redirect properly.](https://wordpress.org/support/topic/after-posting-a-comment-wp-doesnt-redirect-properly/)
 *  Thread Starter [jamesmddd](https://wordpress.org/support/users/jamesmddd/)
 * (@jamesmddd)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/after-posting-a-comment-wp-doesnt-redirect-properly/#post-1599272)
 * i think i got it working! I deleted a space that was at the end of the custom
   permalinks field…

Viewing 8 replies - 1 through 8 (of 8 total)