Skip to content
Plugin do WordPress - a simple way to feature posts in WordPress
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead of eduardozulian:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
font
README.md
post2home.css
post2home.js
post2home.php

README.md

post2home WordPress plugin

GitHub chatroom icon

A simple way to feature posts without interfering with sticky posts logic. Originally done by the good guys at Hacklab.

Usage

Simply create a new query passing as arguments _post2home meta key and its value:

$featured_posts = new WP_Query( array( 'ignore_sticky_posts' => 1, 'meta_key' => '_post2home', 'meta_value' => 1 ) );

Thanks

You can’t perform that action at this time.