A simple way to feature posts in WordPress
PHP JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
font
README.md
post2home.css
post2home.js
post2home.php

README.md

post2home WordPress plugin

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