Support » Plugin: Authors List » custom class

  • Hi,

    I like this plug-in.

    But it will be great to use custom classes.
    A special class allow you to customize multiple instances of [authors_list] without modify main/original classes (CSS).

    [authors_list class="mySpecialStyle"]
    [authors_list class="postcardStyle"]

    But the biggest advantage is that it will allow to use [authors_list] in conjunction with special animations (for example ).
    This special classes are used to trigger special effects on scroll (to show it)/click/hover. Next example will make authors to fade-in when user scrolls down:

    [authors_list class="animated fadeInUp delay1 duration1 eds-on-scroll"]

    Extra-mega class :))
    And what if we can add an advanced class?
    class1 (for the first column)
    class2 (for the second column)
    class3 (for the third column)
    class4 (for the fourth column)

    So, when the user scrolls down, the authors will shows up with different delays:
    [authors_list class="animated fadeInUp duration1 eds-on-scroll" class1="delay1" class2="delay2" class3="delay3"]

    This is nice one!

    To show you the endless customisations I just modify 2 llines (lazy me):

    200: $item_class = ' animated bounceIn duration1 eds-on-scroll ';
    329: <div class="authors-list-item authors-list-item-clearfix authors-list-col <?php echo esc_attr( $item_class." delay".(($count-1)%3+1) ); ?>">

    And this is the result:

    PS After your reply, I will go back to original code of plug-in. I hope this will be in next version. See ya and great, great job! 😉

    • This topic was modified 5 months, 2 weeks ago by Florin Oprea.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WPKube


    Hi @florinopreaeu

    Thanks, will add that option in the next update 🙂

    Might go with a bit of a different approach for the item classes so they can be defined in a single parameter.

    Something like item_class="one/two/three" which will then cycle through those 3 classes for the items. Multiple classes would also be possible like item_class="one-a one-b/two-a two-b/three-a three-b"

    Thread Starter Florin Oprea


    This is even better! 😉
    I can not wait!

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