WordPress.org

Ready to get started?Download WordPress

Forums

Slideshow
[resolved] Switch position of title and description on text slides (4 posts)

  1. pinatasaur
    Member
    Posted 1 year ago #

    Hello!

    I was wondering if there was a way to switch the position of the title and description for text slides -- to put the title on the bottom, and the description on the top.

    I'm using it to display reviews, and I'd like to be able to put the reviewer's name in the title field and the review in the description field (since the description box is so much bigger in the editor and it would be easier to see the bulk of the review). But the design calls for the reviewers' names to be under the review.

    I know I can edit my CSS to make it look like I want it to, but I was thinking in terms of making it easier for the people I'm making this for to edit it later.

    Thank you! I appreciate the work you do on this plugin; it became my go-to slideshow plugin as soon as I found it. :)

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

  2. Stefan Boonstra
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    At the moment there's no easy way of switching the tilte and description's positions. If you don't mind to go into a little bit of code to switch to lines, you could follow the instructions below.

    When in your server's WordPress root directory, follow this path: 'wp-content/plugins/slideshow-jquery-image-gallery/views/SlideshowPlugin'. Once you get to this folder you should be able to see a file called 'slideshow.php'. Open this file with either Notepad or any code editor of your choice and look for line 30 and 31 (in version 2.1.21). Simply switching these lines should do the trick, since line 30 outputs the title, and line 31 outputs the description.

    Be careful when updating the slideshow plugin, the changes made to any file in the slideshow plugin folder will be reset.

    Version 2.2.0 will come with either HTML specific slides or customizable templates so you won't have to code into the code anymore. Version 2.2.0 is still far from ready for release, though.

    I'm glad to hear you like the plugin!

    Best regards,
    Stefan

  3. pinatasaur
    Member
    Posted 1 year ago #

    Works perfectly! Thank you very much. :)

  4. lilqhgal
    Member
    Posted 1 year ago #

    Just an alternative, CSS could be used with positioning to each one to move them around.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags