Support » Plugins and Hacks » [Resolved] [Plugin: WP Custom Login] Profile page

[Resolved] [Plugin: WP Custom Login] Profile page

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ninos


    Can you maybe explain which profile pages you mean, have no clue :/

    Plugin Author Ninos


    I don’t think that’s easy to implement, because of the stylesheets and not existing hooks..
    Also it’s better to write a own page in frontend, as a kind solution like that 🙂

    I found a solution.

    1. In wp-admin/user-edit.php:

    – replace “include( ABSPATH . ‘wp-admin/admin-header.php’);” with “include( ABSPATH . ‘wp-content/themes/mytheme/header.php’);”
    – replace “include( ABSPATH . ‘wp-admin/admin-footer.php’);” with “include( ABSPATH . ‘wp-content/themes/mytheme/footer.php’);”

    (I don’t know how can I call this from functions.php. Please help me Ninos!)

    2. In functions.php add this for remove toolbar:

    “if (!function_exists(‘disableAdminBar’)) {
    function disableAdminBar(){
    remove_action( ‘admin_footer’, ‘wp_admin_bar_render’, 1000 );
    remove_action( ‘wp_footer’, ‘wp_admin_bar_render’, 1000 );
    function remove_admin_bar_style_backend() {
    echo ‘<style>body.admin-bar #wpcontent, body.admin-bar #adminmenu { padding-top: 0px !important; }</style>’;}
    function remove_admin_bar_style_frontend() {
    echo ‘<style type=”text/css” media=”screen”>
    html { margin-top: 0px !important; }
    * html body { margin-top: 0px !important; }
    add_filter(‘wp_head’,’remove_admin_bar_style_frontend’, 99);}}

    I hope it’s OK.

    Plugin Author Ninos


    maybe you can use this hook:

    or this hook

    for the footer use this hook
    do_action('admin_footer', '');

    But I think for a custom admin panel you have to change the default files, otherwise you have got the admin menu and admin styles.. It will be look very bad.

    Have a look on buddypress, maybe you can deactivate the activity stream, member list, forum etc. and use just the profile page.. Otherwise it’s simpler to create a own page maybe using shortcodes..


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: WP Custom Login] Profile page’ is closed to new replies.