Title: Display parameters HTML styling for wrapper attribute
Last modified: April 16, 2020

---

# Display parameters HTML styling for wrapper attribute

 *  Resolved [btdhero](https://wordpress.org/support/users/btdhero/)
 * (@btdhero)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/display-parameters-html-styling-for-wrapper-attribute/)
 * Hi there !
 * I want to use this plugin to create a reversed ordered list of WP posts – like
   this:
 * > 3. Post 3
   >  2. Post 2 1. Post 1
 * I used the “wrapper” markup parameter, and set the list to an ordered list, like
   this:
    [display-posts wrapper=”ol”] The result is:
 * > 1. Post 3
   >  2. Post 2 3. Post 1
 * In the documentation is says “you can then style yourself.”.
    Q: **How can I 
   stylize the ordered list, using the “ol” attribute called “reversed”, in order
   to obtain the wanted result ?**
 * Note: I’m using the latest version of WordPress and the latest version of the
   plugin.

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

 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/display-parameters-html-styling-for-wrapper-attribute/#post-12689903)
 * You’ll need to use the display_posts_shortcode_wrapper_open filter to customize
   the ordered list HTML tag (ol).
 * Here’s a tutorial: [https://displayposts.com/2020/04/17/reversed-ordered-list/](https://displayposts.com/2020/04/17/reversed-ordered-list/)
 *  Thread Starter [btdhero](https://wordpress.org/support/users/btdhero/)
 * (@btdhero)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/display-parameters-html-styling-for-wrapper-attribute/#post-12808384)
 * nailed it !
    thanks for the answer

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

The topic ‘Display parameters HTML styling for wrapper attribute’ is closed to new
replies.

 * ![](https://ps.w.org/display-posts-shortcode/assets/icon-256x256.jpg?rev=2940963)
 * [Display Posts - Easy lists, grids, navigation, and more](https://wordpress.org/plugins/display-posts-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/display-posts-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/display-posts-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/display-posts-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/display-posts-shortcode/reviews/)

## Tags

 * [attribute](https://wordpress.org/support/topic-tag/attribute/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [ol](https://wordpress.org/support/topic-tag/ol/)
 * [Reversed](https://wordpress.org/support/topic-tag/reversed/)
 * [style](https://wordpress.org/support/topic-tag/style/)
 * [wrapper](https://wordpress.org/support/topic-tag/wrapper/)

 * 2 replies
 * 2 participants
 * Last reply from: [btdhero](https://wordpress.org/support/users/btdhero/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/display-parameters-html-styling-for-wrapper-attribute/#post-12808384)
 * Status: resolved