Title: Nishant Patil's Replies | WordPress.org

---

# Nishant Patil

  [  ](https://wordpress.org/support/users/thetechcreator/)

 *   [Profile](https://wordpress.org/support/users/thetechcreator/)
 *   [Topics Started](https://wordpress.org/support/users/thetechcreator/topics/)
 *   [Replies Created](https://wordpress.org/support/users/thetechcreator/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/thetechcreator/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/thetechcreator/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/thetechcreator/engagements/)
 *   [Favorites](https://wordpress.org/support/users/thetechcreator/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Custom Fields (ACF®)] Taxonomy ( Term ) validation problem](https://wordpress.org/support/topic/taxonomy-term-validation-problem/)
 *  [Nishant Patil](https://wordpress.org/support/users/thetechcreator/)
 * (@thetechcreator)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/taxonomy-term-validation-problem/#post-4758425)
 * Sorry my problem is different, please ignore my reply.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Custom Fields (ACF®)] Bug in Relationship field for Custom Taxonomy](https://wordpress.org/support/topic/bug-in-relationship-field-for-custom-taxonomy/)
 *  Thread Starter [Nishant Patil](https://wordpress.org/support/users/thetechcreator/)
 * (@thetechcreator)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/bug-in-relationship-field-for-custom-taxonomy/#post-4756049)
 * I got the solution. It’s very simple.
    `$logo = get_field('field_53368dabb411e','
   manufacturer_'.$m->term_id);`
 * As documentation says that we can pass `POST ID` as second argument, This can
   also be options / taxonomies / users / etc.
 * Now I have to work with custom taxonomy. So if I pass taxonomy term id as second
   parameter, it doesn’t work. It search value in `wp_postmeta` table, which is 
   wrong. Because ACF didn’t store taxonomy/relationship field data in `wp_postmeta`
   table. It stores in `wp_options` table.
 * So now problem is how to pass argument that ACF get actual value. I search all
   code related to relationship field and how ACF insert & get data from DB. I just
   concat `the taxonomy slug` + ‘_’ + `taxonomy term id` and I got my result.
 * I don’t know whether this is bug is plugin or they forgot to update or mention
   in documentation, but I got my desired result with this hack.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Custom Fields (ACF®)] Taxonomy ( Term ) validation problem](https://wordpress.org/support/topic/taxonomy-term-validation-problem/)
 *  [Nishant Patil](https://wordpress.org/support/users/thetechcreator/)
 * (@thetechcreator)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/taxonomy-term-validation-problem/#post-4758401)
 * Same problem with me for custom taxonomy. In my case I can’t get attached post
   at front end side. It stores into DB but didn’t show.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Custom Fields (ACF®)] Bug in Relationship field for Custom Taxonomy](https://wordpress.org/support/topic/bug-in-relationship-field-for-custom-taxonomy/)
 *  Thread Starter [Nishant Patil](https://wordpress.org/support/users/thetechcreator/)
 * (@thetechcreator)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/bug-in-relationship-field-for-custom-taxonomy/#post-4756013)
 * I forgot to say that, I got displayed selected attachment in admin side. The 
   error only occurs when I select `Elements` setting in Custom Field setting.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YARPP - Yet Another Related Posts Plugin] Doesn't create cache & Always show no related posts](https://wordpress.org/support/topic/doesnt-create-cache-always-show-no-related-posts/)
 *  Thread Starter [Nishant Patil](https://wordpress.org/support/users/thetechcreator/)
 * (@thetechcreator)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/doesnt-create-cache-always-show-no-related-posts/#post-4351052)
 * Hello,
    I got the solution. It’s just select the `Display results from all post
   types` option and I got the related posts. 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YARPP - Yet Another Related Posts Plugin] Doesn't create cache & Always show no related posts](https://wordpress.org/support/topic/doesnt-create-cache-always-show-no-related-posts/)
 *  Thread Starter [Nishant Patil](https://wordpress.org/support/users/thetechcreator/)
 * (@thetechcreator)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/doesnt-create-cache-always-show-no-related-posts/#post-4350992)
 * It build cache when I install YARPP Experiments otherwise it don’t. But it don’t
   show Related Post on site. Currently I’m developing site so I tested all this
   on localhost
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YARPP - Yet Another Related Posts Plugin] Doesn't create cache & Always show no related posts](https://wordpress.org/support/topic/doesnt-create-cache-always-show-no-related-posts/)
 *  Thread Starter [Nishant Patil](https://wordpress.org/support/users/thetechcreator/)
 * (@thetechcreator)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/doesnt-create-cache-always-show-no-related-posts/#post-4350972)
 * I added `'yarpp_support' => true` to all custom post type while registering the
   custom post type. I did all necessary steps.
    I’m developing the theme. I use
   lots of suggestions but nothing is useful.

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