Custom code added to a wordpress loop doesn't get response
-
I don’t know whether I have interpreted my problem correctly in the topic title but I am sure I will be able to explain it here.
I am trying to add “table of contents” to my pages. For this purpose, I have decided to use the plugin “md table of contents generator”. It is a nice little plugin and is easy to use. The only problem I am having is that for the code to appear in the pages, I need to add “[toc]” to the page. It is very difficult for me to go through all the 500 pages of my website and add this code to each of them separately. I would have done that but editing it in the future will also be difficult so I need a better solution.
I am trying to add the it to the wordpress loop but there the plugin doesn’t response to it. It appears exactly the same on the page. I mean, instead of the div containing the table of content, I get the “[toc]” on my final page result. How can I get this to work?
Is this possible that I extract all the code from the plugin and put it directly into the wordpress loop? Please help me on this?
- The topic ‘Custom code added to a wordpress loop doesn't get response’ is closed to new replies.