Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter EmuZone

    (@emuzone)

    Using query ?us.codecentral.org or ?uk.codecentral.org at the end of the url to use a sepicfied theme?

    Just to clarify, are you saying that you want to use the URL http://codecentral.org/?us.codecentral.org ?

    If so, I need to know, because my plugin was built assuming that all URL queries had their keyword(s) terminated by an equals sign (“=”). I’d have to do more research, but a quick look tells me that what you are doing may actually be within the rules of URL Queries.

    Thread Starter EmuZone

    (@emuzone)

    Yes so posts or pages using this ?download.codecentral.org query after the url example http://codecentral.org/downloads/?download.codecentral.org would use a specific theme.

    This may help you understand download.codecentral.org/downloads
    or this uk.codecentral.org/downloads.

    Thread Starter EmuZone

    (@emuzone)

    Yes removing the value (“=”) after a query and only use the query keyword.

    OK, now I get it. I’ll respond as soon as I have done some testing and research in the PHP code of the plugin.

    This should work with the current version (4.7.2) of the plugin is to use the “For A Query Keyword on any Page, Post or other non-Admin page” section, and fill in us.codecentral.org

    But it doesn’t! It works with “test” but the periods seem to be a problem.

    I’ll figure out why and respond soon right here, likely with a new version of the plugin to come quite quickly, with the problem solved.

    Stay tuned to this thread!

    This may take a while. The dot is changed to an underscore by the parse_str function in PHP, which I rely upon for interpreting Queries in URLs.

    Version 4.7.3 is now available, and it addresses this problem.

    You will need to use the “For A Query Keyword on any Page, Post or other non-Admin page” section to define your Keywords and associated Theme for each.

    Thread Starter EmuZone

    (@emuzone)

    I dont understand?

    Thread Starter EmuZone

    (@emuzone)

    Could this be added to a section in settings tab to work the same as ?keyword=value but without =value

    The section right above “For A Query Keyword=Value on any Page, Post or other non-Admin page” is called “For A Query Keyword on any Page, Post or other non-Admin page” and that is where you would type us.codecentral.org

    Thread Starter EmuZone

    (@emuzone)

    I used the one used for search query and left an empty =value if that is the one your refer to.

    No, you are in the wrong section of the Settings. Note how the section is titled “For A Query Keyword=Value on any Page, Post or other non-Admin page”.

    Please go to the section just above it, titled “For A Query Keyword on any Page, Post or other non-Admin page”. There you will find that you can enter a keyword without having a place for the value. That is where you should be entering “us.codecentral.org” and selecting the Theme.

    Thread Starter EmuZone

    (@emuzone)

    I used the section below (For A Query Keyword on any Page, Post or other non-Admin page).

    Because you are not specifying a Value, you must use the section titled “For A Query Keyword on any Page, Post or other non-Admin page”.

    It won’t work if you leave the Value field blank in “For A Query Keyword=Value on any Page, Post or other non-Admin page”.

Viewing 15 replies - 1 through 15 (of 21 total)

The topic ‘Specific Theme using ?keyword’ is closed to new replies.