Pass id from template to single.php
-
I have 3 different pages I post to, index, page1, page2.
When I click on the more-link I lose my “current page”info that I use for styling my tabs.
I style in the css by comparing body ID with tablink names.If I could pass the id of the page I leave I could use it to set the body ID tag on the resulting single.php and that would solve my problem.
I have searched without finding an answer so I would really appreciate any help.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Pass id from template to single.php’ is closed to new replies.