WordPress.org

Ready to get started?Download WordPress

Forums

Slideshow
[resolved] PHP code in URLs (3 posts)

  1. hydrurga
    Member
    Posted 1 year ago #

    I have a multi-language site using the Slideshow plugin and would like the URL link on each slide to point to a different page depending on the language (which is passed to each page containing the slideshow in a URL parameter). Is there any method that I can use to include my php code, or Shortcode Exec PHP shortcodes, in the slide URLs on the Slideshow edit page to achieve this? I could edit the plugin directly to manipulate the retrieved URLs but I would rather avoid this if at all possible.

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

  2. Stefan Boonstra
    Member
    Plugin Author

    Posted 1 year ago #

    No, I'm sorry neither PHP nor shortcodes can be used in the slides. Instead you could create a slideshow for each language and use a language plugin to show a certain slideshow for a certain language.

    If it's not worth the trouble to create a slideshow for each language, you could also set a URL that links to a page that redirects the visitor based on their language. I think this may be the easiest option.

  3. hydrurga
    Member
    Posted 1 year ago #

    Thanks Stefan. In the end I opted to create multiple slideshows as that was the easiest option given my set-up. Marked as resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.