Title: Sticky Posts &#8211; Switch
Author: Markus Wiesenhofer
Published: <strong>6 april 2017</strong>
Last modified: 29 juli 2022

---

Sök tillägg

![](https://ps.w.org/sticky-posts-switch/assets/banner-772x250.jpg?rev=1631702)

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

![](https://ps.w.org/sticky-posts-switch/assets/icon-256x256.jpg?rev=1631517)

# Sticky Posts – Switch

 Av [Markus Wiesenhofer](https://profiles.wordpress.org/markusfroehlich/)

[Ladda ner](https://downloads.wordpress.org/plugin/sticky-posts-switch.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/sticky-posts-switch/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/sticky-posts-switch/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/sticky-posts-switch/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/sticky-posts-switch/#developers)

 [Support](https://wordpress.org/support/plugin/sticky-posts-switch/)

## Beskrivning

This plugin adds a new column to the post admin columns that allows you to easily
mark a post so that it is sticky.
 Sticky Posts is a WordPress feature only for 
posts, with this plugin you can use this feature also with custom post types.

#### Features of sticky posts

 * enables you to use the sticky posts feature with every custom post type on front
   page, archive page or category page
 * quick and bulk edit support for custom post types
 * selection of the post type (post or custom post type)
 * selection of the color of the switch icon
 * customized order of the column showing the switch icon
 * use only built-in WordPress functions
 * the star-icon switch saves the posts in the sticky status immediately with ajax
 * optionally, set all translations of a post sticky, supports [Polylang](https://polylang.pro)
   and [MultilingualPress](https://wordpress.org/plugins/multilingual-press)

## Skärmdumpar

[⌊The sticky post column at the admin list post page⌉⌊The sticky post column at 
the admin list post page⌉[

The sticky post column at the admin list post page

[⌊Plugin settings⌉⌊Plugin settings⌉[

Plugin settings

## Installation

 1. Upload ’sticky-posts-switch’ to the ’/wp-content/plugins/’ directory, or install
    the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ’Plugins’ screen in WordPress.
 3. You will now have the new column ”Sticky Post” in the post admin screen.

## Vanliga frågor

### Where can I config the plugin?

In the menu, navigate to the item ”Settings -> Sticky Posts”

### Why can’t I find my own type of content (custom post type) in the list?

The only types of content displayed are those declared as public.
 See [register post type](https://codex.wordpress.org/Function_Reference/register_post_type).

### I found a bug, what shall I do?

If you have found a bug in my plugin, please send me an email with a short description.

I will fix the bug as soon as possible.

### You like my plugin and you’d like to support me?

Thank you very much!
 In case you want to show how much you appreciate my work, 
I’d be very grateful if you could give me positive rating with WordPress-Page and/
or donate a small amount to me.

## Recensioner

![](https://secure.gravatar.com/avatar/296b8de46c55cf788b0fb3db38f49b222b8e36ef2bcac3a1355b45b749d6ff31?
s=60&d=retro&r=g)

### 󠀁[Superb!](https://wordpress.org/support/topic/superb-1028/)󠁿

 [snoop23](https://profiles.wordpress.org/snoop23/) 5 juli 2024

Thank you! Exactly what I needed.

![](https://secure.gravatar.com/avatar/2ad324827c3f33b3b0aa0553874149a807db6bbe17106d5d9e820f5bf1485bd9?
s=60&d=retro&r=g)

### 󠀁[No Support, and Plugin Doesn’t Work With CPT](https://wordpress.org/support/topic/no-support-and-plugin-doesnt-work-with-cpt/)󠁿

 [Michael](https://profiles.wordpress.org/mgparisi/) 19 februari 2024 2 svar

I’d hate to leave a negative review, but the owner turned off the support function
and provides no method to contact. The Plugin Works, but it doesn’t respect Custom
Post Types. All Stickies in the Posts section become stickies in all other custom
post types. So in our case a Posts Sticky is now showing in our CPT ”Forums”

![](https://secure.gravatar.com/avatar/4125e47111311b987186db849a01348b0adb0f4f4306e958948a7024acc934e3?
s=60&d=retro&r=g)

### 󠀁[Working plugin with latest WP version](https://wordpress.org/support/topic/working-plugin-with-latest-wp-version/)󠁿

 [qadir1322](https://profiles.wordpress.org/qadir1322/) 20 december 2023

This plugin stands out as the sole functional option within its category. It seamlessly
integrates with the latest version of WordPress and operates flawlessly with Custom
Post Types. 🌟✨ If you’re seeking a reliable solution, this plugin is a standout
performer in its field. Highly recommended! 👍🏼 #PluginReview #WordPress #TopChoice

![](https://secure.gravatar.com/avatar/2cde2196fa70bd061b89558c5f6009644c821699548933f1387dd46d92c389cc?
s=60&d=retro&r=g)

### 󠀁[helpfull](https://wordpress.org/support/topic/helpfull-42/)󠁿

 [mjhvc](https://profiles.wordpress.org/mjhvc/) 5 mars 2023

An easy way to stick a post at the top of his category

![](https://secure.gravatar.com/avatar/7315c567321ba9b67dd32712df8ba9c45335a19e53f755f0d748e452ade354f7?
s=60&d=retro&r=g)

### 󠀁[Great plugin 🙂](https://wordpress.org/support/topic/great-plugin-35790/)󠁿

 [classikd](https://profiles.wordpress.org/classikd/) 20 december 2022

Good plugin thank you

![](https://secure.gravatar.com/avatar/44cad3c375f80351c3bc534e53197b43c8fa63b94ccbace861d5bac6f06853c2?
s=60&d=retro&r=g)

### 󠀁[Excellent work!](https://wordpress.org/support/topic/excellent-work-312/)󠁿

 [Dmitriy](https://profiles.wordpress.org/dimchik/) 23 augusti 2022

Clean and simple implementation, super easy to use, excellent UI, exactly what I
was looking for. Using native wp functions is the icing on the cake. Love this!

 [ Läs alla 18 betyg ](https://wordpress.org/support/plugin/sticky-posts-switch/reviews/)

## Bidragsgivare och utvecklare

”Sticky Posts – Switch” är programvara med öppen källkod. Följande personer har 
bidragit till detta tillägg.

Bidragande personer

 *   [ Markus Wiesenhofer ](https://profiles.wordpress.org/markusfroehlich/)

”Sticky Posts – Switch” har översatts till 1 språk. Tack till [översättarna](https://translate.wordpress.org/projects/wp-plugins/sticky-posts-switch/contributors)
för deras bidrag.

[Översätt ”Sticky Posts – Switch” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/sticky-posts-switch)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/sticky-posts-switch/),
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/sticky-posts-switch/)
eller prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/sticky-posts-switch/)
via [RSS](https://plugins.trac.wordpress.org/log/sticky-posts-switch/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 2.1.3

 * Dev – Added the filter ”wp_sticky_posts_switch_checkbox_label_text”

#### 2.1.2

 * Dev – Tested up with WordPress 6.0.1
 * Dev – Code optimizations

#### 2.1.1

 * Fix – Supported multilingual plugins text in settings page

#### 2.1.0

 * Feature – Add support for Polylang
 * Fix – Sticky post removed after save post (Gutenberg)
 * Dev – Remove support for WPML (WPML actually has this same functionality)

#### 2.0.0

 * Feature – Add support for the sticky post class
 * Dev – Tested up with WordPress 5.2.3
 * Dev – Code optimizations
 * Dev – Improvement for better main instance call
 * Fix – Retrieve the correct queried object for the filtered wp_query

#### 1.9.2

 * Fix – Maximum function nesting level error issue

#### 1.9.1

 * Improvement for better handling in wp_query filters

#### 1.9

 * Add new settings ”show on front page” for each post type
 * Default posts are now able to activate/deactivate the sticky feature on ”front
   page” or ”posts page”

#### 1.8

 * Add new settings table for post types, archive pages and taxonomy pages
 * Removed setting ”ignore retrieved posts”
 * Language pot file update

#### 1.7

 * Code and performance optimizations
 * Bugfix in the WPML integration
 * Translation fixes

#### 1.6

 * Code and performance optimizations
 * Translation fixes
 * Throw an JavaScrip alert on ajax sticky / unsticky error

#### 1.5

 * Code and performance optimizations
 * Hide the sticky post column at the post trash page

#### 1.4

 * Bugfixes in the ”the_posts” filter for custom post types

#### 1.3

 * Add bulk and quick edit support for custom post types
 * Add a icon animation during ajax loading
 * Add an ajax queue for a better switch experience
 * Update the post states immediately after sticky/unsticky a post
 * Redesign of the settings page
 * Code optimization
 * Translation fixes

#### 1.2

 * Readme update
 * Translation fixes

#### 1.1

 * Translation fixes
 * Add multilingual support for WPML and MultilingualPress

#### 1.0

 * Initial Release

## Meta

 *  Version **2.1.3**
 *  Senast uppdaterat **4 år sedan**
 *  Aktiva installationer **6 000+**
 *  WordPress-version ** 4.0 eller senare **
 *  Testat upp till **6.0.12**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/sticky-posts-switch/) och [German](https://de.wordpress.org/plugins/sticky-posts-switch/).
 *  [Översätt till ditt språk](https://translate.wordpress.org/projects/wp-plugins/sticky-posts-switch)
 * Etiketter
 * [admin](https://sv.wordpress.org/plugins/tags/admin/)[cpt](https://sv.wordpress.org/plugins/tags/cpt/)
   [post](https://sv.wordpress.org/plugins/tags/post/)[sticky](https://sv.wordpress.org/plugins/tags/sticky/)
   [switch](https://sv.wordpress.org/plugins/tags/switch/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/sticky-posts-switch/advanced/)

## Betyg

 4.4 av 5 stjärnor.

 *  [  15 5-stjärniga recensioner     ](https://wordpress.org/support/plugin/sticky-posts-switch/reviews/?filter=5)
 *  [  0 4-stjärniga recensioner     ](https://wordpress.org/support/plugin/sticky-posts-switch/reviews/?filter=4)
 *  [  0 3-stjärniga recensioner     ](https://wordpress.org/support/plugin/sticky-posts-switch/reviews/?filter=3)
 *  [  1 2-stjärnig recension     ](https://wordpress.org/support/plugin/sticky-posts-switch/reviews/?filter=2)
 *  [  2 1-stjärniga recensioner     ](https://wordpress.org/support/plugin/sticky-posts-switch/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/sticky-posts-switch/reviews/#new-post)

[Se alla recensioner](https://wordpress.org/support/plugin/sticky-posts-switch/reviews/)

## Bidragande personer

 *   [ Markus Wiesenhofer ](https://profiles.wordpress.org/markusfroehlich/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/sticky-posts-switch/)

## Donera

Skulle du vilja bidra till utvecklingen av detta tillägg?

 [ Donera till det här tillägget ](https://www.paypal.com/donate?business=DUKJP25LKTX62&currency_code=EUR)