Title: benraaa's Replies | WordPress.org

---

# benraaa

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Pagination problem](https://wordpress.org/support/topic/pagination-problem-100/)
 *  Thread Starter [benraaa](https://wordpress.org/support/users/benraaa/)
 * (@benraaa)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/pagination-problem-100/#post-12492998)
 * Thanks a lot, Joy and bcworkz!
    I adapted the code and kicked out the own query
   and the unnecessary parameters. I have a complex loop and asumed that I need 
   a new query for this. But it indeed works with the main query. And now even the_posts_navigation
   works like a charm. For the future I try to keep my hands off an own query.
    -  This reply was modified 6 years, 4 months ago by [benraaa](https://wordpress.org/support/users/benraaa/).
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Pagination problem](https://wordpress.org/support/topic/pagination-problem-100/)
 *  Thread Starter [benraaa](https://wordpress.org/support/users/benraaa/)
 * (@benraaa)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/pagination-problem-100/#post-12491206)
 * I just detected that page/2/ switches to the index.php, although it started at
   category.php – where it of course should stay. Seems to be the real problem. 
   Does anybody see why it does switch?
 * benraaa
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [wp uses different path to subcategory](https://wordpress.org/support/topic/wp-uses-different-path-to-subcategory/)
 *  Thread Starter [benraaa](https://wordpress.org/support/users/benraaa/)
 * (@benraaa)
 * [13 years ago](https://wordpress.org/support/topic/wp-uses-different-path-to-subcategory/#post-3859483)
 * Changed this topic to resolved because the question needs to be put differently…
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [How to show wp_nav_menu only if not empty](https://wordpress.org/support/topic/how-to-show-wp_nav_menu-only-if-not-empty/)
 *  Thread Starter [benraaa](https://wordpress.org/support/users/benraaa/)
 * (@benraaa)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/how-to-show-wp_nav_menu-only-if-not-empty/#post-2804598)
 * Thanks for your really quick reply. So I will have a look for the newest Twenty
   Eleven. It will take some hours, since I have to do some other business first.
   But I will answer then.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Add text to get_permalink()](https://wordpress.org/support/topic/add-text-to-get_permalink/)
 *  Thread Starter [benraaa](https://wordpress.org/support/users/benraaa/)
 * (@benraaa)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/add-text-to-get_permalink/#post-2659592)
 * Yes, sorry, the single quote was a typing mistake. Meanwhile I tried a lot of
   variations: inside and outside the loop, with get_permalink(), the_permalink()
   and post_permalink(), with an echo-command for the text an with variables. It’s
   definitly the wrong way. Now, when I tried it once more, it didn’t cut it off,
   but shows the link of the last article of the category page (now indeed together
   with the “special” text). However I need the link of the category page where 
   I put the code.
 * To make it more clear:
 * code is on category.php,
    last article shown on page “weather” is e.g. “A mix
   of sun and clouds”, link shows [http://www.domain.com/weather/a-mix-of-sun-and-clouds-special](http://www.domain.com/weather/a-mix-of-sun-and-clouds-special),
   but should be [http://www.domain.com/weather-special](http://www.domain.com/weather-special)
 * Is there any other method to get the right link?
 * Hope it’s not too confusing.

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