You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to change the template function file to only pull post that are in category 4 that are published... I have updated the lines in the function.php file, but the template still pulls all of the post no matter what category they are in.
I am trying to change the template function file to only pull post that are in category 4 that are published... I have updated the lines in the function.php file, but the template still pulls all of the post no matter what category they are in.
query_posts( array(
'cat' => '4',
'post_status' => 'publish',
'posts_per_page' => -1
) );
Is there another location that the query is pulled from?
The text was updated successfully, but these errors were encountered: