Skip to content
Public Ticket #26465

Exclude CSS on one page

Conversation thread

mikkijack replied

Customer Reply

You can close this one please, I've decided to not do it that way.  Thank you.

PenciDesign Supporter replied

Staff Reply

Hi,

You should insert this code either into the functions.php file of the child theme or by using the CodeSnippet plugin available here: https://wordpress.org/plugins/code-snippets/

add_filter( 'theme_mod_penci_custom_css', function($value){
    if ( is_paged( 123 ) ) {
        $value = '';
    }
    return $value;
} );

Replace 123 with the page ID you need to remove all the custom CSS code.

Regards,
PenciDesign.



mikkijack started the conversation

Conversation Start

I don't know if this is even possible, but I want to exclude one page from the custom CSS I have for my hyperlinks.

I want every other page of the site to be one way, but then my "Link in bio" page I don't want the css for links.

Is there a way to do that in Soledad?

Want to join this conversation or access attachments? Sign in first.