Post specific menu based on content
-
Dear all,
I am trying to add a menu to my post pages based on the content of the current post.
I was thinking of searching the post content and finding all header tags (for the id
<h id="#">
) and compiling a menu from this. The menu is to be displayed in the side bar.So my question is: how can I search through post content for a specific string and add it to a list?
Thanks in advance
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Post specific menu based on content’ is closed to new replies.