Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Så här addar du (fast)klistrade inlägg för kategorier i WordPress

Vill du add to sticky inlägg högst upp på dina WordPress kategorisidor?

Adding sticky posts on category pages allow you to display utvalda inlägg som besökare alltid kommer att se. Det hjälper dig att driva mer trafik till ditt viktigaste content.

I den här artikeln kommer vi att visa dig hur du add to (fast)klistrat inlägg för kategorier i WordPress.

How to add sticky posts for categories WordPress

Varför add to (fast)klistrat inlägg för kategorier i WordPress?

När din website växer kan det vara svårt för nya besökare att hitta ditt vintergröna content eller dina artiklar som ligger högst upp. Dessa artiklar kan bli begravda under andra blogginlägg som du publicerar på din site.

Att ha fast)klistrade inlägg på Category pages är verkligen användbart för att lyfta fram det viktigaste innehållet på din WordPress website. På så sätt förbättras deras synlighet och click through rate (CTR).

På så sätt kan människor lättare hitta dina pelare posts och hjälpa dem att få fler sidvisningar. Det bidrar också till att få användare att spendera mer tid på din site och öka engagemanget.

Du kan också göra tidsrelevant content sticky, gillar tillkännagivanden och giveaways. Till exempel kan du lägga ditt blogginlägg om julförsäljning som sticky på kategorisidor för att få fler konverteringar.

Med detta sagt, låt oss se hur du kan add to (fast)klistrat inlägg till category pages i WordPress.

Lägga till (fast)klistrade inlägg för kategorier i WordPress

Det enklaste sättet att lägga till fast)klistrade inlägg för kategorier i WordPress är att använda Sticky Posts – Switch. Det är ett gratis plugin för WordPress som låter dig ställa in (fast)klistrade inlägg på homepage, archive pages och taxonomies pages.

Först måste du installera och aktivera pluginet Sticky Posts – Switch. Om du behöver hjälp, vänligen se vår guide om hur du installerar ett plugin för WordPress.

Efter aktivering kan du gå till Settings ” Fast)klistrat inlägg – Switch från din WordPress dashboard. Här kan du konfigurera alternativen för visning av (fast)klistrade inlägg som visas på din website i WordPress.

Sticky posts switch settings

You can for instance select which post type to make sticky. Detta är användbart om du har custom post types på din website och vill göra dem sticky istället.

Dessutom kan du också välja var du vill visa fast)klistrade inlägg på din homepage, sidor med inläggsarkiv eller taxonomisidor som kategorier och taggar.

Pluginet lägger också till en star icon i Posts-inställningarna i WordPress dashboard. Detta allow you att snabbt göra ett inlägg klistrat inlägg utan att ens behöva öppna content editor.

Nästa steg är att helt enkelt heada till Posts ” All Posts från WordPress adminpanel. Du kan nu klicka på stjärnikonen för att göra ett inlägg fast)klistrat inlägg. Observera att stjärnikonen endast är synlig i adminpanelen och ej på din sites front-end.

Till exempel gör vi vår artikel med rubriken ”Rymd” sticky.

Click star icon to make post sticky

Nu är det klart! Du har nu lagt till ett fast)klistrat inlägg för kategorier i WordPress.

Du kan helt enkelt besöka vilken som helst kategorisida på din website, och det (fast)klistrade inlägget kommer att visas högst upp.

Till exempel visas den artikel som vi gjorde sticky på vår demo site nu högst upp på varje kategori page. Även om kategorisidan är för artiklar om stränder kommer vårt fast)klistrade inlägg att dyka upp i början av sidan.

Sticky post preview in categories

Du kommer också att notera publiceringsdatumet för varje blogginlägg. (fast)klistrat inlägg som visas först på kategorins page har ett äldre datum jämfört med andra artiklar i kategorin.

Vi hoppas att den här artikeln hjälpte dig att lära dig hur du lägger till (fast)klistrade inlägg för kategorier i WordPress. Du kanske också vill se vår guide om hur man väljer den bästa bloggplattformen och WooCommerce gjort enkelt.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Avslöjande: Vårt innehåll stöds av våra läsare. Det innebär att om du klickar på några av våra länkar, kan vi tjäna en provision. Se hur WPBeginner finansieras, varför det är viktigt, och hur du kan stödja oss. Här är vår editoriala process.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Den ultimata WordPress-verktygslådan

