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

    (@jleuze)

    Hi, Meteor Slides doesn’t have captions or titles by default, but you can add text using a custom slideshow template.

    Thread Starter trixienolix

    (@trixienolix)

    thanks for your quick response – i will give it a go

    Plugin Author Josh Leuze

    (@jleuze)

    No problem, let me know if you have any questions.

    Thread Starter trixienolix

    (@trixienolix)

    hi i’ve only just had a chance to look at your plugin and customising it.

    Adding a title (as in your example) is easy enough but if i want to add paragraphs of text with the slide i.e. a caption, how would I go about it? Is it a case of adding another field to your custom post ype for Slides (is this in meteor-slideshow.php?) and then telling the slideshow to use the_excerpt.. or soemthing like that?

    Plugin Author Josh Leuze

    (@jleuze)

    There are a few ways to do this. You can add metadata from the slide image to the slides, like the alt text and description. You can also add more fields to the custom post type and use that content

    I usually like to add fields right to the slide editor, this makes it easier to manage the content. To do this you just need to drop this into your theme’s functions.php file:

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

    And then drop this into your custom slideshow template, somewhere within the .mslide div:

    <?php // Get the slide post's excerpt
    
    	the_excerpt();?>
    Thread Starter trixienolix

    (@trixienolix)

    hey, that’s really helpful. Thank you! I’d added the excerpt to your meteor-slides-plugin.php code but knew that wasn’t very good due to upgrading the plugin.
    Adding it to my theme’s functions.php code is prefect.
    Thanks again

    Plugin Author Josh Leuze

    (@jleuze)

    No problem!

    @jleuze your plugin is solid and your support is amazing! This function was just what I was after!

    Plugin Author Josh Leuze

    (@jleuze)

    Thanks, glad to help!

    Wow Josh, that was amazingly simple. I had already added the titlew but wanted to add a 2nd text field. This worked perfectly. This plugin just got even better for me. I wonder why you don’t just implement the 2nd text field in the plugin natively, unless you want to keep it simple. I’m happy to create my own template as I did with your guidance. Thanks again!

    Plugin Author Josh Leuze

    (@jleuze)

    @inhouse Cool, thanks for the feedback! Yeah I designed it to be minimalist, that’s why the slideshow doesn’t have any text by default.

    But I’m always looking for ways to make it easier to customize the plugin without actually adding more options or anything. I’d like to make some skins that people can use to add captions or thumbnail navigation, or just as an easier starting point for custom templates.

    Sorry, I’ve tried it, but I don’t know where have to put the second part of the code:

    “<?php // Get the slide post’s excerpt

    the_excerpt();?>”
    I haven’t seen the “.mslide div” in the document meteor-slides-plugin.php
    and when I put the code in the page, all the code is inavilited.

    Could you help me? maybe you could upload the modified document to replace it. I would be very grateful.
    Pardon my ignorance, I’m new to programming in wordpress and do not understand English well at all.

    Finally, many thanks for the plugin, it really works very well.

    Plugin Author Josh Leuze

    (@jleuze)

    @mandagenberke Hi, you need to edit the sideshow template called meteor-slideshow.php, you will find this file in the includes folder. Make sure you use a custom slideshow template so that you don’t lose your changes when updating.

    Thank you very much! now it works! It still give me an error when I click “update” with the excerpt method, but I guess it was problem of my template:

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/38/d395034803/htdocs/wordpress/wp-content/themes/imbalance/functions.php:209) in /homepages/38/d395034803/htdocs/wordpress/wp-includes/pluggable.php on line 866

    I finally made it ​​using the title method.
    I modified the root of the background, I think it needs ../ because of the folder css

    .meteor-slides p {
    background: transparent url(‘../images/title-bg.png’) repeat-x;

    Thanks a lot for the suport!!

Viewing 15 replies - 1 through 15 (of 51 total)
  • The topic ‘[Plugin: Meteor Slides] possible to have text as well?’ is closed to new replies.