Tabs & Sticky Posts
-
I set up a few page categories as tabs. In each tab I would like one sticky post that explains the purpose of that particular tab. But as far as I understand sticky posts can only be attached to Front Page.
Is there a way around it where I can have a few sticky posts in each tab?
The blog I need help with is: (visible only to logged in users)
-
I love Category Pages. When you create a category, you have an opportunity to write a description of that category. If themes would take advantage of that description to create an introductory paragraph on the category “page” it would be a super enhancement. I do not know whether any themes do so however.
A workaround is to use the display posts shortcode on a page instead of using the category page. Since you can insert that shortcode wherever you want it, you can create a regular page ( NOT a category page), then write your introductory paragraph as a regular paragraph rather than a sticky post and then use the Display Posts shortcode. Try a small experiment to see what you think of it:
-
Ooh, I knew I had seen an article at one time on which themes included category descriptions – but it is not current.
I do not know if any of the themes cited here are current enough to be used, but oerhaos the feature still exists on some themes.
https://wpbtips.wordpress.com/2011/12/09/category-descriptions/It might be worth adding the description in one of your category listings and see if your theme picks it up on your category page.
https://en.support.wordpress.com/posts/categories/And it might be worth letting the makers of your theme know you would like that option.
-
I did a short test using the 2016 theme at random and it does show the description on the category page. If your theme does that it may be a better solution than using display posts. However you could lose that function if you change to antheme that does NOT support it.
Sorry for such a roundabout answer.
-
Ooh, no thanks for that. I actually did try category description, and it works. Just two things to add:
1. Cannot add visuals to category description. OK< can live with that no probs.
2. THIS one caused me a lot of grief until I realised what was going on. Pay attention…
When category description is created, it will show in WP admin, but will NOT be published until at least one post has been created in that category. I wrecked my brains trying to figer out why the description wasn;t visible :)I will try your suggestion about ‘display posts shortcode’, never came across that one, thanks!
-
Categories with no posts also will not show up in the categories widget.
Note: Only categories that are attached to posts will be displayed in the widget.
https://en.support.wordpress.com/widgets/categories-widget/
The availability of the categories widget and categories cloud widget may weigh the scales toward using category pages instead of the Display Posts function. But the display posts shortcode offers a lot of flexibility in your Pages…
There are a lot of shortcodes –
https://en.support.wordpress.com/shortcodes/:-)
- The topic ‘Tabs & Sticky Posts’ is closed to new replies.