Support » Plugin: Meteor Slides » adding text to meteor slideshow

  • Hi,

    I have followed one of the support issues related to adding text.
    1. meteor-slideshow.php from /meteor-slides/includes/ to your theme’s directory
    2.copied <p><?php the_title(); ?></p> above </div><!– .mslide –>
    3. add .meteor-slides p {
    background: rgba(0,0,0,0.2);
    bottom: 0;
    color: #000;
    left: 0;
    line-height: 20px;
    margin: 0;
    padding: 2%;
    position: absolute;
    text-align: center;
    width: 96%;
    to my CSS

    the results is as expected all the titles of the slides are showing at the bottom of each slide.

    the thing is I wanted to add a lot of text not only titles
    so i continued with the following:

    1.added // Add excerpts to Meteor Slides add_post_type_support(‘slide’, ‘excerpt’); to my functions.php
    2. added <?php // Get the slide post’s excerpt the_excerpt();?> to my custom slideshow template.

    once done I should have a new textbox below the link box but I have nothing!

    PS: I’m using responsive theme id with child theme

    also saw you have recomended to someone to add this:
    ?php /*
    Plugin Name: Meteor Excerpts
    Description: Adds excerpts to Meteor Slides.
    Author: Josh Leuze
    Author URI:
    Version: 1.0 */
    add_action( ‘init’, ‘meteorslides_add_excerpt’ );
    function meteorslides_add_excerpt() {
    add_post_type_support( ‘slide’, ‘excerpt’ );
    } ?>

    but I dont know where should I add this and how. is this a pluging? how do I set the file to have php extention?

Viewing 1 replies (of 1 total)
  • Plugin Author Josh Leuze


    Hi, yes that is a plugin for Meteor Slides, you can download the php file for Meteor Excerpts on GitHub.

    It shouldn’t matter whether you do it on the theme or via a plugin, but try the plugin, in some rare cases it works better.

    Otherwise if your are still having problems, here is a really great tutorial on using Meteor Slides with Advanced Custom Fields to create a slideshow with a title and description just like you need.

Viewing 1 replies (of 1 total)
  • The topic ‘adding text to meteor slideshow’ is closed to new replies.