Heading in Title with Link

Heading in Title with Link 1
Aug 26, 2019 10:04 PM 1 Answers
Member Since Aug 2019
Subscribed Subscribe Not subscribe


I have created a ''Post Grid'', which shows the posts of a category, and I have a serious problem: there is no way to modify the titles of the posts shown in the grid between heading tags html? (Now, for each post, <a href="url post"> Post title </a> is displayed, I need it to be <a href="url post"> <h3> Post title </h3> </a>) .

How can I do it? (I have the pro version of the plugin)

Thank you

2 Subscribers
Heading in Title with Link 1
Heading in Title with Link 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
Heading in Title with Link 4
Aug 26, 2019

Welcome to our forum.

you probably haven't checked out the layout editor. you can remove the existing element and add new, please watch this video.


For your case, you can't edit element HTML via layout editor, this case you will need to add via filter hook, you will need to add following code to your theme functions.php file

function post_grid_filter_grid_item_title_extra($title){

    $post_id = get_the_id();

    return ' 


'; } add_filter('post_grid_filter_grid_item_title','post_grid_filter_grid_item_title_extra');

Let me know for more help.


Heading in Title with Link 5
- Aug 27, 2019 10:43 PM
Flag (0)

It worked, thanks.

A greeting

Sign in to Reply
Replying as Submit