Title: evallad's Replies | WordPress.org

---

# evallad

  [  ](https://wordpress.org/support/users/evallad/)

 *   [Profile](https://wordpress.org/support/users/evallad/)
 *   [Topics Started](https://wordpress.org/support/users/evallad/topics/)
 *   [Replies Created](https://wordpress.org/support/users/evallad/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/evallad/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/evallad/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/evallad/engagements/)
 *   [Favorites](https://wordpress.org/support/users/evallad/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Activello] Static homepage creation](https://wordpress.org/support/topic/static-homepage-creation/)
 *  Thread Starter [evallad](https://wordpress.org/support/users/evallad/)
 * (@evallad)
 * [10 years ago](https://wordpress.org/support/topic/static-homepage-creation/#post-7325947)
 * Many thanks for the code, it works perfectly!
 * For the rest, I woukd like to create my own homepage. When I put this code in
   my homepage, thé page is empty:
 *     ```
       <div id="primary" class="content-area">
                       <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; ?>
   
       		<main id="main" class="site-main <?php echo "page-".$paged;?>" role="main">
   
       		<?php if ( have_posts() ) : ?>
   
       			<div class="article-container">
   
       			<?php /* Start the Loop */ ?>
       			<?php while ( have_posts() ) : the_post(); ?>
   
       				<?php get_template_part( 'content', '' ); ?>
   
       			<?php endwhile; ?>
   
       			</div>
   
       			<?php activello_paging_nav(); ?>
   
       		<?php else : ?>
   
       			<?php get_template_part( 'content', 'none' ); ?>
   
       		<?php endif; ?>
       		</main><!-- #main -->
       	</div><!-- #primary -->
       ```
   
 * I juste see the header, parts I’ve added and rhe slider.
 * Hope it is clear now 🙂
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Activello] Static homepage creation](https://wordpress.org/support/topic/static-homepage-creation/)
 *  Thread Starter [evallad](https://wordpress.org/support/users/evallad/)
 * (@evallad)
 * [10 years ago](https://wordpress.org/support/topic/static-homepage-creation/#post-7325871)
 * HI, I’m fine thank you. Hope you are too.
    Yes I was but I changed my mind.
 * I keep the last articles page as homepage, desactivate the right bar and add 
   my own code in the template to have my own elements. I would prefer to create
   a static homepage but impossible to get the articles loop (as shown in the [https://colorlib.com/activello/](https://colorlib.com/activello/)
   homepage).
 * Besides,
    – I would like to hide from the homepage the articles shown in the 
   slider. Is that possible ? – I’d like to have the share this & related saw in
   this page [https://colorlib.com/activello/template-featured-image-vertical/](https://colorlib.com/activello/template-featured-image-vertical/)
 * Kind regards

Viewing 2 replies - 1 through 2 (of 2 total)