Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter ddlg2007

    (@ddlg2007)

    Sorry my mistake is ok, working.

    Thread Starter ddlg2007

    (@ddlg2007)

    Is really dificult I know but is possible?

    I dont understand exactly what you want. You can creat a page, and make it there all the change that you want. If you ant help give me a better idea or give me a link to your page to see it how is.

    Thread Starter ddlg2007

    (@ddlg2007)

    Thanksssssssssss like always all help me…

    Thread Starter ddlg2007

    (@ddlg2007)

    GG thanks Ipstenu, I dont have sidebar, I just have 1 column on my site for all the content, for that I try to implement in my theme a login/register without change a lot my theme. Now I use the plugin SimpleModal Login customized but for call the function i edit functions.php and add this:

    add_filter('wp_nav_menu_items', 'add_login_logout_link', 10, 2);
    function add_login_logout_link($items, $args) {
    
            ob_start();
            wp_loginout( $_SERVER['REQUEST_URI'] );
            $loginoutlink = ob_get_contents();
            ob_end_clean();
            $items .= '<li>'. $loginoutlink .'</li>';
        return $items;
    }
    add_filter('wp_nav_menu_items', 'add_register_link', 10, 2);
    function add_register_link($items, $args) {
    
            ob_start();
            wp_register('');
            $registerlink = ob_get_contents();
            ob_end_clean();
            $items .= '<li>'. $registerlink .'</li>';
        return $items;
    }

    Look it here:https://www.arrastheme.com/forums/post26137.html#p26137

    I hope found a solution I’ll go crazy.

    Thread Starter ddlg2007

    (@ddlg2007)

    Hi wrool, thanks for your response. I installed the plugin but I do not think that prevents user access control panel. The truth is not understood very well that I quic. IF you have a minute I’d appreciate you to look this:
    https://www.arrastheme.com/forums/post26137.html#p26137
    I have asked in many forums including here and no respone absolutely nothing.
    This issue has become a terrible headache. My blog has 1 single column so look for ways to implement a login / register in the head, menu, or drop …
    I’ve done, but I do not want users to access the control panel, only the profile that is customized by the plugin (Customize Your Community)

    Thread Starter ddlg2007

    (@ddlg2007)

    Please some one can help me? I make a new modification for redirect to the same page:

    function add_login_logout_link($items, $args) {
    
            ob_start();
            wp_loginout( $_SERVER['REQUEST_URI'] );
            $loginoutlink = ob_get_contents();
            ob_end_clean();
    
            $items .= '<li>'. $loginoutlink .'</li>';
    
        return $items;
    }
    add_filter('wp_nav_menu_items', 'add_register_link', 10, 2);
    function add_register_link($items, $args) {
    
            ob_start();
            wp_register('');
            $registerlink = ob_get_contents();
            ob_end_clean();
    
            $items .= '<li>'. $registerlink .'</li>';
    
        return $items;
    }

Viewing 7 replies - 1 through 7 (of 7 total)