167 reputation
129
bio website
location Seattle, WA
age
visits member for 3 years
seen Jun 29 at 17:29

Jun
29
accepted Clicking On View Post In Draft Opens New Tab
Jun
29
suggested rejected edit on Clicking On View Post In Draft Opens New Tab
Jun
29
comment Clicking On View Post In Draft Opens New Tab
Thanks. I modified your answer slightly to indicate that one has to enqueue the JS in the admin separately from the 'regular' pages.
Jun
11
revised Clicking On View Post In Draft Opens New Tab
added 367 characters in body
Jun
10
asked Clicking On View Post In Draft Opens New Tab
Jun
3
comment Modify WP-Login Page With Javascript?
Thanks, I'm aware of this. However, experienced WP users always somehow find their way to the wp-login.php URL. So I prefer to simply modify wp-login rather than creating new page. (To tighten this up, I have tried disabling wp-login via .htaccess and it breaks WP. Apparently WP needs that page to be visible?)
Jun
2
asked Modify WP-Login Page With Javascript?
May
8
comment Placement of add_action() for ajax callback?
Thanks. It sure would be -convenient- to be able to have functionally related code all in one place. I was hoping there was a way to declare the callback function 'globally' so that it would somehow still 'visible' to admin-ajax.php.
May
8
asked Placement of add_action() for ajax callback?
Apr
16
awarded  Notable Question
Feb
16
awarded  Famous Question
Jan
24
comment Search pre_get_posts filter which can handle multiple post types and categories?
Didn't know that. Will try!
Jan
23
asked Search pre_get_posts filter which can handle multiple post types and categories?
Jan
20
asked custom post types not appearing in Search multiple post types
Jul
15
asked Remove user credentials from GET or POST on login
Jul
15
comment Disable Or Redirect WP-login.php
So far, this is the closest to what we want. If we remove the exit() and change the wp_redirect to our custom login page, it seems to do the job.
Jul
15
comment Disable Or Redirect WP-login.php
This seems to prevent WP-Login (good) but the final exit() seems to prevent the actual login() from occurring at all which is not what we want. We want people to be able to log in, just never see the WP-Login screen. If they enter an incorrect PW it should redirect to our custom login page.
Jul
10
comment change precedence of permalink for post_types?
I see the filters now! Thanks so much. This was -very- helpful to me, not just for this issue, but also because I've been meaning to learn the inner workings of permalinks for some time. If you want to put this into an 'Answer' I will happily 'accept' it if that matters to you.
Jul
9
comment change precedence of permalink for post_types?
You're a genius. The relevant function is, in fact, redirect_guess_404_permalink() and it works as you say: there is no way to set the precedence of the SQL query. Is there a way to override (or replace) this function or module without hacking the core?
Jul
9
comment change precedence of permalink for post_types?
Well, if you have any ideas as to where in the WP core this decision -is- being made, I'd appreciate hearing it. No it's not 'efficient' but visitors will expect that when they type /name2 it will come up with /albums/name2 and NOT /songs/name2. And this is how it 'worked' up until recently.. I don't know exactly when this behaviour changed. It's more 'SEO' than anything else... and also I don't want to have to explicitly redo all the links which previously worked.