822 posts
  • Power Elite Author: Sold between 1 000 000 - 1 999 999 dollars
  • Power Elite Author
  • Won a Competition
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Europe
  • Bought between 50 and 99 items
+2 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
  • Bought between 10 and 49 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 10 and 49 users
  • Sold between 250 000 and 1 000 000 dollars
FlexiPress says
822 posts
  • Power Elite Author: Sold between 1 000 000 - 1 999 999 dollars
  • Power Elite Author
  • Won a Competition
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Europe
  • Bought between 50 and 99 items
+2 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