[Resolved] Post title before contents

Home Forums Support [Resolved] Post title before contents

Home Forums Support Post title before contents

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1192519
    IU

    Now, the post title is on the header which is used by the Element feature.

    Then, it shows the post title on the header.

    Eventhough it shows, I’d like to set the post title before contents, Again.

    It means that the post title shows twice(like duplicate) what I want.

    So, I tried to apply it by using the Hook feature of the Elements(eg. {{post_title}}), but it doesn’t work…

    Please, help me. Thank you.

    #1192658
    David
    Staff
    Customer Support

    Hi there,

    in your Hook add this:

    <h2><?php the_title(); ?></h2>

    and Check Execute PHP.

    You can change the H2 tags to whatever you need.

    #1193348
    IU

    Lovely!!! Thank you 🙂

    #1193530
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.