Hi I am using Poka theme , I have added the filter ( add_filter(‘acf/settings/show_admin’, ‘__return_true’); ) in my function.php for “Custom fields” menu but its not working. There is no “Custom fields” menu on the dashboard. I have also installed ACF plugin and the filter, after activating ACF plugin I can see “Custom Fields” menu but “Theme Setting” menu is not displaying.
This reply was modified 1 year, 9 months ago by test.
You have to add a bigger priority in your filter in order to overwrite the parent theme filter.
Add the following and the ACF menu is going to appear : add_filter(‘acf/settings/show_admin’, ‘__return_true’, 100);
Also because ACF is already included in poka theme you can’t have it installed also as a plugin so I suggest to remove the plugin.
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
WordPress 5.0 is released with the new Gutenberg editor. Check out here about the compatibility with Poka theme!