[Support request] div class for my main content to add to template

Home Forums Support [Support request] div class for my main content to add to template

Home Forums Support div class for my main content to add to template

  • This topic has 1 reply, 2 voices, and was last updated 5 years ago by Tom.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #863500
    Matthew

    hello,

    I have copied the single template to make an attachment template for my media library images to add galleries, text info, custom fields and so on.

    I’m adding all the content I want to display in the <div class="entry-content"> (which is nested within <div class="inside-article">)

    Is this OK? Or would it be better to create a new sort of ‘main content’ div under this div and if so what class should it have?

    Not sure if the ‘entry content’ div should more or less just contain its sparse default info which is the_content and wp_link_pages( array(

    thanks

    #864213
    Tom
    Lead Developer
    Lead Developer

    That’s totally fine. You can remove it as well if you like – it shouldn’t be a big deal either way.

    Let me know if you need more info 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.