Sunday, November 20, 2022
HomeWordPress Developmentthe content material - Nested ShortCode works inside the_content, however not outdoors...

the content material – Nested ShortCode works inside the_content, however not outdoors of it


neighborhood;
I’ve spent all weekend attempting to crack an issue that thus far eludes me.
On a multisite implementation, I am utilizing a easy homegrown plugin to incorporate textbits which are the identical throughout subsites (similar to staffers’ bio bits e.g.).

Whereas this plugin has no issues to resolve nested calls of itself inside the_content, it falls on is face outdoors the_content, particularly in these creator packing containers which are both appended after the_content on single posts, or prepended earlier than the_loop on creator archives by the theme we’re utilizing.

I am attaching a bit of screenshot as an example that it is working inside however failing outdoors the content material: the upper portion shows the include inside the include to work as expected, the highlighted section in the author box below where it fails.

, hoping somebody would possibly have the ability to level me in direction of what I am clearly lacking.

Thanks very a lot prematurely for any assist you might capable of present. Cheers –

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments