Variables are not read/passed on

  • Unknown's avatar

    Hi

    I have a WordPress page with a link “domain/origin?location=amsterdam” .

    My goal is that the other WordPress page “origin” passes the variable to my included page (non WordPress page).

    I have placed in the WordPress page “origin” this command in the code section
    [show_file file=”domain/originfilter.php”]

    If I now click on the link above, the content of “herkunftfilter” is not filtered.
    If I call the file as link itself, the filtering “domain/herkunftfilter.php?ort=amsterdam” works.

    What have I done wrong

  • Hi there,

    Your site is not hosted on WordPress.com, but using the open source WordPress.org software at another hosting provider. We’re only able to help with sites hosted on our servers at WordPress.com.

    Please ask the WordPress.org community for advice instead. They provide support for the version of WordPress you’re using:

    https://wordpress.org/support/forums

  • The topic ‘Variables are not read/passed on’ is closed to new replies.