Page before blog posts on front page


Thanks for such a beautiful and simple theme!

Is there any way I can have a page in font of blog posts (just like if it is a featured post) on front page?

Okay, I realized that I should make a static front page and make a template for the main page which will add the posts and a sidebar to it. Could you please tell what code I should try to add into the template to get things the way I want.

Well, I managed it this way in the end: just put all the html code i want into featured post’s exerpt, the code is well displayable on the front blog page. And i removed all of the things i don’t need (read more, title, etc.) with style.css. Now it looks just like an html before all of the other posts.

thanks for a really beautiful theme!

Hi @vauveigh,

Awesome great to see you got that managed.

Please advise if you have more questions.

Have a fantastic day!


What do you mean by this?

I’m trying to make my webpage look like the demo of this theme, could you share your template/website?

So I managed to get it to look like the demo, but it only appears that way when I’m customizing.

When I go to the actual static homepage, it tiles all my other pages one after the other on the home page. Did I break my “Main Index Template?”

<?php error_reporting(-1);
 * The main template file.
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 * Learn more:
 * @package activello

get_header(); ?>

	<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; ?>
			<?php activello_paging_nav(); ?>

		<?php else : ?>

			<?php get_template_part( 'content', 'none' ); ?>

		<?php endif; ?>

		</main><!-- #main -->
	</div><!-- #primary -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>

Hi @naztheeternal,

To help keep support thread separates could you please create your own thread for your question here instead of replying on others thread as it makes the thread messy and hard to read.

If you want to you can also add reference of this thread in your newly created thread.

We would be more than happy to help you on your new thread.