Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hiding replies from anonymous visitors


  • echoleaf
    Participant

    @echoleaf

    I just copied the bbpress theme files to my child theme and thought asking here would be a lot easier than wading through all the code.

    I would like to hide replies from anonymous visitors, basically with an if/else statement. If logged in, show replies; if not logged in, hide replies and show a message that it’s for members only. The idea is that the topic would be readable by Google but the replies would be private.

    Is there a single theme file I can edit for this or are there multiple files to edit? Trying to figure out which file is like looking for a needle in haystack! Thanks.

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

  • Robin W
    Moderator

    @robin-w

    I start by looking at the ‘loop’ files – loop-replies.php looks likely


    echoleaf
    Participant

    @echoleaf

    Thank you for pointing me in the right direction :)


    Robin W
    Moderator

    @robin-w

    In the spirit of free community software – if/when you work a solution out, do post it here, so that others following along in a few months/years can see how it was done !

    Thanks


    echoleaf
    Participant

    @echoleaf

    I will :)

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

You must be logged in to reply to this topic.