0
votes
0answers
87 views

URL parameters causing 404 on home page, but nowhere else

I am writing a plugin that utilizes URL parameters. For some reason, adding one of these parameters to the home page of my website causes a 404 (http://bleaney.ca/?source=asdf). Adding the parameter ...
5
votes
3answers
1k views

Filter any HTTP request URI?

I want to filter any HTTP request URI done through the HTTP API. Use cases: The WordPress update check goes to http://api.wordpress.org/core/version-check/1.6/, but ...
1
vote
1answer
58 views

How to allow — in category name

How allowed "--", "---" or any other symbol in terms(category) URL. Now WordPress replace from "--" to "-" ps.I`m using to Subdomain plugin. And IDN subdomain Example: xn--...site.com/ There xn-- is ...
3
votes
1answer
404 views

Preview Image Path in Admin Section

So I have run into a little glitch. i have a custom path for uploads and it works. the files get saved to the right place, etc. The problem I have is the 'widget box' in the admin section. immediately ...
0
votes
1answer
170 views

Image not showing up in media loader success area - followup

This is part two to this question: Post Specific Uploader I am using an upload filter to put files in a location based on post_id. Now when the file uploads, the URL path in the meta is wrong and the ...
2
votes
1answer
218 views

locate_template with multiple categories?

in this example (from Wrox book), if a single-category-$slug.php file exists, it will be shown, otherwise it's the single.php file. But if we have more than one category for each post (let's consider ...
0
votes
1answer
114 views

Are href attributes of a elements filtered on output to add the current path?

I have some code that basically looks like this (it's more complicated, but even this example shows what I'm running into): echo '<a href="#">TEST</a>'; However, what gets sent to the ...
0
votes
2answers
531 views

Change custom post type GUID in RSS

So i got the RSS feed which output some custom post types, but the GUID looks bad to me, it's like: ?post_type=mycustompost&p=124 The reason i want to change this is that I don't need people to ...
2
votes
1answer
2k views

Hijacking the URL for filtering

Right, here's the deal. I've got a loop of which displays news posts, these posts can belong to special categories (not normal categories) and I want to be able to filter by them. If I wasn't too ...
0
votes
3answers
2k views

get variable from url?

say i've got a url http://bfami.modernactivity.co.uk/category/museum/orderby/date/order/desc/ that works with; add_rewrite_rule( ...
1
vote
2answers
587 views

How to detect filter in URL in Category page?

I need to add an additional filter based on a category for posts that have a custom post_type. For example, I have a page located at /category/tasks that lists all tasks. I need to make it so I can ...
3
votes
1answer
1k views

Is it possible to use a forgot password url filter?

i recently found that a login url filter is available but i can't find a solution for the forgot password as well, for the login url i use this: function custom_login_url($login_url) { return ...