Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • in reply to: Custom Buddypress Page Layout #25375
     nardyello
    Participant

    Here’s just an image to show what I said in points 1 and 4 of the last post.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Custom Buddypress Page Layout #25374
     nardyello
    Participant

    Going through some of the code, I was able to:

    1. Add a page template image to Redux buddypress tab

    2. Added the following code to the kleo > functions.php file (just after the other page templates):

    COPY CODE
    case 'righttop':
    	add_action('kleo_after_content', 'kleo_sidebar');
    	remove_action('kleo_after_content', 'kleo_extra_sidebar');
    	add_filter('kleo_main_template_classes', create_function('$cols', '$cols = "col-sm-' . $main_width_2cols . ' tpl-righttop"; return $cols;'));
    	add_filter('kleo_sidebar_classes', create_function('$cols', '$cols = "col-sm-' . $sidebar_width_2cols . ' sidebar-righttop"; return $cols;'));
    	break;

    3. Added the following code to the kleo > lib > theme-functions.php file (just after the $kleo_config[‘tpl_map’] = array):
    'page-templates/right-sidebar-top.php' => 'righttop',

    4. Edited the kleo > lib > options.php file to include my new layout in the Redux Buddypress layout options

    But I still can’t call the template to be used by the theme.
    Can anyone inform me what I should do next?

    in reply to: What is the file to edit the profile menu? #25366
     nardyello
    Participant

    I’m sorry, but I’m not sure what you mean.

    Can you give me some more details, please?

    in reply to: What is the file to edit the profile menu? #25341
     nardyello
    Participant

    Hey, Alberhd.

    I’m not a pro at this, but I’ve been playing around with this template a little and have found my way throughout some of the most searched changes people are looking for.

    I’m not entirely sure which menu you are trying to change, but if what you’re trying to accomplish is to have a certain menu when logged out and then a different menu when logged in, use the plugin NAV MENU ROLES.

    Go to Plugins > Add New > type Nav Menu Roles
    Install the plugin and then go to Appearance > Menus
    There you will be able to choose how you want your menu to appear. The column to the left has all the options you can add to your menu. The column to the right has the buttons that will appear on your menu.

    When you click on a button, there will be a “Display Mode” option. Select if you want it to appear for logged out or logged in users, or even by role (administrator, author, contributor, spectator, etc)

    Hope that’s what you’re looking for.

    If not, give us some more details and I might be able to help.

    Good luck! 😀

Viewing 4 posts - 1 through 4 (of 4 total)

Log in with your credentials

Forgot your details?