Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Create link to friends activity?

@wp_maybe

Participant

I read another solution here

1. Install and activate this plugin https://wordpress.org/plugins/wp-exec-php/

2. Create a new page called “Friends” or whatever name you want and add it to your menu.

3. In content of this page, add this code

<meta http-equiv=”refresh” content=”0;URL=http://blabla.com/members/<?php global $current_user;
get_currentuserinfo();

echo sanitize_file_name($current_user->user_login). “”;

?>/activity/friends/”>

4. You may still need a way to hide this menu from logged out users. Plugin https://wordpress.org/plugins/if-menu/

Skip to toolbar