• Resolved Tante A

    (@tante-a)


    Hi there,

    I want to add a plugin between the slider and the content, by changing the hierarchy of the homepage template.

    Which template .php do i have to use?

    I tried index.php & page.php; nothing changed.

    Thanks in advance,
    Auntie A

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author marsian

    (@marsian)

    you can include it at the bottom of header.php

    Thread Starter Tante A

    (@tante-a)

    Oke, before or after:

    <?php endif; ?>
    <div id="main" class="site-main">

    Theme Author marsian

    (@marsian)

    before the following lines makes it full width

    <div id="main" class="site-main">

    after the above lines will make it boxed

    Thread Starter Tante A

    (@tante-a)

    Thanks, it works!

    Used it like this:

    <?php endif; ?>
    
    	<?php
    		if ( wp_is_mobile() ) {
    			display:none;
    		}
    		else {
    			echo do_shortcode("[shortcode]");
    		}
    	?>
    <div id="main" class="site-main">
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘change hierarchy template homepage’ is closed to new replies.