Forums

Meteor Slides
The slideshow won't show on my homepage. (38 posts)

  1. malinbubble
    Member
    Posted 8 months ago #

    I did everything I was supposed to do, made a slideshow with two pictures and published it, but it doesn't show up on my homepage. I thought it might have something to do with my theme, but I can't seam to figure it out on my own.. What should I do?

    http://wordpress.org/extend/plugins/meteor-slides/

  2. malinbubble
    Member
    Posted 8 months ago #

    My site is http://malinbubble.com btw :)

  3. JLeuze
    Member
    Posted 8 months ago #

    Hi, how are you adding the slideshow to your site: widget, shortcode, or template tag? First thing I would do is try one of the other options to see if only one method is not working.

  4. malinbubble
    Member
    Posted 8 months ago #

    First I tried to add the code <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?> to my theme, but it didn't work. So, I tried adding it as a widget. That worked, but I don't want the slides to show up in my sidebar. I'm not quite sure where to put the code in my theme though...

  5. JLeuze
    Member
    Posted 8 months ago #

    That's good, if it works in the sidebar, you know that the slideshow is functioning anyways.

    Where you place the template tag depends on your theme and where you want it to go.

  6. malinbubble
    Member
    Posted 8 months ago #

    I would like to have it right under the header... I've tried to put the template tag in different places, but still doesn't show up. Do you have any suggestions to where I can put it?

  7. JLeuze
    Member
    Posted 8 months ago #

    You will need to edit the theme's header.php file.

    Do you want it below the whole header, like below the top bav? Or do you want it where the "The news and e-zine theme" or "banner ad" spots are in the demo?

  8. malinbubble
    Member
    Posted 8 months ago #

    Aha, ok. I would like to have it where the "The news and e-zine theme" is in the demo.

  9. JLeuze
    Member
    Posted 8 months ago #

    OK, find this line in the header.php file:

    <p><?php bloginfo('description'); ?></p>

    and replace it with the slideshow template tag:

    <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?>

    You might need to edit the CSS to get it to layout just right.

  10. Raadius
    Member
    Posted 8 months ago #

    Hey JLeuze, I emailed you this past weekend about the plugin, I now have a .org site.

    My question, I follow your instruction as you typed here, still cant get the slide show to show up. I too what it on my homepage (header).

    EDIT: My site is thekillermeteor.com

  11. malinbubble
    Member
    Posted 8 months ago #

    I can't really get it to work either. I don't want the slideshow in my header though, I would like to have it under. Between the header and the posts. I replaced the template tag with the slideshow code in my theme, but that didn't work either..

  12. JLeuze
    Member
    Posted 8 months ago #

    @malinbubble If you want it below the topnav, put the template tag on the last line of header.php, right below the "main" container like this:

    <div id="wrap">
    
    	<div id="main">
    
    		<?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?>
  13. JLeuze
    Member
    Posted 8 months ago #

    @Raadius First thing I would do is try adding a slideshow using the shortcode or widget to confirm that it is working.

    Then you can try adding it to your header using the template tag. You will want to create a child theme rather than editing TwentyEleven directly so you don't lose your changes when updating the theme.

    For adding the template tag to the header, check out this Meteor Slides video. It is a bit outdated and covers TwentyTen, but should be relevant to TwentyEleven.

  14. Raadius
    Member
    Posted 8 months ago #

    How do I create a child theme for twenty eleven?

    I follow your video, and if you look at my page, it's not fitting into the header. I did make the images small for the slides 500 x 264, but how can I center it and get rid of that creepy white space above and below the slider?

    EDIT: I got it to center (html tags), but why is it cutting off my image top?

  15. JLeuze
    Member
    Posted 8 months ago #

    Here is the documentation on creating a child theme. It is very simple, you just need to copy 2011's header.php file into the child theme to override the default copy.

    Don't use the center tag, it is old and not supported in all browsers. Instead add this rule to your child theme's stylesheet:

    #meteor-slideshow {
        margin: 0 auto;
    }

    Your slide images are cropped at 200px, did you upload them before setting the height of the slideshow? Try re-uploading the slide images.

  16. Raadius
    Member
    Posted 8 months ago #

    I already edited the CSS of the header and now I cant get back to original information.

  17. JLeuze
    Member
    Posted 8 months ago #

    Something must be wrong with the child theme, try switching back to the parent.

  18. ilenerosenblum
    Member
    Posted 7 months ago #

    I'm also trying to get the meteor slideshow to appear in a slideshow on my homepage.

    I'm wondering, is there a way to get the slideshow to appear in the header space of the Twenty Eleven theme on the homepage only (all the other pages will have a static header image) ?

    Thanks!

  19. ilenerosenblum
    Member
    Posted 7 months ago #

    Oh, I found that you answered this earlier http://wordpress.org/support/topic/plugin-meteor-slides-add-slideshow-in-header-twenty-ten?replies=8#post-2127161

    I'm going to take a look. Could take me a while to follow all of it but I'll let you know if I have problems.

    Many, many thanks!

  20. ilenerosenblum
    Member
    Posted 7 months ago #

    I still can't get this to work. I tried a bunch of times but get errors.

  21. azoneweb
    Member
    Posted 7 months ago #

    I'm trying to put the meteor slides on my homepage as well. Using a child theme of theme hybrid (http://themehybrid.com/themes/hybrid).

    I tried widget, shortcode, template tag, hook from functions.php.
    its working other pages and posts, but doesn't work only on homepage.
    when I set "a static page" as a front page, it works. but using "Your latest posts" as a front page doesn't work. why????

    thanks,
    azoneweb

  22. JLeuze
    Member
    Posted 7 months ago #

    @azoneweb It looks like Hybrid is using the index.php template for the "blog" homepage, did you try adding the template tag to this file?

    Where exactly do you want to place the slideshow, can you post a link to the site you are working on?

  23. azoneweb
    Member
    Posted 7 months ago #

    I opened the index.php (original hybrid theme file), but it was empty like this

    <?php
    /**
     * Index Template
     *
     * This template should not be shown.  It is a placeholder.
     * Specific templates for each type of content are available.
     * @link http://themehybrid.com/themes/hybrid/template-hierarchy
     *
     * @package Hybrid
     * @subpackage Template
     */
    
    /* Simplicity is bliss. */
    ?>

    I found home.php at parent theme directory so copy and past to my child them, but didn't work. changed the name to front-page.php, didn't work as well.
    I wanted to send the site which I'm working, but its client site and can't show anybody before launch :-(

  24. JLeuze
    Member
    Posted 6 months ago #

    That's strange, I downloaded a copy of Hybrid and the index.php file had a lot more code than that. But if you are trying to add this to the blog homepage, than the home.php file should be the correct place to add this. I don't see a home.php file the copy of Hybrid I downloaded.

    Where exactly do you want the slideshow? Depending on where it needs to go you might be able to edit a different file like the the header.php, or since this is a theme framework you probably want to add the slideshow using a hook.

  25. azoneweb
    Member
    Posted 6 months ago #

    actually I was using old version Hybrid theme so the index.php code was different. anyways I upgraded Hybrid so now my index.php has much longer code.
    I want to show the slideshow at header part on the frontpage (hybrid hook name is "hybrid_after_header").
    I add this code in my function.php

    add_filter ('hybrid_after_header' , 'void_content_gallery');
    
    function void_content_gallery(){
    if ( function_exists( 'meteor_slideshow' ) && is_front_page() ) {
    	meteor_slideshow();
    	echo "<p>this is hybrid_after_header test</p>";
    }
    }

    the echo part is working. after I updated Hybrid, archive pages got the same probrem. (it was working before update)

  26. azoneweb
    Member
    Posted 6 months ago #

    sorry I put wrong code

    add_filter ('hybrid_after_header' , 'void_content_gallery');
    
    function void_content_gallery(){
    if ( function_exists( 'meteor_slideshow' ) ) {
    	meteor_slideshow();
    	echo "<p>this is hybrid_after_header test</p>";
    }
    }

    I'm testing this now.

  27. JLeuze
    Member
    Posted 6 months ago #

    So right now the echo is displaying, but the slideshow is not?

  28. brygiles
    Member
    Posted 6 months ago #

    Hello everyone,

    I seem to be having a slightly different problem with the slideshow.
    I added the short code in a page/post and also added the widget to my side bar, and the only things I see is the scrolling arrow of the slide and the dots indicating how many pictures are sliding; the rest is blank- all white even though the dot underneath the slide shows the pictures are sliding.. I can't see anything. What could be the problem here, please?

  29. JLeuze
    Member
    Posted 6 months ago #

    @brygiles Can you post a link to the page you are working on?

  30. Denniscreation
    Member
    Posted 3 months ago #

    Hello I'm using the big news theme every thing working fine but my slide show not working can some one help me thanks.

Reply »

You must log in to post.

About this Plugin

About this Topic