[Resolved] Output Post Title in a hook in Elements

Home Forums Support [Resolved] Output Post Title in a hook in Elements

Home Forums Support Output Post Title in a hook in Elements

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1029018
    webcréateur

    Hi there,

    How can I output the post title in a hook created with GP Elements?

    #1029179
    David
    Staff
    Customer Support

    Hi there,

    you can call the_title function – included parameters for the element tags so you can change to suit or add CSS Classes etc.

    <?php the_title( '<h3>', '</h3>' ); ?>

    #1029896
    webcréateur

    Thank you very much! 🙂

    #1030054
    David
    Staff
    Customer Support

    You’re welcome

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