Title: Bug Version 2.0.48
Last modified: April 30, 2020

---

# Bug Version 2.0.48

 *  Resolved [nathalie75](https://wordpress.org/support/users/nathalie75/)
 * (@nathalie75)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/bug-version-2-0-48/)
 * Hi,
 * I am using your plugin with some custom post types I created with pods.
    I am
   displaying some custom fields with the filter hook post_grid_filter_grid_item_excerpt(
   [https://www.pickplugins.com/documentation/post-grid/filter-hooks/filters-post_grid_filter_grid_item_excerpt/](https://www.pickplugins.com/documentation/post-grid/filter-hooks/filters-post_grid_filter_grid_item_excerpt/)).
   Since my update from 2.0.46 to 2.0.48 it doesn’t work any longer. I could install
   the old version back but I would appreciate if you could fix the bug quickly.
 * While testing this issue I saw another issue: in new layouts “Post title” inserts
   a title with link while “Post titel with link” inserts a title withou link…
 * I can give you credentials to a test website where I could reproduce the issue,
   if you want.
 * Many thanks for your help

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [PickPlugins](https://wordpress.org/support/users/pickplugins/)
 * (@pickplugins)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/bug-version-2-0-48/#post-12759195)
 * Don’t worry, there is still possible to do this via action hook,
 * we have added action hook for each element on the grid, just replace with following
   action hook please see the sample code here
 * [https://www.pickplugins.com/documentation/post-grid/action-hooks/post_grid_layout_element_id/](https://www.pickplugins.com/documentation/post-grid/action-hooks/post_grid_layout_element_id/)
 * Many more things you can do this via action hook. hope you understand, please
   let me know if you need any help regarding code.
    Regards
 *  Thread Starter [nathalie75](https://wordpress.org/support/users/nathalie75/)
 * (@nathalie75)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/bug-version-2-0-48/#post-12759417)
 * Thanks very much for your quick reply.
 * I am not a developer and it’s a bit complicated for me to understand how it works.
   
   Supposing I have a custom field “land” for my custom post type. So far I could
   use this code to display the land:
 * function post_grid_filter_grid_item_excerpt_extra($excerpt){
    $land = get_post_meta(
   get_the_ID(), ‘land’, true); return ‘<p>’.$land.'</p>; } add_filter(‘post_grid_filter_grid_item_excerpt’,’
   post_grid_filter_grid_item_excerpt_extra’);
 * Which code would I need now with the post_grid_layout_element_{id} hook to have
   the same result?
 * Do you know the 2. issue (title with or without link)? It’s not that bad but 
   I suppose it can disconcert some people.
 * THANKS!
 *  Plugin Author [PickPlugins](https://wordpress.org/support/users/pickplugins/)
 * (@pickplugins)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/bug-version-2-0-48/#post-12759648)
 * Please see the code here,
    [https://gist.github.com/pickplugins/d546e658fa1f10e9bbe0c13e6572bab0](https://gist.github.com/pickplugins/d546e658fa1f10e9bbe0c13e6572bab0)
 * Just replace with existing code, I hope it will work.
 * Regards
 *  Thread Starter [nathalie75](https://wordpress.org/support/users/nathalie75/)
 * (@nathalie75)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/bug-version-2-0-48/#post-12778947)
 * Thanks a lot, it worked very well!!!
    Great support! I suggest you show this 
   simple piece of code in your documentation ([https://www.pickplugins.com/documentation/post-grid/action-hooks/post_grid_layout_element_id/](https://www.pickplugins.com/documentation/post-grid/action-hooks/post_grid_layout_element_id/)).
   It’s much easier to understand for people with little coding knowledge.
 * Please have a look at the 2. issue:
    **In layouts “Post title” inserts a title
   with link while “Post title with link” inserts a title without link…** I don’t
   need help for this one (I just used the other element instead) but it’s rather
   disconcerting first). Thanks again. Many regards.
    -  This reply was modified 6 years, 1 month ago by [nathalie75](https://wordpress.org/support/users/nathalie75/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Bug Version 2.0.48’ is closed to new replies.

 * ![](https://ps.w.org/post-grid/assets/icon-256x256.gif?rev=3295086)
 * [Post Grid](https://wordpress.org/plugins/post-grid/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-grid/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-grid/)
 * [Active Topics](https://wordpress.org/support/plugin/post-grid/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-grid/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-grid/reviews/)

## Tags

 * [excerpt](https://wordpress.org/support/topic-tag/excerpt/)
 * [hook](https://wordpress.org/support/topic-tag/hook/)
 * [post title](https://wordpress.org/support/topic-tag/post-title/)

 * 4 replies
 * 2 participants
 * Last reply from: [nathalie75](https://wordpress.org/support/users/nathalie75/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/bug-version-2-0-48/#post-12778947)
 * Status: resolved