WordPress.org

Support

Support » Themes and Templates » Graphene Theme – Adding Meteor slides with page title

Graphene Theme – Adding Meteor slides with page title

  • Hi, is there any way to add my slider onto the top page without the page titles etc?

    I’m working on a site here:

    http://allgonep.fu8.com/

    I have added the slider in but it has been placed under a post.

    could i put it on the page without the need for posting titles etc?

    any help greatly appreciated.

Viewing 13 replies - 1 through 13 (of 13 total)
  • esmi

    @esmi

    Forum Moderator

    Try adding the slider to the relevant template file in your theme.

    I only want it to appear on my front page, which is a custom one which collects all news articles.

    If edited the template file wouldn’t it appear on every page?

    esmi

    @esmi

    Forum Moderator

    You need to determine which template file is being used for your site’s front page. It should be index.php.

    I thought the index page in WP was just a generic file to load the header etc?

    esmi

    @esmi

    Forum Moderator

    I meant the index.php file in your theme.

    I will search when I get home.
    Because my front page is a custom page it is not likely to be index I don’t think, as I am not using the front page that the theme came with.

    Confusing :/

    esmi

    @esmi

    Forum Moderator

    Does your site use a static front page? If so, it will be using page.php or whatever custom template you applied to the home page. If not, it should be using index.php.

    Hi,

    No it is a page that pulls in all the news articles from every category.

    I set it up from the custom menus feature.

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

    Thats what my index.php file looks like within the graphene theme.

    I copied the code to run the slideshow but it didnt do anything.

    I dont think this file is looking at the the front page?

    esmi

    @esmi

    Forum Moderator

    Try looking in loop.php or loop-index.php

    Thanks for you replies thuis far, keeping me sane!

    I only have loop.php and loop-author.php in the teomplate directory.

    I dont think its author after looking.

    Loop.php looks like this:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    I put it in the slider html code at the very top of this file and it put the slider on every page, not what I need but it is certainly closer to what I need for the homepage.

    Hi, I have the same problem. I am also using the Graphene theme and the slideshow is showing on every page (I only need it on the frontpage)…Did you already find a solution?

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Graphene Theme – Adding Meteor slides with page title’ is closed to new replies.