Orion42 ~IT made easy~

Giving feedback, alpha testing and solving common problems with out of the box and lateral thinking

How to have sticky pages on wordpess

You have to change a single line (#137) in  wp-admin/includes/meta-boxes.php


<?php if ( $post_type == ‘post’ && current_user_can( ‘edit_others_posts’ ) ) : ?>


<?php if ( in_array( $post_type, (array) apply_filters( ‘sticky_post_types’, array( ‘post’, ‘page’  )  ) ) && current_user_can( ‘edit_others_posts’ ) ) : ?>

There is an open thread on the Core Trac WordPress website, with also my contribute:

Leave a Reply

Skip to content