Support » Plugin: Media Library Assistant » Create a gallery depending on the page URL

  • Resolved ernstwg

    (@ernstwg)


    Is there a way to create a gallery depending on the URL the user is executing. Some parameters in the URL which could be used by MLA shortcodes? Cheers

Viewing 1 replies (of 1 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for the question.

    As illustrated in your recent Logical operators topic, MLA provides the request: data substitution prefix to give you access to any variable in the _REQUEST array populated from the URL the user is executing.

    Of course, any link in the content of the page, such as a gallery pagination control or a search form, must include any parameter values you want to pass along to the next post/page. You can find an example of this technique in the “Search Form and Gallery” entry within the “MLA Gallery Examples” section of the Settings/Media library Assistant Documentation tab.

    I am marking this topic resolved, but please update it if you have any problems or further questions regarding the above suggestions.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.