832 posts
  • Power Elite Author: Sold more than $1M on Envato Market
  • Won a competition
  • Made it to the Authors' Hall of Fame
  • Has sold $1M+ on Envato Market and is now a Power Elite Author
+7 more
wpbakery says

Hey guys,

There’s one thing that’s killing me for the past few days.

I have a custom post type “Teachers” and archive page template archive-teacher.php (WP 3.1 template file), in that template I have a loop which shows teachers teasers perfectly and a pagination which leads to the second teachers page.

The problem is that in the menu I have a custom link domain.com/teachers which is highlighted on the 1st teachers page, but isn’t when I’m on the domain.com/teachers/page/2 or any other page except 1st…

Does anyone had that problem already?

Thanks, Michael

147 posts
  • Has been part of the Envato Community for over 3 years
  • Has referred 10+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+2 more
FlexiPress says
832 posts
  • Power Elite Author: Sold more than $1M on Envato Market
  • Won a competition
  • Made it to the Authors' Hall of Fame
  • Has sold $1M+ on Envato Market and is now a Power Elite Author
+7 more
wpbakery says

Thanks for the links, but it looks that my problem isn’t related to that :(

My paginator works fine, the problem is that on the 2nd page link in the menu isn’t highlighted – when it should be…

by
by
by
by
by
by