zola

Member

Forum Replies Created

  • In reply to: Home Page + Slider issue

    #12312

    My code on the index.php file :

    ‘<?php

    /**

    * 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: http://codex.wordpress.org/Template_Hierarchy

    *

    * @package WordPress

    * @subpackage Graphene

    * @since Graphene 1.0

    */

    get_header(); ?>

    <div>

    <div class=”nivoSlider” style=”height: 400px; width: 600px;”>

    ASIWYFA

    BUILDINGS

    Dudes</div>

    </div>

    <?php

    /* Run the loop to output the posts.

    * If you want to overload this in a child theme then include a file

    * called loop-index.php and that will be used instead.

    */

    get_template_part(‘loop’, ‘index’);

    ?>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>’

Viewing 1 post (of 1 total)