Shortcodes empty when post published

[ad_1]

Hi,

Just updated to the latest version, and enjoyed seeing the new shortcodes (Template Tags), as it would allow me to fully customize the output (theoritically).

In the Settings, I use the “Custom” post content and “WordPress Post-Format” for the Activity-Object-Type (tried with the “Note (default)” and result’s the same).

<p>🎶</img>🎶</img> <strong>[ap_title]</strong></p>

<p>🔗</img> [ap_permalink type="URL"]?mtm_campaign=TrackingMSTDN&mtm_kwd=DirectAMF&mtm_source=MastodonAP</p>

📨</img> [ap_excerpt]

<p>#️⃣</img> [ap_hashcats] - [ap_hashtags]</p>

[ap_image]

When publishing a new post, the only one working is ap_image. All others don’t render their supposed content, but the emojis and Matomo data appear well.

Tried to empty the site’s cache, tested twice… same result…

What am I missing?

Sincerely

DJM

PS: the /img that appear in the code section above are generated by this form on projectdmc.org, and are not in my original code…

  • This topic was modified 8 hours, 49 minutes ago by cybeardjm.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer