Switch to the_content()

Posted in: Newspaper
Post count: 13

Hi, what should i change, to switch to the native wordpress function to bring the content?
I insert ads via another plugin, i would like to have the native function because of compatibility problems with another plugin.

So where to change code, i assume it is in the post template phps? I need the standard wordpress thing.

Best Regards

  • This topic was modified 8 years by Marolynx.
Post count: 22421

Hello,

Our theme use post templates created in separate files like so: https://www.screencast.com/t/Od0wWhpRUuSN
Unfortunately there is no option to remove our post styles without code modification.

Thank you!

Post count: 13

The only purpose is the inline ads, right? I read this on another thread.
I would like to change the code for a custom template. I would choose this for a specific custom post type.

Post count: 20688

Hi,

The content of the post is loaded in the loop-single files, each post template has a corresponding loop-single file
https://www.screencast.com/t/5qglKrJ4PT3f
The corresponding function would be here
https://www.screencast.com/t/yZPq7EzHvkz
For posts there are options for 3 ads to be placed, at the moment
https://forum.tagdiv.com/article-ads/
If you use a CPT you can use one of the post templates for it
https://forum.tagdiv.com/custom-post-type-support/
These posts will not have the same settings as normal posts however.

Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.