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 CSSthe 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: http://www.jleuze.com/
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?
The topic ‘adding text to meteor slideshow’ is closed to new replies.