Viewing 15 replies - 16 through 30 (of 51 total)
  • Plugin Author Josh Leuze

    (@jleuze)

    Glad that helped, something must not be running on an early enough hook if you are getting that error.

    I’ve tried following the steps in your blog to add the title with a background PNG, and while the title works, I can’t for the life of me get the PNG image to work.

    I’ve named it the same ‘title-bg.png’ – added it to the meteor-slides/images folder.

    But alas, nothing is showing up. ??

    Plugin Author Josh Leuze

    (@jleuze)

    Mike, make sure you are using a custom stylesheet in your theme, and adding the title-bg.png file to your theme’s images folder.

    Hi Josh. I followed this thread and put the above mentioned code into functions.php as well as meteor-slideshow.php to display it, but nothing seems to happen. Chiefly I can’t find any extra field in the slide editor to add a description to be displayed. Any thoughts? I’m using weaver. Cheers, p/

    Plugin Author Josh Leuze

    (@jleuze)

    I tested this with Weaver and it seems to work OK, make sure that you have this added to your functions.php file, at the end:

    // Add excerpts to Meteor Slides
    
    add_post_type_support('slide', 'excerpt');

    I must be missing something. Should the excerpt field be displayed in the slide editor then? That’s what I assumed but there’s nothing extra there when I add or edit a slide. Thanks for the swift reply.

    Plugin Author Josh Leuze

    (@jleuze)

    Yes, the excerpt metabox should show up on the slide editor page right below the slide link metabox. I can take a look at it if you want to send me the login info.

    Plugin Author Josh Leuze

    (@jleuze)

    I had tested this in Weaver, not Weaver II. When I tested it in Weaver II in my dev setup the excerpts didn’t show up for me either.

    Not sure why it’s not working in Weaver II, so I created a plugin with this code instead. I installed that on your site and the excerpts are showing up fine now.

    Here is the code for anyone else who might need it, I had to open up the screen options and enable the excerpts after activating the plugin:

    <?php /*
    	Plugin Name: Meteor Excerpts
    	Description: Adds excerpts to Meteor Slides.
    	Author: Josh Leuze
    	Author URI: https://www.jleuze.com/
    	Version: 1.0 */
    add_action( 'init', 'meteorslides_add_excerpt' );
    function meteorslides_add_excerpt() {
    	add_post_type_support( 'slide', 'excerpt' );
    } ?>

    Thanks Josh, that’s great. Cheers for the support.

    Plugin Author Josh Leuze

    (@jleuze)

    You’re welcome!

    Is there a way to make the width of the slideshow change based on the image width. I am trying to do an overlay of the info but have it stay on top of the slide. My problem is some images are horizontal and some are vertical so the widths are all different.

    Thanks.

    Plugin Author Josh Leuze

    (@jleuze)

    That might be tricky. Try wrapping an inline object around the image like a span and put the other content inside that span.

    ok I will see if that works. Thanks

    ok another question I have the caption box where I want it. But I want to add 3 elements to the box.

    1. title
    2. shot for (client name)
    3. a link to click on.

    I need to style each differently. It doesn’t appear to allow excerpts to have html code since everything disappears.I’m not very good with PHP so any help would be great.

    Plugin Author Josh Leuze

    (@jleuze)

    You can add HTML to excerpts, check your theme’s functions.php file for filters that might be filtering the_excerpt.

    Otherwise, you could use the slide post title as the title and add the client name using an excerpt. You could add “shot for” to the template and using the slide link, unless you need two or more links. Something like this:

    <div class="meteor-caption">
    
    	<h4><?php the_title();?></h4>
    
    	<p>Shot for <a href="<?php echo get_post_meta( $post->ID, "slide_url_value", $single = true ); ?>"><?php the_excerpt();?></a></p>
    
    </div>
Viewing 15 replies - 16 through 30 (of 51 total)
  • The topic ‘[Plugin: Meteor Slides] possible to have text as well?’ is closed to new replies.