Only display posts with a specific tag on homepage

It’s possible to display pnly posts with a specific tag on the homepage. To dosoyou’ll need to add some Custom CSSin Advanced Options.

Copy and paste the code below then change yourtag to the name of the tag you want to display.

body.index-page #posts .post.yourtag {
display:block !important;
}

body.index-page #posts .post {
display:none;
}

body.tagged-page .post {
display:block:important;
}

Doing this your homepage might not fill out with posts since you’re hiding some so you may need to edit the post date of your tagged posts to push them to the top.

[Total: 1    Average: 4/5]