To ensure our inclusion in some news aggregator sites and media websites, we need to add the following to our posts template.
<!– Article Start –>
should follow the headline but immediately precede the first paragraph of the article
<!– Article End –>
should immediately follow the last paragraph of the article.
and ideally
the same with
<!– Author Start –> and
<!– Author End –>
Is there a single page I could add this to to include all our past posts which i am assuming are all using the default post layout when NewsMag was added?
I am using the child theme
-
This topic was modified 10 years by
andrew40.
Hi
To achieve the desired result you’ll need to create a new post template which will include in post’s html structure the indicated elements. To build a new post template can be used theme’s API: https://forum.tagdiv.com/api-single-template-introduction/
This is a very complex task which require lots of customizations and tests in order to be achieved. Unfortunately we cannot offer custom work at the moment. We would have gladly made it for you but we are a small team and we are working very hard on the development, updates, fixes and support. If you really need this and you’re not aware of the steps that must be taken in this regard my advice is to look for a developer who can help you with implementation.
Thanks!
Hi
They cannot be inserted easily because you’ll need a function which split post’s content in more pieces and place the comments between paragraphs. All content from WordPress editor is added on the page using get_the_content() and cannot be manipulated easily.
Thanks!
Hi
They cannot be inserted easily because you’ll need a function which split post’s content in more pieces and place the comments between paragraphs. All content from WordPress editor is added on the page using get_the_content() and cannot be manipulated easily.
Thanks!