Title: Plugin doesn’t work with Advanced Custom Field plugin &#8211; Solution
Last modified: March 28, 2018

---

# Plugin doesn’t work with Advanced Custom Field plugin – Solution

 *  [parsianweb98](https://wordpress.org/support/users/parsianweb98/)
 * (@parsianweb98)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-with-advanced-custom-field-plugin-solution/)
 * Hi,
 * # Copy to functions.php
    add_filter(‘the_content’, ‘replace_content’); function
   replace_content($content) { $value = get_field(‘YOUR-FIELD-NAME’); if ($value){
   $content = $value; } return $content; }
 * # Then call the_content();

The topic ‘Plugin doesn’t work with Advanced Custom Field plugin – Solution’ is 
closed to new replies.

 * ![](https://ps.w.org/hashtag/assets/icon-256x256.png?rev=1336441)
 * [Hashtag](https://wordpress.org/plugins/hashtag/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hashtag/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hashtag/)
 * [Active Topics](https://wordpress.org/support/plugin/hashtag/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hashtag/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hashtag/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [parsianweb98](https://wordpress.org/support/users/parsianweb98/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-with-advanced-custom-field-plugin-solution/)
 * Status: not a support question