Hi @sarahsas,
This feature isn’t available at the moment. But we’re working on the block version of Post Grid, and all the related elements like post title and post excerpt will be dynamic and super flexible.
Stay tuned.
Regards.
Thank you @azizulraju – does this mean that the previous reply to the other thread is no longer a possibility?
you can override excerpt text by available filter hook if you want to display html, please use following filter hook
https://www.pickplugins.com/documentation/post-grid/filter-hooks/filters-post_grid_filter_grid_item_excerpt/
Is there a replacement link you can provide for the broken documentation one above? If not, do you have an estimated timeline for the release of the block version you mentioned?
hello @azizulraju any response?
Hi @sarahsas, please note “html in excerpt” is not available right now, but you may use action hook to override the current excerpt text by action hook. please check this documentation
https://pickplugins.com/documentation/post-grid/action-hooks/post-grid-layout-element-id/
previously we have recommended to our user to use the following plugin to display HTML in excerpt
https://ww.wp.xz.cn/plugins/advanced-excerpt/
Please note, that we have planned to release block version of post grid next month.
Thank you @hasanrang05, the advanced excerpt plugin doesn’t seem to apply the change to post grid displays unfortunately. I’ve tried the action hook, but I’m getting the following error: “Cannot redeclare function post_grid_layout_element_excerpt.” – any thoughts?
Hi, the function name you’re using already exists, so you can’t use this name. I suggest you make the function name unique by adding a prefix or postfix. for example post_grid_layout_element_excerpt_21082022
Ah right, of course, I wasn’t sure if the name needed to stay the same to overwrite the existing one, but that makes sense. Thank you!
Hi, I’m going to mark this topic as resolved. Let us know if you’ve found any issues.
Regards.