• Resolved mashelby

    (@mashelby)


    Hi,

    I have a template that I’ve made using the Header, Footer and Blocks plugin. Now, this template needs to be used on multiple pages with small variations.

    Is it possible to pass data into the template to be retrieved in the template itself?

    For example, rather than putting the shortcode [hfe_template id='12345'] to add the template I use something like [hfe_template id='18982' item='54321' company='My Company'] and then in the template I use something like [hfe_template id='18982' company] and it puts in the value I’ve fed in.

    Does that make sense? It would be great to do this so that I have one template to change later, rather than hundreds of copies of essentially the same thing!

    Mike

Viewing 1 replies (of 1 total)
  • Hello @mashelby

    Sorry for the delay in response.

    As of now, there is no support for extra parameters in the shortcode. But the plugin has support for dynamic tags, so you’re able to modify the content like page title, etc dynamically on different pages.

    We will try to implement this feature in future updates.

    Regards,
    Rahul.

Viewing 1 replies (of 1 total)
  • The topic ‘Pass data into hfe_template shortcode’ is closed to new replies.