Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1327046

    Hi,
    when i click on a FAQ title instead of opening the FAQ to see the paragraph
    it redirects me to the FAQ item page.
    Is there a way to cancel that redirect?
    I just want that by clicking on the title it is just opens up and closes.
    Thanks!

    #1327118

    Hey ndszamoca,
    Thank you for the link to your site but this looks like you are using the plugin Ultimate FAQ I’m not familiar with this plugin or with it’s settings, I would imagine it has a setting to disable this if you can not find it try asking the plugin author.
    If they are unable to help try adding this code to the end of your functions.php file in Appearance ▸ Editor:

    function custom_script() { ?>
        <script>
    (function($){
      $(".ewd-ufaq-faq-div").each(function(){
        $(this).find(".ewd-ufaq-faq-toggle a").attr("href", "#");
    });
    })(jQuery);
    </script>
        <?php
    }
    add_action('wp_footer', 'custom_script');

    it will remove the links from the toggles.

    Best regards,
    Mike

    #1327331

    Hi Mike!

    Thanks a lot, that the solution to my problem!

    Have a good day!

    #1327410

    Hi,

    Great, I’m glad that Mike could help you out. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.