• Resolved rlaflamme

    (@rlaflamme)


    Hi there,

    First off, I wanted to say that this plugin seems to be the one that suits my needs the most. I like that it’s simple but effective, and it’s the one I’d like to use for my project. I did, however, have two questions about it, and wanted to know how feasible they were.

    1.) For the jquery A-to-Z page you can create with the shortcode, I noticed that it only showed the Index letters for terms that existed. Is there a way of having all of the letters at the top, even if they’d essentially be empty?

    2.) I really like the behavior of the tooltip link, but I’d like to be able to have the user onclick on the word instead of the onhover effect. What would I need to change in order to do that? I believe it to be possible, I just am unsure where that would be in the code.

    Thanks!

    https://www.ads-software.com/extend/plugins/wp-glossary/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author TCBarrett

    (@tcbarrett)

    You can control the range with a filter, for example:

    add_filter( 'wpg_atoz_range', 'tcb_wpg_atoz_range' );
    function tcb_wpg_atoz_range( $range ){
      return range( 'a', 'z' );
    }

    Have added trigger option click/hover from version 3.1

    Thread Starter rlaflamme

    (@rlaflamme)

    Thanks for the click option in 3.1. Excellent work!

    As for the filter option, forgive my ignorance, but where would I add that filter code?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Behavioral questions’ is closed to new replies.