Background: The Wordpress Answers site has two questions which ask about how to enable sticky posts on custom post types (see how to make custom posts sticky? and Enable sticky posts to custom post_type ). Both questions made mention of this trac ticket ( https://core.trac.wordpress.org/ticket/12702 ).

The answers provided ( to those questions I mentioned above ) express a possibility of using custom post types and meta-boxes. Unfortunately the level of detail in those answers was not helpful to me (and, I presently don't have enough reputation to comment for further clarification).

My Goal: I am using the custom post type ui plugin and the advanced custom fields plugin to display employee profile CPT's. One one of my pages lists all of the employee profiles, but the client wants certain profiles to be stick to the top. I have reviewed two possible plugins to assist me (seamless sticky custom post types and sticky custom post types). Unfortunately, those plugins seem only to output the sticky post on the homepage.

For my purposes, the sticky-feature should only apply to the specialized page template that lists all the employee profiles, and not the home page.

Question Restatement: It seems like the best solution for me involves somehow using custom fields to accomplish the desired result. Is this correct? If so, please direct me to any wordpress template tags, techniques, examples or tutorials that might help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.