Support » Plugin: Slideshow » PHP code in URLs

  • Resolved hydrurga


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Stefan Boonstra


    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.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP code in URLs’ is closed to new replies.