Where or how to edit Gd Login Box

This topic contains 2 replies, has 2 voices, and was last updated by  Dotty Directory 8 years, 6 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #266005

    Dotty Directory
    Full Member
    Post count: 254

    Hi, I want to change the gd_login_box’s template or structure it differently.

    Could you either tell me where to find the template for it or how to do the following.

    Change from downdown box and only show the one category “Adverts” but Ideally just make it basically a box or a link “Edit My Advert”, I’ve got a system in place to only allow one advert. so ideally for it to just say “Edit My Advert”

    Thank you

    #266266

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    I think the only solution is to copy the class that creates that widget within your theme functions.php file, rename the class, the arguments of the public function __construct() and modify the code of it as you wish.

    At that point you can unregister the original widget and register your modified copy.

    The code for the loginbox widget can be found in geodirectory_widgets.php from line 241.

    Let us know if that helped.

    Thanks

    #266820

    Dotty Directory
    Full Member
    Post count: 254

    Thanks

Viewing 3 posts - 1 through 3 (of 3 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