Title: Assigning HTML markup to elements?
Last modified: March 16, 2021

---

# Assigning HTML markup to elements?

 *  Resolved [jason9j](https://wordpress.org/support/users/jason9j/)
 * (@jason9j)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/assigning-html-markup-to-elements/)
 * Hi
 * This looks to be a powerful plugin, and it is easy enough to set parameters for
   query, display, etc. But beyond wrapping each post in general markup (eg. outer
   div), I can’t for the life of me figure out how to assign markup the key elements?
 * At the moment, all parameters render in a linear fashion (all on one line):
 * Image – Post Title – Except
 * Rather than:
 * Image
    Post Title Except
 * Everything is wrapped in a span (excerpt), or nothing (title). How do I change
   the excerpt span to a paragraph, and add h2 tag to the title, etc?
 * Help is much appreciated. I’m sure this must be possible.
 * I am using the grid layout.
 * Thanks.

Viewing 1 replies (of 1 total)

 *  Thread Starter [jason9j](https://wordpress.org/support/users/jason9j/)
 * (@jason9j)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/assigning-html-markup-to-elements/#post-14198348)
 * Update: I’m all good. Answer is here: [https://displayposts.com/2019/02/26/use-headings-for-post-listing/](https://displayposts.com/2019/02/26/use-headings-for-post-listing/)

Viewing 1 replies (of 1 total)

The topic ‘Assigning HTML markup to elements?’ 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/)

 * 1 reply
 * 1 participant
 * Last reply from: [jason9j](https://wordpress.org/support/users/jason9j/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/assigning-html-markup-to-elements/#post-14198348)
 * Status: resolved