• 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.

    Thank you

    https://wordpress.org/plugins/shortcodes-ultimate/

Viewing 1 replies (of 1 total)
  • Plugin Author Vova

    (@gn_themes)

    Hello,

    try to use the following code instead:

    [su_heading] [su_post field="post_title"] [/su_heading]
Viewing 1 replies (of 1 total)
  • The topic ‘How to populate page title with shortcode in page builder template’ is closed to new replies.