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, 3 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.