Front Page – Archive page as home page
-
I have searched and hunted throughout the internet to see if there is a plugin or a page template that might help.
I have tried using the wp-latest-posts plugin (Both Free and Paid), I have tried to use live-composer-page-builder.1.0.8.4 but both have not worked at all.
I’m currently using the Hueman theme, I need to make a tag archive the front static page of the site. I currently have a redirect to it but that doesn’t quite work well. I have tried the following page template to see if it works but it only pull the image and not how it shows it in the rest of the site.
<?php get_header(); ?> <?php /** * Template Name: Testr * * A Page Template for displaying users/visitor's liked posts. * * @package deTube * @subpackage Page Template * @since deTube 1.1 */ ?> <section class="content"> <?php get_template_part('parts/page-title'); ?> <div class="pad group"> <?php while ( have_posts() ): the_post(); ?> <article <?php post_class('group'); ?>> <?php get_template_part('parts/page-image'); ?> <div class="entry themeform"> <?php // The Query $the_query = new WP_Query( array( 'tag_id' => 1812 ) ); // The Loop if ( $the_query->have_posts() ) { echo '<a target="_blank" href="<?php the_permalink(); ?>">'; while ( $the_query->have_posts() ) { $the_query->the_post(); echo '' . the_post_thumbnail() . ''; } echo '</a>'; } else { // no posts found } /* Restore original Post Data */ wp_reset_postdata(); ?> <div class="clear"></div> </div><!--/.entry--> </article> <?php if ( hu_is_checked('page-comments') ) { comments_template('/comments.php',true); } ?> <?php endwhile; ?> </div><!--/.pad--> </section><!--/.content--> <?php get_sidebar(); ?> <?php get_footer(); ?>
Please, I really really need this to work. I just went through an entire theme re-vamp and this is the last point that is killing me right now…
- The topic ‘Front Page – Archive page as home page’ is closed to new replies.