• Resolved sabrinabm94

    (@sabrinabm94)


    After the last update, the shortcode stopped working on blog post pages. I`m using the last version of wp (6.3.1) and plugin (1.4.8).

    My template code

    <?php 
    if (shortcode_exists('tta_listen_btn')) {
    echo do_shortcode('[tta_listen_btn listen_text=" " pause_text=" " resume_text=" " replay_text=" " start_text=" " stop_text=" " title="Para fins de acessibilidade, clique aqui para ouvir o texto em audio"]');
    } 
    ?>

    Plugin configs

    Result on template

    • This topic was modified 1 year, 1 month ago by sabrinabm94.
    • This topic was modified 1 year, 1 month ago by sabrinabm94.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Atlas AiDev

    (@atlasaidev)

    Hi @sabrinabm94 ,

    it’s seems your settings is right.
    Can you please save the settings again.

    You don’t have to add short code manually. The button will automatically display in the post after title.

    if you really need to add shortcode then you can add that like this.

    [tta_listen_btn listen_text="Listen" pause_text="Pause" resume_text="Resume" replay_text="Replay" start_text="Start" stop_text="Stop"]
    

    there is no other way to add extra attribute like “title” you added.

Viewing 1 replies (of 1 total)
  • The topic ‘shortcode not working since last update’ is closed to new replies.