Title: custom class
Last modified: November 4, 2020

---

# custom class

 *  [Florin Oprea](https://wordpress.org/support/users/florinopreaeu/)
 * (@florinopreaeu)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/custom-class-9/)
 * 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](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/](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! 😉
    -  This topic was modified 5 years, 7 months ago by [Florin Oprea](https://wordpress.org/support/users/florinopreaeu/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [WPKube](https://wordpress.org/support/users/wpkube/)
 * (@wpkube)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/custom-class-9/#post-13624180)
 * Hi [@florinopreaeu](https://wordpress.org/support/users/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](https://wordpress.org/support/users/florinopreaeu/)
 * (@florinopreaeu)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/custom-class-9/#post-13624695)
 * This is even better! 😉
    I can not wait!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘custom class’ is closed to new replies.

 * ![](https://ps.w.org/authors-list/assets/icon-256x256.png?rev=2062262)
 * [Authors List](https://wordpress.org/plugins/authors-list/)
 * [Support Threads](https://wordpress.org/support/plugin/authors-list/)
 * [Active Topics](https://wordpress.org/support/plugin/authors-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/authors-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/authors-list/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Florin Oprea](https://wordpress.org/support/users/florinopreaeu/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/custom-class-9/#post-13624695)
 * Status: not resolved