Determine when accessing page?
-
I can’t figure out how to determine when this page is being processed:
https://www.ranacreek.com/dev/projects/I know that “projects” is post 5, but
if($post->ID==7){do something}
doesn’t work. It is essentially an index of custom post types. If I can determine when it is being loaded, I can fix the highlighting in the menus. Thanks.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Determine when accessing page?’ is closed to new replies.