[resolved] PHP code in URLs (3 posts)

  1. hydrurga
    Posted 3 years 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.


  2. Stefan Boonstra
    Plugin Author

    Posted 3 years 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
    Posted 3 years 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

  • Slideshow
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.