• Hi there,
    I’m using two different shortcodes in the same page, one to order posts in alphabetic order, an another one to order post by terms.

    The first one is working perfect, and when you click in a letter the page goes where it should be, and when you click To Top, the page goes to the letters again as it should be.

    The problem is when you click in the letters of the second instance (shortcode showing all the tags in the blog), when you click in letter in this second instance, the page goes to the letter in the first instance.

    Could you be kind to let me know how could make work those two instances at the same time in the same page?

    Thanks you in advance, and thanks for this nice and useful plugin.

    Best,
    Luis

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter luismoyano

    (@luismoyano)

    I solved, I have to change all the javascript because I understand there is no way to fix it with the code built in, right?

    Thank you!!

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    Sorry I didn’t get to your message sooner… Yes, multiple short-codes on the same page are problematic. I intend to improve this in the future, but for now you need to make modifications to the template.

    You can copy the template into your theme so that when the plugin updates in the future your changes aren’t overwritten. The template the plugin uses by default is at /wp-content/plugins/a-z-listing/templates/a-z-listing.php, which you should copy to your theme for modifications at /wp-content/themes/$your_theme/a-z-listing.php.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to make work two shortcodes working in the same page?’ is closed to new replies.