Hello,
I have a website http://essentials4survival.com
I have add in that blog as home page, but now its not showing, its coming in essentials4survival.com/home
And I want in essentials4survival.com,
With side bar.
one more thing, I have instal l slider revolution., I want it in blog header, after menu, where I put code for this.
Please help me.
Thank You.
Hi,
I can help you with this.
I’m a WordPress developer, its my portfolio: https://themeforest.net/user/khalilthemes
If you are interested to hire me, send me a message through my profile: https://themeforest.net/user/khalilthemes
Thanks,
Ebrahim
Couple of issues with the code -
$args = array( ‘post_type’ = ‘post’, ‘posts_per_page’ => 4 ); $query = new WP_Query( $args ); ?>
if ( have_posts() ) : while ( have_posts() ) : the_post(); ?
should be
$args = array( ‘post_type’ => ‘post’, ‘posts_per_page’ => 4 ); $query = new WP_Query( $args ); ?>
if ( $query->have_posts() ) : while ( $query->have_posts() ) : $query->the_post(); ?
you need to use the new query object you created with WP_Query.
Give that a go