WordPress.org

Ready to get started?Download WordPress

Forums

Meteor Slides
[resolved] Descriptive text below each slide (22 posts)

  1. bdsr
    Member
    Posted 1 year ago #

    Is it possible to change the settings for individual slides so that descriptive text of several lines can be inserted under each slide?

    A non technical person will be maintaining the site and adding new material once it has been created so I am looking for something that can easily be edited and added to.

    Thanks

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

  2. Josh Leuze
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, yes you can add captions using a custom slideshow template. Once it is setup it would be very easy for the end user to manage the captions.

    The example shows you how to use the slide title as a caption, this is ideal for a short one sentence caption, if you want a longer caption I'd suggest adding slideshow excerpts.

  3. bdsr
    Member
    Posted 1 year ago #

    Thanks Josh,

    You advise in the "slideshow excerpts" link to add a line to the theme's functions.php file in order to pull in metadata from the slide image. However, as I understand it, if I do that it will be overwritten next time the theme is upgraded.

    If I am correct is there some way of doing the same thing without creating this problem?

    Thanks again.

  4. bdsr
    Member
    Posted 1 year ago #

    Josh,

    Sorry but I have found another problem. Perhaps I put the meteor-slideshow.php into the wrong place but I don't think so. I added it to
    site-name/themes/weaver-ii. Is that correct?

    What happened was that the title of the web page and the sidebar both disappeared. When I removed that file from that directory it returned.

    Your help with this and the previous question is much appreciated.

  5. bdsr
    Member
    Posted 1 year ago #

    Josh,

    Sorry for the confusion. The problem I mentioned in my previous email seems to have been resolved. However it has raised another question in my mind - next time you update the plugin the meteor-slideshow.php file will not be updated and that could, I imagine, cause problems down the track. So is there any other way of inserting more than one line under the image in a slide?

    Also I still have the concern about amending my theme's functions.php file.

    Thanks for your help.

  6. Josh Leuze
    Member
    Plugin Author

    Posted 1 year ago #

    The slideshow excerpts won't pull metadata from the slides images, it adds an excerpt option to the slide posts which you can use to add longer captions. You would add this to your theme's functions.php file if you are using a custom theme, or a child theme so that the changes aren't lost.

    But in your case, you can use the Meteor Excerpts plugin instead.

    You're correct that when Meteor Slides is updated it will continue to use the slideshow template in your theme that hasn't been updated. Typically this isn't much of a problem, the plugin is pretty stable at this point and any changes in the slideshow output would just be bug fixes to improve theme compatibility. Since it's already compatible with your theme you don't have to worry about that, but if something does come up you can always update the slideshow template in your theme and re-apply your changes.

  7. bdsr
    Member
    Posted 1 year ago #

    Thank you Josh,

    Sorry but I have no idea how to use the meteor excerpts plugin you have referred me to. Could you please advise how to install it?

  8. Josh Leuze
    Member
    Plugin Author

    Posted 1 year ago #

    There is a button on there to download the Gist, but it is a .gz file, which might be difficult for you to unpack.

    Here's the raw PHP code: https://gist.github.com/JLeuze/2725756/raw/b41d97583fa8a1bbe68676d801a6a465535434b2/meteor-excerpts.php

    Take your favorite text editor and create a new file called meteor-excerpts.php, paste in that raw PHP code, and save it in the plugins directory of your site. You should then be able to activate that like any other plugin.

  9. bdsr
    Member
    Posted 1 year ago #

    Thanks Josh,

    I have done that - I presume I now have to add some php to the meteor-slideshow.php in order to call something from meteor-excerpts.php ? If so what and where?

    Thank you so much for your patience!

  10. Josh Leuze
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, do it just like in the captions example, but instead of the paragraph tags and the title, use this instead:

    <?php the_excerpt();?>
  11. bdsr
    Member
    Posted 1 year ago #

    That isn't working for me so I wonder if I am not putting the caption info in the right place?

    Is the caption information pulled in from the caption and description in the media attachment for each image?

    Thanks

  12. Josh Leuze
    Member
    Plugin Author

    Posted 1 year ago #

    No, this is a new separate piece of content. It adds an except field to the slide posts, you add your caption in there and then it will load in the slides if you have added the excerpt to the template, You'd also need to style it to overlay on top of the slide image.

  13. bdsr
    Member
    Posted 1 year ago #

    Here is a link to the page I am trying to put a caption on. http://www.oldmapsandprints.com.au As you can see there is no caption and when I look at the code in firebug I can't find it there.

    Are you able to ascertain whether I have the code correct from this link?

    Many thanks once again.

  14. Josh Leuze
    Member
    Plugin Author

    Posted 1 year ago #

    I don't see the excerpts in there either, if you want to send me a login, I can check out how you have it setup.

  15. bdsr
    Member
    Posted 1 year ago #

    Thank you. I looked again and found that <?php the_excerpt();?> had disappeared. I have put it back in and now have an excerpt apprearig (albeit in the wrong place at the moment) but now I have a more-link under the image. Is there anyway of removing that? I noticed you said in response to a similar question from somebody else to look in the functions.php file but I didn't understand that answer, given that the functions.php file hasn't been changed.

  16. bdsr
    Member
    Posted 1 year ago #

    When I say a more-link what I am referring to is "continue reading".
    Thank you

  17. bdsr
    Member
    Posted 1 year ago #

    Hi Josh,

    I have blanked out the more link successfully but now can't work out how to move the caption so that it can be seen. I have tried adding css to p.meteor-clip but that isn't moving the caption.

    Is there another class or id I should be using or some other way of moving it to where I want?

    I think by then I should have it the way I need.

    Thanks so much

  18. Josh Leuze
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, I don't see Meteor Slides on your site, did you go with something else instead?

  19. bdsr
    Member
    Posted 1 year ago #

    Hi Josh,

    Yes the person I am doing the site for decided against a slider. However I would still appreciate your advice as to which class or id I should have been modifying to get the caption into position. I expect I will use it in other sites now that I have worked out how to use it to this point so will still need that information down the track.

    Thank you

  20. Josh Leuze
    Member
    Plugin Author

    Posted 1 year ago #

    It depends on the markup you are using, like in the slideshow captions there is a basic paragraph tag around the title which is being used for the caption, and that is what is being styled.

    With an excerpt for the captions, there could be more than one paragraph, so you wouldn't want to style the paragraph like the example. Instead add your own markup for a container like this:

    <div class="meteor-caption><?php the_excerpt(); ?></div>

    And then style container like this:

    .meteor-slides p {
        background: rgba(0,0,0,0.1);
        bottom: 0;
        left: 0;
        color: #000;
        margin: 0;
        padding: 2%;
        position: absolute;
        text-align: center;
        width: 96%;
    }
  21. bdsr
    Member
    Posted 1 year ago #

    Ah I see. Thanks so much.

    You have been SO helpful. I look forward to using this plugin in the near future.

    Brenda

  22. Josh Leuze
    Member
    Plugin Author

    Posted 1 year ago #

    You're welcome!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.