Skip to main content
chrisguitarguy's user avatar
chrisguitarguy's user avatar
chrisguitarguy's user avatar
chrisguitarguy
  • Member for 13 years, 6 months
  • Last seen more than 1 year ago
awarded
awarded
comment
Check if specific username is logged in
Use in_array instead of a simple equality check.
awarded
awarded
awarded
awarded
comment
Change URLs depending on alias
You generally want to have exactly one URL at which content lives or you'll get penalized for duplicate content. Stuff like rel="conical" links can help with this.
awarded
comment
Check if specific username is logged in
@TravisPflanz if you're just looking to check for a logged in user: developer.wordpress.org/reference/functions/is_user_logged_i‌​n Otherwise just modify the function to take the username as a parameter instead of being hardcoded.
awarded
awarded
awarded
awarded
awarded
awarded
awarded
revised
Loading…
awarded
1 2
3
4 5
55