Please tell me if I can use these custom fields in %%cf_%% ?
]]>admin.php?page=theme-options
, but it doesn’t seem to be working. Any advice would be much appreciated!
@hwk-fr
]]>When I access the site on the phone and change information on the Wordfence Options page, I can’t find a way to save it. I don’t see a button or anything. Android Motorola phone, using Chrome browser.
thanks,
pat
I have recently installed your last plugin version on a 4.9.18 WordPress version and the options page is not showing up in the dashboard.
Am I missing something somehow?
Many thanks
]]>I’ve added the provided code to the functions.php via ftp but the options page doesn’t appear in my wp-admin sidebar.
]]>I would have several custom post types already created, I’m looking for a way to enable/disable them from an options page.
]]>Is there a way to hide a specific field/group or specific options page from REST API? I tried the below, but it ended up hiding all options pages, and I need some of that data to be public.
add_filter( ‘acf/rest_api/option/get_fields’, ‘__return_false’ );
]]>function set_plugandpop() {
$options = get_option('plugandpop_settings');
// I don't know if this is right
function checkWhere() {
if ( $options['homeonly'] == '1' ) {
return is_front_page() ;
} else {
return !is_admin() ;
}
}
// I don't know If this is possible
if ( checkWhere() && $options['active'] == '1' ) {
create_plugandpop();
}
} add_action ('init', 'set_plugandpop');
I tried if ( is_home && $options['active'] == '1' )
But this doesn’t work.
]]>