• I’m working on a custom loop-single.php and the post is showing the title twice. I want the h1 title before the Gallery, so it need the_title() above the_content(). I’m hiding the second title with
    #gallery-1+p {display: none;} for now.. it works. I don’t want to be hiding stuff with css that shouldn’t be there is the first place. Is that the best solution?

    [Code moderated as per the Forum Rules. Please use the pastebin]

  • The topic ‘showing title twice’ is closed to new replies.