Site logo

Archived topic

Full Screen Category Description

5 replies · Started by Rohith on September 5, 2022

Viewing posts 1–6 of 6

Hi there, we are looking for full screen category description (Check PVT). No sidebar should be there in the description area only. The sidebar should be present in the list posts. Please help me with this.

Is that possible with code?

Hi Rohith,

Can you provide the link to the site in question?

Here's it

Try adding this PHP Snippet:

add_action('wp', function(){
    if ( is_category() ) {
        remove_action( 'generate_archive_title', 'generate_archive_title' );
        add_action( 'generate_inside_container', 'generate_archive_title' );
    }
});

It may require some CSS to position it afterwards - let me know.

This archived topic is closed to new replies.