Remove the BEST DEALS and NEW ARRIVALS

Martin

New Member
You can remove it by editing home.php in wp-content/themes/davinci/home.php
Comment out the php includes line that looks like this"

<!-- BEST DEALS -->
<div class="content-from-cat">
<div class="container">
<h3 class="text-uppercase"><?php _e( 'Best Deals', 'ami3' ); ?></h3>
<?php get_template_part( 'products/main', 'bestdials' ) ?>
</div>
</div>

to look like this:


<!-- BEST DEALS -->
<!-- <div class="content-from-cat">
<div class="container">
<h3 class="text-uppercase"><?php _e( 'Best Deals', 'ami3' ); ?></h3>
<?php get_template_part( 'products/main', 'bestdials' ) ?>
</div>
</div> -->


This way if you ever want to put it back, you can just remove the "<!--" and "-->"
The templates and php files in this theme are pretty easy to work with.
If you have any other design/code issues, just let me know.
 

Martin

New Member
your welcom - like i said - any issues w/ theme - just ask -- if I know, or have an answer, I will certainly try to help
 

Direct Webstore

Well-Known Member
Cut ... paste. Move the relevant chunks code up or down. If you look at home-page.php..its easy to see whats needed to be done
 

Direct Webstore

Well-Known Member
hi, CAN I CHANGE THE ORDER? like, put news arrivals first etc... ?

Cut this whole section of code (from front-page.php and move it above the Top Selling code ..

<!-- NEW ARRIVALS -->
<div class="content-from-cat">
<div class="container">
<h3 class="title-cat text-uppercase">
<a href="<?php echo $home_url?>/product/?orderby=newest">
<?php _e( 'New Arrivals', 'ami3' ); ?>
</a>
</h3>
<?php get_template_part( 'products/main', 'arrivals' ) ?>
</div>
</div>
 

Andre M

Active Member
Cut this whole section of code (from front-page.php and move it above the Top Selling code ..

<!-- NEW ARRIVALS -->
<div class="content-from-cat">
<div class="container">
<h3 class="title-cat text-uppercase">
<a href="<?php echo $home_url?>/product/?orderby=newest">
<?php _e( 'New Arrivals', 'ami3' ); ?>
</a>
</h3>
<?php get_template_part( 'products/main', 'arrivals' ) ?>
</div>
</div>
tanks , but if theme have update this will be reset right?
 
Cut this whole section of code (from front-page.php and move it above the Top Selling code ..

<!-- NEW ARRIVALS -->
<div class="content-from-cat">
<div class="container">
<h3 class="title-cat text-uppercase">
<a href="<?php echo $home_url?>/product/?orderby=newest">
<?php _e( 'New Arrivals', 'ami3' ); ?>
</a>
</h3>
<?php get_template_part( 'products/main', 'arrivals' ) ?>
</div>
</div>



Hi, where exactly from Admin area can be found this (front-page.php) I also want to customize my store, Thank you
 
Top