Comments LucyEdward started the conversationJuly 30, 2024 at 8:55amHi,How can I hide my topbar on pages only?Thank you. 2,660PenciDesign repliedJuly 30, 2024 at 8:58amHi,You should paste this code into the function.php of the child theme or via the CodeSnippet plugin here: https://wordpress.org/plugins/code-snippets/ add_filter( 'theme_mod_penci_top_bar_show', function( $value ) { if ( is_page() ) { return false; } return $value;} ); Regards,PenciDesign.1 LikeLucyEdward repliedJuly 30, 2024 at 9:04amThank you ! : ) Sign in to reply ...
Hi,
How can I hide my topbar on pages only?
Thank you.
Hi,
You should paste this code into the function.php of the child theme or via the CodeSnippet plugin here: https://wordpress.org/plugins/code-snippets/
Regards,
PenciDesign.
Thank you ! : )