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 https://www.downloads.eleopard.in/class-generator-wordpress.html ).
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:
https://e-religie.ro/despre/autori/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! ??
- The topic ‘custom class’ is closed to new replies.