Title: Title inside wrapper
Last modified: March 21, 2019

---

# Title inside wrapper

 *  Resolved [Luis Colome](https://wordpress.org/support/users/luiscolome/)
 * (@luiscolome)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/title-inside-wrapper/)
 * Hi there Bill.
    First of all, I’m in love with this plugin. Thanks million for
   your work. It’s been recently I started using it in some of my clients sites 
   and they are pretty happy with the results. My question… Is there a way to include
   the title like in [display-posts title=”Recent Posts”] inside the wrapper? I 
   need to create a layout where the first item, are the title and a short description.
   And my second question…Can a description could be added, like in WordPress category
   pages that you can add a short description? That is for a typical long homepage
   with several loops in a directory site.
 * Thanks again for your amazing job.
 * Luis.
    -  This topic was modified 7 years, 1 month ago by [Luis Colome](https://wordpress.org/support/users/luiscolome/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/title-inside-wrapper/#post-11364724)
 * Thank you for the kind words – I really appreciate it.
 * Unfortunately no, there is not a method for adding the title inside the wrapper
   currently. This is because the default wrapper is ul, and the only element allowed
   inside a ul is li (list item). Adding the heading inside the unordered list would
   be invalid markup.
 * That said, if you don’t care about invalid markup you could use the `display_posts_shortcode_wrapper_open`
   filter to add any content you like (ex: title and short description) after the
   opening tag, based on custom parameters you specify. Ex: [display-posts intro_title
   =”My Title” intro_description=”My description”]
    -  This reply was modified 7 years, 1 month ago by [Bill Erickson](https://wordpress.org/support/users/billerickson/).

Viewing 1 replies (of 1 total)

The topic ‘Title inside wrapper’ 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

 * [description](https://wordpress.org/support/topic-tag/description/)
 * [title](https://wordpress.org/support/topic-tag/title/)
 * [wrapper](https://wordpress.org/support/topic-tag/wrapper/)

 * 1 reply
 * 2 participants
 * Last reply from: [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/title-inside-wrapper/#post-11364724)
 * Status: resolved