Reputation
Next privilege 200 Rep.
See reduced ads
Badges
1 9
Impact
~8k people reached

  • 0 posts edited
  • 1 helpful flag
  • 18 votes cast
Feb
24
comment Send admin to a different login than users?
Thanks for the additional ideas :)
Feb
23
comment Send admin to a different login than users?
Because it's about providing a good user experience. One section may be called "Member Login" styled like the site and the other could just be the normal wp login page.
Feb
22
comment Send admin to a different login than users?
@flomei Yes. :)
Feb
22
comment Send admin to a different login than users?
@flomei I have made use of wp_login_form to create the additional login page.
Feb
22
comment Send admin to a different login than users?
Doesn't that just redirect them after a successful login and hence you already know if they're and admin or not; doesn't give them a separate place to login.
Feb
22
comment Send admin to a different login than users?
@flomei Well that's why you have a separate login for admins only. I guess a normal user could try and login from that page if they wanted - point is the user login page is for a separate member area and isn't really related to logging into the WP panel (it's about user experience for the admin).
Jan
15
comment disable permalink on custom post type
Yeah, this doesn't work.
May
29
comment Adding content inside the anchor tags within WordPress main nav
Wouldn't this add it to all menu items and not just the ones that have a sub-menu?
Jul
7
comment Having WordPress control only certain pages with .htaccess?
Alright thanks again!
Jul
7
comment Having WordPress control only certain pages with .htaccess?
Can I ask what about other pages or directories that you don't want wordpress to control? Such as if I had a file called test.php or a directory called 'my-dir'? Will WP try and control those?
Jun
27
comment Having WordPress control only certain pages with .htaccess?
Great - thanks!
Jun
27
comment Having WordPress control only certain pages with .htaccess?
Oh ok nice! So to clarify, I put my rules above the WP rules and then add a [L] flag to the end of each rule?
Jun
27
comment Having WordPress control only certain pages with .htaccess?
So I just add [L] to the end of my own rules? Only issue I still see is if WP decides to recreate the file (via changing of permalinks or a plugin perhaps) and wipe out what I have put in there.
Sep
26
comment Internationalization and functions that use it
Great answer - thanks! What about other functions that use it, such as _x? Just stop using them too or use the alternative function such as esc_attr over esc_attr__?
Sep
26
comment Stop WordPress from showing images on non post pages
Thanks a lot! :)
Sep
26
comment How do translated, escaped strings (esc_attr) in Themes work?
Sorry, what is a textdomain? I'm new to theming WP and have noticed several instances of WP passing in the 'twentyeleven' argument. Does this have to do with the theme name or something else?
Sep
17
comment Menu items id's - are they 100% unique?
Yep, know how auto increment works, just wasn't sure if that was what WP used for this. Thanks!
Aug
26
comment Confused on loading page content
@Joseph Thanks. I used the_content() instead just inside index.php and it worked; which is strange as I'm sure I tried it before and it didn't work haha..... thanks for the response. :)
Aug
20
comment What can I hook into after_setup_theme?
Ok thanks.... :)
Aug
19
comment What can I hook into after_setup_theme?
Great answer - thanks. I understand most of it, but a little confused why all my calls to hooks with the add_action and remove_action are ok but the call to wp_enqueue_scripts isn't? They all fire after after_setup_theme. I know you said it's because I can't execute wp_enqueue_scripts before init; though without you telling me that how would I know? For example, how do I know if there is anything else that can't be executed before something else.