WordPress.org

Ready to get started?Download WordPress

Forums

Slideshow Gallery
[resolved] Description Button (18 posts)

  1. Xiso
    Member
    Posted 1 year ago #

    Hi, thank you for the plugin it is really a great one. I would like to make a button that hides or shows the Description,when the visitor wants, because mine can be too long. Is there anyway you could help me with that? And when will be possible to have multiple slideshows in a page?
    Thank you for your time.

    http://wordpress.org/extend/plugins/slideshow-gallery/

  2. Phil Meyer
    Member
    Posted 1 year ago #

    Hi Xiso,

    The information/description can only be hidden by the admin with a setting under Slideshow > Configuration at this time.

    If you want such a button, you can write some custom code (or have it written) to hide the DIV with CSS accordingly using Javascript.

    I hope this helps,

    Phil

  3. Xiso
    Member
    Posted 1 year ago #

    Ty, ill try. Can you help me with one more thing? I use wp-postratings to rate some pages and I use the code [ratings id="POST ID"]. I would like to add it on the description, but when i try to do that, the rating stars don't appear, only the code. How can i fix that?
    Thank you again.

  4. Antonie Potgieter
    Member
    Plugin Author

    Posted 1 year ago #

    @Xiso,

    Thank you for your response.

    The Slideshow Gallery doesn't parse shortcodes in the description.

    You can apply this though by editing the slideshow-gallery/views/default/gallery.php and adding do_shortcode() around the description to parse shortcodes inside it accordingly :)

    Like this: http://screencast.com/t/qotgL2Ya

    Let me know if this helps please!

  5. Xiso
    Member
    Posted 1 year ago #

    I would try but unfortunatly i installed the new wordpress version and now the plugin doesn't work, can you help me?

  6. Xiso
    Member
    Posted 1 year ago #

    Ok its this new version of the plugin that doesnt work ill try that now Antonie Potgieter

  7. Xiso
    Member
    Posted 1 year ago #

    It didnt work, it made the slide disappear. Any ideas?

  8. Antonie Potgieter
    Member
    Plugin Author

    Posted 1 year ago #

    Are you sure that you applied do_shortcode() correctly?
    Please look at the screenshot and code again.

  9. Xiso
    Member
    Posted 1 year ago #

    Yes i did. When i use that way i can't see the description. I notice something while exploring the plugin:

    var $fields = array(
    'description' => "TEXT NOT NULL",
    )

    Does this mean that the description only accept Text and because of it i can't use the rating shortcode? Thank you again

  10. Antonie Potgieter
    Member
    Plugin Author

    Posted 1 year ago #

    How about doing do_shortcode(stripslashes(.....)); ?
    The quotes in the shortcode might be the problem.

  11. Xiso
    Member
    Posted 1 year ago #

    Yes i also though on that but it didnt work. I see it doesn't accept any kind of html or php just text. And that is probably the problem.

  12. Xiso
    Member
    Posted 1 year ago #

    Antonie, it was my mistake, i was cheking the code now and it wokrs, just like you said. The problem now is that it doesnt work like it was suppose to be working...

    Here have a look:
    http://animes-on.com/testessss/

    Thank you for your time

  13. Antonie Potgieter
    Member
    Plugin Author

    Posted 1 year ago #

    Great stuff Xiso.

    I see the ratings now :)
    Which part doesn't work like it's supposed to?

  14. Xiso
    Member
    Posted 1 year ago #

    The little stairs in the bottom are suppose to be images. And if you try to vote the stairs don't work properly any suggestions? I've put a rating down the slide to see how it should work. Thank you again

  15. Antonie Potgieter
    Member
    Plugin Author

    Posted 1 year ago #

    Yup I see now, it obviously replacing the images :(
    It should work but the description wasn't intended to parse shortcodes.
    We'll add this support soon.

  16. Xiso
    Member
    Posted 1 year ago #

    Thank you. :D And what about the description? I can see i cant turn off/on the description but there isn't something in the middle, like the button if possible. Is there anyway it would be added too? Thank you for your time. :D Great support i must say.

  17. Antonie Potgieter
    Member
    Plugin Author

    Posted 1 year ago #

    You can turn off the description under Slideshow > Configuration, the "Show Information Bar" setting.

    Which button is this?

  18. Xiso
    Member
    Posted 1 year ago #

    Like i saw in another slideshow, like a expand/collapse button for the description. Like This: http://demo.graphpaperpress.com/photo-galleria/

    Can you see the 'i' button in the up left corner? its for the description to expand or collapse. I was hopping for something like that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.