Tagged Questions
-1
votes
0answers
14 views
Adding custom filters like size , color to url in wordpress
our website address is similar to this http://example.com/wp1/ on click of filters like size:32 and color:green , my url should look like http://example.com/wp1/products/tv/32. Please suggest code ...
5
votes
3answers
436 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
47 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
281 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
104 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
156 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
98 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
347 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
869 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
1k 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
506 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 ...
2
votes
1answer
630 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 ...