Any way to use a custom Parameter for youtube embed without using an iframe?

I do not want to display the titles of videos I embed on my wordpress site. The way I’ve been doing this is using the embed link, inserting the iframe in the wordpress post and adding the custom Parameter “showinfo=0” to the end of the url. This has worked well, until I decided to change … Read more

Wp Login redirect strips parameters from url

If i write http://domain.com/wp-login.php?redirect_to=http://domain.com/specificpage/?parameter1=dog&parameter2=dog&parameter3=cat in the url address bar (to make the login page redirect to a specific page with parameters) and login. I get redirected to the right page but only with first parameter (http://domain.com/specificpage/?parameter1=dog). the other two parameters are stripped from the url. How can i solve that? Btw – the parameters are … Read more

Can we access the REST request parameters from within the permission_callback to enforce a 401 by returning false?

From what I have tried and tested so far, the getters and setters do not work inside the function permission_callback. The alternate way would be to throw a custom 401 from the callback itself. Is it possible to use the permission_callback, check the parameter, and return false instead of writing a custom response in the … Read more

How do I know what variables are passed in a filter/action and what their meaning is?

Something I have seen several times now and I don’t understand is the following: In a theme’s functions.php a function is defined and then attached to a hook, like so (simplified example): function do_stuff($a, $b) { // Do stuff with $a and $b } add_filter( ‘bloginfo_url’, ‘do_stuff’, 10, 2 ); Basically I think I understand … Read more

Determine WP_Query parameters from URL

I’m wondering if it’s possible to determine WP_Query parameters by only using the given page URL. The reason I’m trying to do this because I’m developing a SPA theme (and ultimately a JSON response) and would need to be able to determine a query without reloading the page. Thought it’s pretty hacky, I’ve been successful … Read more

Any way to use a custom Parameter for vimeo embed without using an iframe?

I am trying to get some oembed parameters attached to my Vimeo clips. I tried to get it going using the following two instructions: Passing Parameters to a Vimeo link in a WordPress Custom Field – LimeCanvas.com Any way to use a custom parameter for YouTube embed without using an iframe – WordPress.SE.com Unfortunately what … Read more

Passing a parameter to a permalink

I’m trying to create permalinks for a page that currently has parameters passed to it. The site was set up by somebody else and I’m not familiar with WordPress I have various pages which have URLs of the form /events/single-event/?u_name=<event_name>/ e.g. /events/single-event/?u_name=Hippy I would like to be able to access these various pages via /<something>/<event_name>/ … Read more

Display posts from an author using search parameters (not author template/query_posts)

Is there a way to retrieve a list of all the posts by an author using search (example: ?s&author=xxx)? I can’t use query_posts or author template (don’t ask why, take it as a condition). And it should be a public query (the filter in admin panel isn’t good). If isn’t available by default as a … Read more

CPT archive 404ing when using a custom taxonomy name as a variable

So, I’m using a custom post type archive and generating a JavaScript-based filtering interface for sorting through results. Here’s an example: http://www.inverity.org/sermons/ Now, what I’d like to do is pass in variables to my script to allow for filtering based on URL parameters. This works: http://www.inverity.org/sermons/?presenters=4 The problem is, this doesn’t: http://www.inverity.org/sermons/?speakers=4 “speakers” is the … Read more