in my themes expound folder i made another folder called expound-child in it is a file content_list.php with the code of
/*
Theme Name: Expound
Author: Konstantin Kovshenin
Author URI: https://kovshenin.com
Description: An awesome magazine theme for your WordPress site. Responsive layout, post thumbnails support, featured posts, an easy-to-use social menu and much more.
Version: 2.0.1
License: GNU General Public License
License URI: license.txt
Tags: black, blue, white, light, one-column, two-columns, right-sidebar, editor-style, responsive-layout, custom-header, flexible-header, custom-background, featured-images, custom-menu, post-formats, sticky-post, threaded-comments, translation-ready, full-width-template, buddypress
This theme, like WordPress, is licensed under the GPL.
Expound is based on Underscores https://underscores.me/, (C) 2012-2013 Automattic, Inc.
*/
/* =Imports styles from the parent theme
----------------------------------------------------*/
@import url(‘https://www.ivykennedy.com/home2/wp-content/themes/expound/expound-child/content-list.php')
/* =Theme customization starts here
<?php $args = array(
'posts_per_page' =>4,
'cat' => 4,
'order' => 'DESC',
'orderby' => 'date'
);
$loop = new WP_Query( $args );
if( $loop->have_posts() ) :
single_cat_title();
while( $loop->have_posts() ) : $loop->the_post();
the_title();
endwhile;
endif;
wp_reset_postdata(); ?><?php $args = array(
'posts_per_page' =>4,
'cat' => 4,
'order' => 'DESC',
'orderby' => 'date'
);
$loop = new WP_Query( $args );
if( $loop->have_posts() ) :
single_cat_title();
while( $loop->have_posts() ) : $loop->the_post();
the_title();
endwhile;
endif;
wp_reset_postdata(); ?>