How to populate page title with shortcode in page builder template
Hello – I’m using this plugin with a page builder theme.
Is there a way to add ?php the_title(); ? code to the [su_header] shortcode so it auto populates that page’s title?
ie: [su_header]?php the_title(); ?[/su_header] (with <> around the php)
I’ve tried it like this and with [raw] code, and no luck. It doesn’t display anything.
I am working on a beta site so I do not have a URL for you to look at.
- The topic ‘How to populate page title with shortcode in page builder template’ is closed to new replies.