Remove header/footer from category/postpages

Hello You guys.

Hoping you can help or give me some pointers on this, as i cant really figure out where to edit this:

What i got is a post page that is working as a operation page where it shows if we got any issues.
This works all fine.

What i am trying to achieve is to have ANOTHER page, without a header/footer where i can do a scrape from to grab all text and post on another site in case it goes down.
This is all kinda working.

What i’ve done is i have made 3 categories ( Info, OperationBackup, CriticalErrors )
And my thought is i will then scrape the page/category/info etc .
BUt i want to REMOVE header/footer from these 3 pages.
But i cant figure out where to do this :slight_smile:

I tried to go into the pro>Views>Intregrity and change up the singe-page.php file and just remove the get_header & get_footer.
But didn’t seem to do the trick.

Do you guys got a solution for this?

SO overall to boil it down: I want to remove header/footer from category/xx pages.

Thanks in advance.

Hi Aske,

You can achieve that using css, add the code below in Theme Options > CSS

.category-8 .x-colophon.bottom,
.category-8 .masthead,
.category-9 .x-colophon.bottom,
.category-9 .masthead,
.category-10 .x-colophon.bottom,
.category-10 .masthead {
     display:none;
}

Change 8,9 and 10 with the category id of these categories( Info, OperationBackup, CriticalErrors)

Hope that helps

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.