• hi, i want to do exactly this:
    https://wp-tiles.com/example-pages/designer-homepage/

    in my web. i use clean box de catch themes.

    i dont know haw add the function the_wp_tiles, at all.

    anyone can help me with the script.
    Thanks!

    —————————
    This is the index.php:
    ———————————–

    get_header(); ?>
    
    	<main id="main" class="site-main" role="main">
    
    		<?php if ( have_posts() ) : ?>
    
    			<?php /* Start the Loop */ ?>
    			<?php while ( have_posts() ) : the_post(); ?>
    
    				<?php
    					/* Include the Post-Format-specific template for the content.
    					 * If you want to override this in a child theme then include a file
    					 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
    					 */
    					get_template_part( 'content', get_post_format() );
    				?>
    
    			<?php endwhile; ?>
    
    			<?php clean_box_content_nav( 'nav-below' ); ?>
    
    		<?php else : ?>
    
    			<?php get_template_part( 'no-results', 'index' ); ?>
    
    		<?php endif; ?>
    
    	</main><!-- #main -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been damaged by the forum’s parser.]

    https://www.ads-software.com/plugins/wp-tiles/

Viewing 1 replies (of 1 total)
  • try to add tiles loop below <?php if ( have_posts() ) : ?> , like this:

    <?php if ( have_posts() ) : ?>
    <?php if ( function_exists ( 'the_loop_wp_tiles' ) ) the_loop_wp_tiles( ); ?>
Viewing 1 replies (of 1 total)
  • The topic ‘add wp tiles in index.php’ is closed to new replies.