Twenty Fourteen
Cannot add link to profile editing page in functions.php (2 posts)

  1. jamcat22
    Posted 2 years ago #

    I am trying to add a link to my profile editing page by adding the following to my functions.php:

     * Adds "Delete Account" option to the profile page.
    add_action( 'show_user_profile', 'modify_profiledelete' );
    function modify_profiledelete( $show ) {
    	<h3>Account Deletion</h3>
        <tr id="password">
        <th>Delete your profile at the</th>
        <td><a href="http://www.removedforsecurity.com/delete-account">delete account page.</a></td>
        return false;

    it used to work on Twenty Twelve, but it just makes all of my website a blank page on Twenty Fourteen.

  2. jamcat22
    Posted 2 years ago #

    Can anyone tell me why this would be happening?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic