I checked and unchecked the option, but nothing seems to change. I would rather not display the featured post in the list below, but I guess it’s not the end of the world if it does.
I wonder if I might have removed important code when I edited featured.php.
This is how it read:
$featured = new WP_Query(
array(
'no_found_rows' => false,
'update_post_meta_cache' => false,
'update_post_term_cache' => false,
'ignore_sticky_posts' => 1,
'posts_per_page' => hu_get_option('featured-posts-count'),
'cat' => hu_get_option('featured-category')
)
);
I changed it to:
$featured = new WP_Query(
array(
'no_found_rows' => false,
'update_post_meta_cache' => false,
'update_post_term_cache' => false,
'ignore_sticky_posts' => 1,
'posts_per_page' => hu_get_option('featured-posts-count'),
'cat' => ('-16')
)
);
Thinking I might have deleted important information in the editing, I tried a couple variations of:
'cat' => ('-16') hu_get_option('featured-category')
But my home page was wiped blank.
-
This reply was modified 8 years, 5 months ago by
adieu.