Tagged Questions
0
votes
0answers
50 views
Use $_GET with permalinks on page
I'm currently trying to use a $_GET to populate a MySQL query with in a URL on another page within a Wordpress site.
URL sample:
<a href="http://site.com/file.php?alabama">Alabama</a>
...
1
vote
3answers
549 views
How to make variables in URL look like the permalink structure?
I've been looking for the answer to this everywhere but with no success and that's why I'm asking here.
I don't even know if the question is the right one.
In any case, I'll try to explain.
I have ...
0
votes
1answer
563 views
Variables and custom permalinks using wp_rewrite [closed]
I want to get safe variables and clean urls using wp_rewrite.
Example:
/%category%/%postname%/?action=play
to
/%category%/%postname%/play/
Still can't find solution. Everytime get 404 error. ...
2
votes
2answers
2k views
Using $_GET variables in the URL?
I need to generate a simple error message on a page by passing a variable through the URL.
The URL is structured as follows:
http://site.com/parent-category/category/?error=pause
I'm sure it's the ...
0
votes
1answer
553 views
stop the_permalink printing and save as variable?
Is there a way i can get the_permalink as a variable? I need to build an info window with it but it wont appear in the $infoWindow variable...
<?
$link = the_permalink($post->ID); // prints ...
3
votes
2answers
562 views
Why does Wordpress Pagination Remove the Spaces from my GET Variable?
I'm passing a GET variable at the end of my URL's as my search parameter. When I do a regular search, everything works fine:
www.mysite.com/?find=my+search
However, when I click over to the second ...
1
vote
1answer
300 views
Append varible to url or set session
I just wrote a little plugin that detects if the user is on a mobile browser and if so detects them away from the WordPress site to a mobile (simple) version of part of the site.
As I got to ...