[Resolved] div class=”entry-meta” is empty

Home Forums Support div class=”entry-meta” is empty

  • This topic has 3 replies, 2 voices, and was last updated 3 weeks ago by Tom.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1428316
    Jaco

    FIrst of all: great theme!

    I’ve checked the source code of some webpages and I saw that the div < div class=”entry-meta”> is empty in the source of the webpage. This occurs on single postst. I’m not sure if Generatepress generates this div, sorry if it doesn’t :).

    I wonder if why that’s the case and if I can show the correct items in that div: category, last updated date.

    Thanks in advance

    #1428403
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    This is a known issue when the excerpt is empty or set to 0 characters. It’s a tough one to solve, unfortunately.

    Best thing to do is set it to display: none with CSS if you know it’s going to be empty, at least until we figure out to way to remove the element completely.

    Let me know if you need more info 🙂

    #1430653
    Jaco

    Thanks for the response, much appreciated. I will mark this topic as resolved then.

    #1430992
    Tom
    Lead Developer
    Lead Developer
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.