Inserting WP Global Variables in Post
-
Is there anyway to get variables of WP to load within the post content.
For example adding %site_url% within the body of the post, would replace %site_url% with https://site_url when the post is included.
<a href="%site_url%">%site_title%</a>
I’m hoping a filter like this is built into WP, however if not, I’ll make one, just trying to not reinvent the wheel.
- The topic ‘Inserting WP Global Variables in Post’ is closed to new replies.