Få GRATIS tillgång till vår verktygslåda - en samling WordPress-relaterade produkter och resurser som varje professionell användare bör ha!

Reader Interactions

29 kommentarerLämna ett svar

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

    • WPBeginner Support says

      The plugin should allow you to decide which categories to display the sticky post in.

      Administratör

        • WPBeginner Support says

          It looks like we were mistaken, if you do not set a sticky post in a category then it will not display on that category’s page.

  2. Amara Young says

    I’d really like to know how to stick different posts to the top of their respective categories. My website has one blog page with multiple categories that are not related, and I don’t want to stick the same post to the top of each category. Please help!

  3. Kevin Klasman says

    I would like to have a single sticky post per category, but unfortunately this plugin doesn’t do that. Having multiple sticky posts simply sticks them at the top of all category pages, instead of just the sticky post for the category the user clicks on.

    • WPBeginner Support says

      You are correct that this plugin does not add the sticky post per category, this plugin is currently for placing one post on the top of all of your category pages. We will be sure to look into a plugin we would recommend for individual sticky posts :)

      Administratör

  4. Szilard says

    Thank You!

    WordPress hides this plugin in the search since they say not tested with the recent wp versions. But based on your article I could find it again. And it just works.

  5. lisa says

    Please could someone give me a simple explanation of the difference between stickys and featured posts. Many tutorial sites seem to use the words as if they were interchangeable but it seems they are not – they obviously have different functions, otherwise why give them different names. Thanks

    • WPBeginner Support says

      Sticky posts are a WordPress default option to have a post appear before your other content while featured posts are an option in some themes that depending on the theme it can either be interchangeable or for a specific section of the theme.

      Administratör

  6. Vera says

    Thanks.
    How can I make the Category Sticky Post full length and the rest of the Category Posts excerpt (Twenty-Thirteen theme)?
    Thank you.

  7. Karunakar says

    With ”Category Sticky Post” Plugin, we are able to stick only a single post in a category.

    How to stick multiple posts in a single category?

    Thank you in advance.

  8. Clodagh Phelan says

    Please could someone give me a simple explanation of the difference between stickys and featured posts. Many tutorial sites seem to use the words as if they were interchangeable but it seems they are not – they obviously have different functions, otherwise why give them different names. Thanks

    • WPBeginner Support says

      Clodagh, Sticky posts are sometimes referred as featured posts. Some WordPress themes or tutorials would want you to create a category called Featured Posts on your site and use posts in that category to be highlighted as featured posts.

      Administratör

  9. Tim says

    The big question is: Why can’t a sticky post just be sticky everywhere?

    Eg what if a post is in multiple categories? (eg an art exhibition with live music and wine tasting should go in all three categories, and be sticky in all three if it’s happening this week).

    I’m guessing the reason is you can’t have multiple sticky posts per category. But… why? If there are multiple sticky posts, just put _them_ in date order, above the other posts.

    Feels like this would simplify things a bit.

  10. rakesh kumar says

    Very useful information you have shared with us. I was just trying to figure it out how to do this for each category and suddenly found your article, Thanks a lot.

    • WPBeginner Support says

      Olivia, see the screenshot in the article. A Sticky post is much like a featured post, it is usually displayed on top of your regular post no matter when it was published.

      Administratör

  11. Ali says

    Thank you for this article!
    I have been thinking about categories and archives lately because I’m starting to get more posts on my site.
    The sticky posts looks like a great way to showcase one post.

    How do I set up my site so that if someone clicks on a category (or an archive date) they see only a short stub of ALL posts under that category or date?

    Maybe even a list of all post titles if it’s not possible to have a title and intro?

    Currently when I click on a category or archive date all of the posts show, but they show as full posts – so it’s a LONG page and hard to find the one post you want to read.

    Thank you!

    Ali Jayne
    http://alijayne.com

Lämna ett svar

Tack för att du väljer att lämna en kommentar. Tänk på att alla kommentarer modereras enligt våra policy för kommentarer, och din e-postadress kommer INTE att publiceras. Vänligen använd INTE nyckelord i namnfältet. Låt oss ha en personlig och meningsfull konversation.