Okay
  Public Ticket #3057392
shortcode for the_title?
Closed

Comments

  • Shannon Plaquet started the conversation

    I'm trying to setup the BandsInTown widget so that one setup/config can be used on multiple artists' pages. I'm not finding a simple {the_title} meta tag (or comparable tag) for Elementor, to use.  Does one exist?

    Additionally, I created my own WP shortcode (using functions.php) for [post_title], which *does* work... but, is conflicting with something in Sonaar's  BiT Elementor widget.  It's ultimately working, but also generating a bunch of code on the frontend (assuming the widget cannot handle the [post_title] shortcode).

    Would it be possible to create such a [post_title] function within Sonaar, so that we might be able to use the Page Title meta tag on any widget that needs a name/title like this one?

    If not, how can I go about using my own shortcode, but not trigger the break in your BiT widget?

    As you can see, the shortcode works as expected when I insert it into the official BiT embed code... so, can we figure out why there's an issue with your code?

  •  667
    Alexandre replied

    Hi Shannon, 
    The BandInTown widget is not designed to be dynamic. I dont think you can use meta tag with elementor. The way to make element dynamic is available with elementor pro.
    Here a quick video where I set a heading element to get the post title and image to display the post featured image. https://d.pr/v/BEZsLW
    But we cant do something similar with BandInTown element

    Thanks,


    Alexandre from the Sonaar.io Crew