Can I exclude a category on a showcase page in Oxygen theme
-
Hi.
I changed my theme yesterday to Oxygen and I am now trying to modify it to be as clear bilingual blog as possible. I want to have my home page (showcase template) for English posts only and then I have a separate home page for Finnish posts (called “koti” on the menu).Can I exclude a category from my showcase page? All my Finnish posts are categorized with “Blogini suomeksi”. So if it’s possible, I’d like to exclude this category from showcase page so that only English posts would be showing there.
Thanks a lot in advance. Also, any tips to make the blog look nicer and clearer are more than welcome! :)
The blog I need help with is: (visible only to logged in users)
-
Also, if someone could give me a tip how to remove the underlining when hovering over the image links, I would be very thankful. I couldn’t figure it out by myself… Now if you hover over social buttons, language flags or blogging101 badge on footer, you can see the underlining under the images. I would like to get rid of that! :) Thanks.
-
Here’s how to remove the underlining of images in those two text widgets:
#text-15 a:hover, #text-13 a:hover { border:none; }I don’t see any Finnish posts in your front page slider, did you manage to fix that issue?
-
Thanks for the code, got that done now! :)
For the slider I marked only English posts as sticky, but below on “other recent posts” section are also Finnish posts showing and I think it would be a lot clearer if there would be only English ones on that page.
I assume it’s not possible to have 2 separate showcase pages with post sliders, one for English and one for Finnish? So I’m trying to think about something else for my “Finnish home page”.
-
I will still try if I could get an answer to this same thread! :)
Getting back to having only my English posts showing on the showcase page, I used the following CSS to hide the “recent articles” and “more articles” sections:
section.recent-articles {
display: none;
}section.more-articles {
display: none;
}Is it possible with CSS to display only posts from one specific category OR hide the posts from one specific category on a showcase page? If not, I will keep my home page as it is, even if it looks a bit… well, empty.
All of my posts are categorized as follows:
– Finnish posts are categorized as “blogini-suomeksi”
– English posts are categorized as “my-blog-in-english”
So if it’s possible either display only English posts or hide Finnish posts from my showcase page (so that they wouldn’t appear on “recent articles” or “more articles” sections, which are currently hidden), that would be absolutely fantastic!Thank you very much in advance.
http://www.livenowdreamlater.net -
You could hide only the posts in those sections with a certain category but you’ll still end up with empty space if the balance between English and Finnish posts is great. Here’s an example so you can see what I mean:
section.recent-articles .category-blogini-suomeksi { display:none; } section.more-articles .category-blogini-suomeksi { display:none; }Currently this only shows one English post (under more posts – none of your recent posts are in English!) but it should get you closer to what you’re after.
It’s also possible using the display posts shortcode to create something similar to the recent posts widget but limit it to a certain category. You can also set the widget visibility if you want it to only show up on certain pages of your site. That’s not exactly what your theme does with the recent- and more-posts section though.
-
Thanks so much for your reply and tips. I was playing around with the CSS based on your instructions and I could try the following because it looked the best in my opinion:
If I kept the “more articles” section hidden but leave the “recent articles” section visible, the empty space wouldn’t be too big and only Finnish posts would be showing on the “recent articles” because the English ones are in the post slider. For that I would like to have one more advice: is it possible to modify the section title? E.g. to say “Recent articles in Finnish” instead of just “Recent articles”?
It’s just a small thing, to be honest, so I might do it like that anyway, but of course it would be better if it was possible to modify the title of the section! :)
Thanks so much once more!
-
My pleasure! This should do the trick:
.recent-articles h1:after { content:" in Finnish"; } .recent-articles h1.entry-title:after { content:""; } -
Thanks so much!! Is it too much if I say I love you!?!? :D
It’s so much better now! *big virtual hug* -
I think it might be a bit soon in our virtual relationship for admissions of love but you’re very welcome!
- The topic ‘Can I exclude a category on a showcase page in Oxygen theme’ is closed to new replies.