Re: Delete posts from Home page and “Leave a reply”

Hot WordPress Themes Support Forum WordPress Themes Destinations Delete posts from Home page and “Leave a reply” Re: Delete posts from Home page and “Leave a reply”

#917
Milos Stankovic
Keymaster

The code below is my “main-home.php” page;

Code:

$sticky,
‘post_status’ => ‘publish’,
‘posts_per_page’ => 2,
‘no_found_rows’ => true
);

// The Sticky Posts query.
$featured = new WP_Query( $featured_args );
global $hpost_class;
// Proceed only if sticky posts exist
if ( $featured->have_posts() ){
?>