Site logo

Archived topic

Output Post Title in a hook in Elements

3 replies · Started by webcréateur on October 8, 2019

Viewing posts 1–4 of 4

Hi there,

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

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>' ); ?>

Thank you very much! :)

You're welcome

This archived topic is closed to new replies.