Tag Info

New answers tagged

1

WordPress has the function edit_post_link() to Displays a link to edit the current post, if a user is logged in and allowed to edit the post.


0

Seems like GravityView incl. the Advanced Filtering Extension will do this quite nicely - just for info.


0

Since the recent class change this works: add_action( 'personal_options', array ( 'T5_Hide_Profile_Bio_Box', 'start' ) ); /** * Captures the part with the biobox in an output buffer and removes it. * * @author Thomas Scholz, <info@toscho.de> * */ class T5_Hide_Profile_Bio_Box { /** * Called on 'personal_options'. * * @return ...


1

You are trying to access the meta data of the user with ID stored in $user->ID but the object $user is not defined in your code. You are also using an undefined variable $user_ID. The quickest fix in your code would be to change this: get_the_author_meta( 'province', $user->ID ) ) With: get_the_author_meta( 'province', $userdata->ID ) ) Tip: ...



Top 50 recent answers are included