Custom field for logged in users

This topic contains 4 replies, has 2 voices, and was last updated by  Alex Rollin 5 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #474024

    laurence anthony
    Expired Member
    Post count: 293

    Hi,
    I’ve added the class ‘logged-in’ to custom fields but they still display publicly.

    class=”geodir_more_info logged-in geodir_m2minfo2″

    Not sure what I’m missing here?

    #474025

    laurence anthony
    Expired Member
    Post count: 293
    This reply has been marked as private.
    #474061

    Alex Rollin
    Moderator
    Post count: 27815

    GD doesn’t have any CSS rules like that to hide/show for logged-in/out.

    If you don’t want the field output you will need to do more than hide it with CSS, too.

    #474183

    laurence anthony
    Expired Member
    Post count: 293

    This and jqeury .remove() works fine

    .logged-in .geodir_m2minfo2 { display: block !important; }
    .geodir_m2minfo2 { display: none; }
    #474227

    Alex Rollin
    Moderator
    Post count: 27815

    Boss!

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount