Title: greencode's Replies - page 21 | WordPress.org

---

# greencode

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 301 through 315 (of 536 total)

[←](https://wordpress.org/support/users/greencode/replies/page/20/?output_format=md)
[1](https://wordpress.org/support/users/greencode/replies/?output_format=md) [2](https://wordpress.org/support/users/greencode/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/greencode/replies/page/3/?output_format=md)…
[20](https://wordpress.org/support/users/greencode/replies/page/20/?output_format=md)
21 [22](https://wordpress.org/support/users/greencode/replies/page/22/?output_format=md)…
[34](https://wordpress.org/support/users/greencode/replies/page/34/?output_format=md)
[35](https://wordpress.org/support/users/greencode/replies/page/35/?output_format=md)
[36](https://wordpress.org/support/users/greencode/replies/page/36/?output_format=md)
[→](https://wordpress.org/support/users/greencode/replies/page/22/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] Compatibility request with WPML](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-compatibility-request-with-wpml/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-compatibility-request-with-wpml/#post-2844147)
 * Thanks. I really appreciate you taking the time to get in touch with them.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] Hierachy in breadcrumb](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-hierachy-in-breadcrumb/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-hierachy-in-breadcrumb/#post-2837372)
 * Thanks. I’ve decided to go with using Tags as well as Categories
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Small PHP problem](https://wordpress.org/support/topic/small-php-problem/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/small-php-problem/#post-2841513)
 * Sorry, one of those days – very obvious what I should have done! Thanks so much
   for your help with this – really appreciated.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Small PHP problem](https://wordpress.org/support/topic/small-php-problem/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/small-php-problem/#post-2841510)
 * Thanks so much for this.
 * Just one question. It now doesn’t have any spacing i.e. it comes out as:
 * View allArtProjects
 * How do I go about adding the spaces?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] Hierachy in breadcrumb](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-hierachy-in-breadcrumb/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-hierachy-in-breadcrumb/#post-2837354)
 * When you say using a mixture of taxonomies do you mean categories and tags?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] Hierachy in breadcrumb](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-hierachy-in-breadcrumb/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-hierachy-in-breadcrumb/#post-2837352)
 * Thanks for your reply.
 * Actually what I have is this:
 * Fruits (ID 11)
    – Citrus Fruits (ID 12) Featured (ID 103) – Featured Sub (ID 
   104)
 * So what it’s doing is finding the first hierarchy which is Featured Sub and then
   using that in the breadcrumb trail.
 * Is there no way to specify the hierarchy either using the plugin or another plugin?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Different number of posts on category page 1](https://wordpress.org/support/topic/different-number-of-posts-on-category-page-1/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/different-number-of-posts-on-category-page-1/page/2/#post-2833185)
 * It really is very odd. I’ve checked the functions.php file and there’s nothing
   in there that would be having any influence on things. Tried those bits of code
   you mentioned and they all basically worked in the same way but didn’t help with
   the last page problem.
 * Very strange indeed!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Different number of posts on category page 1](https://wordpress.org/support/topic/different-number-of-posts-on-category-page-1/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/different-number-of-posts-on-category-page-1/page/2/#post-2833182)
 * Just done a little bit of testing – using your latest code and here’s what’s 
   happening…
 * If I edit the following code:
 *     ```
       $paginated_total = 20
       ```
   
 * to the same amount that shows in the Admin > Reading > Blog pages show at most
   total then all works well i.e. 5 posts on first page and 20 on subsequent pages.
   If, however, I set the code above to something less than is specified in the 
   WP admin then the last page doesn’t work. i.e.
 * paginated_total = 20 / reading settings = 20 > Works correctly
    paginated_total
   = 19 / reading settings = 20 > Page not found paginated_total = 21 / reading 
   settings = 20 > Works correctly
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Different number of posts on category page 1](https://wordpress.org/support/topic/different-number-of-posts-on-category-page-1/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/different-number-of-posts-on-category-page-1/page/2/#post-2833180)
 * Hi. Yep, that’s the one I used i.e. replacing all the content of my cat-news.
   php file with the code you provided. It’s very odd that the last page number 
   exists but there’s no page to be found even though there should be another 16
   posts to display?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Different number of posts on category page 1](https://wordpress.org/support/topic/different-number-of-posts-on-category-page-1/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/different-number-of-posts-on-category-page-1/page/2/#post-2833178)
 * It’s very strange. The page numbers show correctly but clicking on the last page
   number just takes me to the page but with a Page not found, even though the penultimate
   page is not the end of the post count i.e. there’s 16 posts missing from the 
   end which should be on the last page?!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Different number of posts on category page 1](https://wordpress.org/support/topic/different-number-of-posts-on-category-page-1/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/different-number-of-posts-on-category-page-1/page/2/#post-2833177)
 * I have the header: [http://pastebin.com/sdvKdrDK](http://pastebin.com/sdvKdrDK)
 * Then the category content: [http://pastebin.com/Ed9yTa7a](http://pastebin.com/Ed9yTa7a)
 * then the footer: [http://pastebin.com/jqvyFcyF](http://pastebin.com/jqvyFcyF)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Different number of posts on category page 1](https://wordpress.org/support/topic/different-number-of-posts-on-category-page-1/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/different-number-of-posts-on-category-page-1/page/2/#post-2833174)
 * Ahh, thanks for the heads up.
 * Here’s the code: [http://pastebin.com/Ed9yTa7a](http://pastebin.com/Ed9yTa7a)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Different number of posts on category page 1](https://wordpress.org/support/topic/different-number-of-posts-on-category-page-1/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/different-number-of-posts-on-category-page-1/page/2/#post-2833172)
 * It’s a custom theme based on the toolbox theme. Here’s what I use for my cat-
   news.php category page to display the News category items.
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   The maximum number of lines of code that you can post in these forums is **ten
   lines**. Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * Two problems now…
 * 1. I have the first post styled differently to the other posts, so unsure how
   to include that in the code you kindly provided.
 * 2. Just quickly adding your code appears to work but then if I click on the last
   page in the pagination then I get a page not found.
 * Thanks once again for your help with this – I really wouldn’t know where to start
   with this. I’ve trawled the internet high and low and couldn’t find anything 
   similar.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] Breadcrumb font color and underline](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-breadcrumb-font-color-and-underline/)
 *  [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-breadcrumb-font-color-and-underline/#post-2837290)
 * Have you added the breadcrumb as per the instructions i.e.
 *     ```
       <div class="breadcrumbs">
           <?php if(function_exists('bcn_display'))
           {
               bcn_display();
           }?>
       </div>
       ```
   
 * If so, then you’ll just need to open up your theme’s stylesheet and add a few
   things. Here’s a few you could try:
 *     ```
       .breadcrumbs {
       	color: #999;
       }
   
       .breadcrumbs a {
       	text-decoration: none;
       }
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Different number of posts on category page 1](https://wordpress.org/support/topic/different-number-of-posts-on-category-page-1/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/different-number-of-posts-on-category-page-1/#post-2833163)
 * Forgive me. I’m a little lost with what solution on that page I am looking at?
   Do I still keep the function in place from above?

Viewing 15 replies - 301 through 315 (of 536 total)

[←](https://wordpress.org/support/users/greencode/replies/page/20/?output_format=md)
[1](https://wordpress.org/support/users/greencode/replies/?output_format=md) [2](https://wordpress.org/support/users/greencode/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/greencode/replies/page/3/?output_format=md)…
[20](https://wordpress.org/support/users/greencode/replies/page/20/?output_format=md)
21 [22](https://wordpress.org/support/users/greencode/replies/page/22/?output_format=md)…
[34](https://wordpress.org/support/users/greencode/replies/page/34/?output_format=md)
[35](https://wordpress.org/support/users/greencode/replies/page/35/?output_format=md)
[36](https://wordpress.org/support/users/greencode/replies/page/36/?output_format=md)
[→](https://wordpress.org/support/users/greencode/replies/page/22/?output_format=md)