This topic has 6 replies, 2 voices, and was last updated 9 years by sharmstr.

  • Author
  • #56855
     Venter11
    Participant

    When users’ avatars are on each side of the screen, how can that be set to: 1) Only show when a user is logged in, and 2) Only show the current user’s friends instead of everybody on the site.
    Thanks for your time!

    #56856
     Venter11
    Participant

    Here’s what I’m talking about.

    Attachments:
    You must be logged in to view attached files.
    #56875
     sharmstr
    Moderator

    For the first question, try this in your childs function.php file

    COPY CODE
    
    if (!is_user_logged_in()) {
    	echo '<style>nav.pagination-sticky.members-navigation {display: none;}</style>';
    }
    

    The second one would involve editing the member nav query which is you’ll need to either do yourself, hire someone or request this feature in the new Feature Request section here.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #57005
     Venter11
    Participant

    Thanks! In the meantime, is there a way to simply turn off sticky members in theme options?

    #57039
     sharmstr
    Moderator

    Sticky members?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #57080
     Venter11
    Participant

    Oh I thought that’s what you guys called it, ha. The ‘next user’ buttons/gravatars on the left and right sides of the screen like we talked about before. I’d like to just turn that off if possible if it’s not for user’s friends only.

    #57081
     sharmstr
    Moderator

    Put this is quick css

    COPY CODE
    
    nav.pagination-sticky.members-navigation {display: none;}
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

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

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?