Title: Plugin inhibit sticky post
Last modified: March 23, 2022

---

# Plugin inhibit sticky post

 *  Resolved [inspectorzebra](https://wordpress.org/support/users/inspectorzebra/)
 * (@inspectorzebra)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-inhibit-sticky-post/)
 * With the plugin installed I am not able to flag a post as sticky.
 * Step to reproduce:
    1. empty wp installation 2. create/modify a post with “Sticky
   on top” option 3. install and enable search-with-typesense plugin 4. step 2 will
   fail

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [digamberpradhan](https://wordpress.org/support/users/digamberpradhan/)
 * (@digamberpradhan)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-inhibit-sticky-post/#post-15501001)
 * Hi [@inspectorzebra](https://wordpress.org/support/users/inspectorzebra/) ,
 * I just tested this on a clean install – using the default block editor.
    And 
   i’m finding that the post is indeed becoming sticky on my side.
 * Also tested with classic editor and can’t reproduce the error.
    Are you saying
   that this is not being indexed as a stick post when bulk indexed ? Or that sticky
   post is being removed when marking post as sticky ?
 * Can you please confirm that
    1. Version of WordPress is 5.9.2 2. Plugin was activated
   and configured before marking sticky.
 *  Thread Starter [inspectorzebra](https://wordpress.org/support/users/inspectorzebra/)
 * (@inspectorzebra)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-inhibit-sticky-post/#post-15501207)
 * yes, I confirm that is a brand new docker installation of wp 5.9.2 with search-
   with-typesense 1.2.5
 * The typesense plugin is installed and configured. The problem is not with indexing
   but with publishing. After installing the plugin if I flag a post as “Stick to
   the top of the blog” the configuration is not saved by wordpress. If I deactivate
   the typesense plugin the bug doesn’t persist.
 *  Thread Starter [inspectorzebra](https://wordpress.org/support/users/inspectorzebra/)
 * (@inspectorzebra)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-inhibit-sticky-post/#post-15501241)
 * Update:
 * this seems a wp bug because with the “quick edit” modal post menu I can modify
   the sticky property.
 *  Plugin Contributor [digamberpradhan](https://wordpress.org/support/users/digamberpradhan/)
 * (@digamberpradhan)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-inhibit-sticky-post/#post-15501396)
 * [@inspectorzebra](https://wordpress.org/support/users/inspectorzebra/) ,
 * I was able to narrow down the issue.
    We had extra code for sticky post – because
   sticky post is added after post creation. It was not showing up on my initial
   tests as i had classic editor active and for some reason our sticky post code
   worked for even the block editor.
 * But after we switched our hooks from wp_insert_post to wp_after_insert_post this
   was not longer necessary, we have patched the issue and pushed out version 1.2.6.
 * Can you please update and verify that it’s working.
    Also – thank you for bringing
   to this our attention.
    -  This reply was modified 4 years, 2 months ago by [digamberpradhan](https://wordpress.org/support/users/digamberpradhan/).
 *  Thread Starter [inspectorzebra](https://wordpress.org/support/users/inspectorzebra/)
 * (@inspectorzebra)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-inhibit-sticky-post/#post-15501687)
 * Thank you [@digamberpradhan](https://wordpress.org/support/users/digamberpradhan/),
   just tested and I confirm that everything works. Thank you for the support. Have
   a nice day.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Plugin inhibit sticky post’ is closed to new replies.

 * ![](https://ps.w.org/search-with-typesense/assets/icon-256x256.png?rev=3095079)
 * [Search with Typesense](https://wordpress.org/plugins/search-with-typesense/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/search-with-typesense/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/search-with-typesense/)
 * [Active Topics](https://wordpress.org/support/plugin/search-with-typesense/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-with-typesense/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-with-typesense/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [inspectorzebra](https://wordpress.org/support/users/inspectorzebra/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-inhibit-sticky-post/#post-15501687)
 * Status: resolved