• Resolved Mr Lucky

    (@voodoochill)


    I have created a list of posts with the tag:hot

    How can I display a heading for the list that either shows the tag name, or a heading I define within the shortcode?

    I’m aware I can just create a text heading above the list, but I have given the list a class so I can make it appear within a box, and I would like the heading to n=be inside the box rather than above it.

    Example is at the link above. The h2 heading (Hot Topics at..) is the one I would like to appear withing the div not above it..

    Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor zymeth25

    (@zymeth25)

    You can solve it by putting the entire list inside a div and adding the class to that div, not the shortcode. This way everything that the LCP plugin generates will appear inside that container. You can do it either by simply enclosing the shortcode within a div in a text editor or by using a custom template.

    • This reply was modified 4 years, 1 month ago by zymeth25.
    • This reply was modified 4 years, 1 month ago by zymeth25.
    Thread Starter Mr Lucky

    (@voodoochill)

    Thanks, I thought that might be the only way to do it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display list heading’ is closed to new replies.