Hello,
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
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.
https://www.youtube.com/watch?v=9bQc7q40jMc&list=PL2GPPfgLrfWxAZBQc10XCh5wzDSOfPrKB&index=22
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 ''.$title.'
'; } add_filter('post_grid_filter_grid_item_title','post_grid_filter_grid_item_title_extra');
Let me know for more help.
Regards
It worked, thanks.
A greeting