I dont know what you did, but as per your need, simply do this: function my_array_insert_after($key, &$array, $new_key, $new_value) { if (array_key_exists ($key, $array)) { $new = array(); foreach ($array as $k => $value) { $new[$k] = $value; if ($k === $key) { $new[$new_key] = $new_value; } } return $new; } return FALSE; } add_filter('custom_ap_user_menu', 'my_custom_ap_user_menu'); function my_custom_ap_user_menu($menus){ unset($menus['favorites']); $new_value = array( 'name' => __('Favorites', 'ap'), 'link' => ap_user_link($userid, 'favorites'), 'icon' => 'ap-icon-star'); $menus = my_array_insert_after('profile', $menus, 'favorites', $new_value) return $menus; } and add this code to your theme functions.php
Kindly wait for version 2.0, after 2.0 AnsPress will be extensible so that you can easily add any feature you wish.
Not at the moment. And I dont think this will be a useful feature for AnsPress, as anspress is dedicated for Q&A. But yes, we can show post created by user in his profile.
Sorry for the late replay. I am working on AnsPress update, will be release in 1st January. But will try to release a quick fix today. Thanks for reporting.
Hi Rahul, can you point me in the right direction (file name) where to patch the issue by myself until you release the next version? I need to maintain the plugin operational until the next update. By the way, your plugin is the most robust and best designed I have seen. I will buy a paid version for sure if you launch one.