removed filter on home page for category artist

This commit is contained in:
jorge-vitrubio 2021-10-27 11:18:12 +02:00
parent dc353ea6aa
commit d58e335311
1 changed files with 3 additions and 3 deletions

View File

@ -22,10 +22,10 @@ get_header(); ?>
<?php // Start the Loop ?>
<?php // category 12 is the "artist" category in the 2021 installation,?>
<?php // if starting from new install this might change, check the category number that you want to hide ?>
<?php $query = new WP_Query( 'cat=-12' ); ?>
<?php if ( $query->have_posts() ) : while ( $query->have_posts() ) : $query->the_post(); ?>
<?php //$query = new WP_Query( 'cat=-12' ); ?>
<?php //if ( $query->have_posts() ) : while ( $query->have_posts() ) : $query->the_post(); ?>
<?php // coment above, uncoment below to query all posts ?>
<?php // if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class('bfr_post'); ?>>
<div class="bfr_post_content">
<header>