WordPress.org

Ready to get started?Download WordPress

Forums

SuperSlider-Show
[resolved] How to allow line breaks in image caption or description (6 posts)

  1. PaulProv
    Member
    Posted 1 year ago #

    Hi,

    First of all, your plugin is great. I only have one problem with the site of my client. We put image/media details for each post attachment to the Title field and some have
    in them in the middle of the details but they dont work. They
    tags appear on the text when you view the source but they dont work as expected, to create a line break.
    So I copied the details of some images to the Caption fields and set the "Text to use in the caption link." to "image caption". The caption shows up the same as the previous setting but the line breaks still dont work.
    Can you help with this problem? I am willing to edit the plugin manually if you can tell me what function or code to edit.

    Thanks

    http://wordpress.org/extend/plugins/superslider-show/

  2. Daiv Mowbray
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,
    I understand the desire to control text layout, but putting html code into your image titles, description, caption is not a good idea.

    Are your line breaks being stripped from the image caption ?
    or are they failing to be recognized?

    the superslider-Show plugin isn't stripping the content of image captions or descriptions or titles, the functions used to call that data is WordPress native, so editing the plugin file isn't the first answer.

    If you could post a test show as an example with info re: what should appear and what your short code is I may be able to find the solution.

    I've just created a test myself, the image description was set with a break in the text and that break has been respected and rendered.
    This tells me that you may be doing something wrong, check that you have used a valid break tag, ie:
    <br />

    HTH.

  3. PaulProv
    Member
    Posted 1 year ago #

    Hi Daiv,

    Thank you for your response. Here is the page: http://www.ruthihelbitz.com/?cat=22

    If you'll check the div with the class "slideshow-captions", the <a> element there contains a tag, but as you can see, it doesnt render the on the actual page. The line breaks arent stripped, just not recognized.

    In the title field of attachment editor I just put the tag as is. The posts are using the [gallery] shortcode with no other params.

  4. Daiv Mowbray
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,
    could you please set the controler to on in your admin/ss-show/settings page, to assist with trouble shooting this.

  5. PaulProv
    Member
    Posted 1 year ago #

    Hi Daiv,

    I just realized that I failed to check the css because I was not able to stop the slideshow animation. I just saw in the css that the previous developer disabled the line break style. He set it to display:none. lol

    I was surprised when I saw that.

    Thanks a lot for the response. Much appreciated.

  6. Daiv Mowbray
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Paulprov,
    Thats great!
    Yes it is impossible to trouble shoot the css of a slideshow if the show is running. I always leave the controller active or set "pause on mouseover" to aid with this and to provide the user with a way to pause on the active image.

    Glad its all working for you now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic