Static pages and current_page_item
-
Can someone offer some help/suggestions on this please.
I’ll try and explain as best as I can.
I have 5 pages on my WordPress (Home, Projects, Services, Showcase and News).
On my administration page, the “Front Page Display “is set to “Static” with Front Page as “Home” and posts as “News”.
The problems I have are as follows:
The front page shows “Home” twice, and the “current_page_item” highlights the second one, never the first. So it’s a combination of a) Showing home twice and b) when you select ‘home’ the current_page_item on picks the second instance.
The final problem is the “news”, this works fine but the current_page_item highlights “news” AND the first instance of “home”!
Anyone got any pointers as to what I may be doing wrong?
- The topic ‘Static pages and current_page_item’ is closed to new replies.