WordPress.org

Ready to get started?Download WordPress

Forums

Meteor Slides
[resolved] Exactly where should code be placed (6 posts)

  1. largeblackcoffee
    Member
    Posted 1 year ago #

    This code works some places within the theme documents, but not others.

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

    I can get it to work in the header, but not the footer. No error message with the footer, just no slideshow. Shortcode works well. So does the widget. Does this need to be between something in particular?

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

  2. Josh Leuze
    Member
    Plugin Author

    Posted 1 year ago #

    That's strange, the template tag should work anywhere. Maybe the slideshow is there, but hidden by some kind of theme conflict? What theme are you using? I'd try adding it to the footer again and checking the source code to see if the slideshow shows up there.

  3. largeblackcoffee
    Member
    Posted 1 year ago #

    JLeuze, thank you very much for your response. The theme I'm using is Graphene. However I think I found the issue. The slides are actually showing, but they are on the far left side under the content, even though I am calling it from the right sidebar. A simple CSS call to this set of slides should take care of the issue. Thanks again.

  4. Josh Leuze
    Member
    Plugin Author

    Posted 1 year ago #

    Ah, that sounds like the slideshow is floating because of some other element before it that is floated. try clearing the floats like this:

    div.meteor-slides {
    clear: both;
    }
  5. largeblackcoffee
    Member
    Posted 1 year ago #

    Awesome. Thanks JLeuze!

  6. Josh Leuze
    Member
    Plugin Author

    Posted 1 year ago #

    No problem!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.