Skip Navigation

[Résolu] Display ads or related posts within post content

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Marqué : 

This topic contains 1 réponse, has 2 voix.

Last updated by Luo Yang Il y a 3 années et 2 mois.

Assigned support staff: Luo Yang.


Is it possible to inject any ad shortcode within the post content ?

I mean something like newspaper themes like that

Part of Content
Shortcode ( ads or related posts )
Another Part of Content

note that the content in DB is one piece and not fields !

so I need to know if it is possible to make any content appear in the post content after half or any % of the post contet

Thanks in Advance 🙂


Luo Yang

Languages: Anglais (English ) Chinois simplifié (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)


There isn't such a built-in feature within Toolset plugins, but it can be done by some custom PHP codes, for example,
1) use WordPress built-in filter hook the_content, to trigger a PHP function,
2) In this PHP function, inject your ad codes into it

Le forum ‘Types Community Support’ est fermé à de nouveaux sujets et réponses.