Customising the login widget

This topic contains 3 replies, has 2 voices, and was last updated by  Paolo 8 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #52727

    jderrick
    Expired Member
    Post count: 23

    Hello,

    I’m trying to customise the login widget as I need to remove the dropdown and replace it with a single link (I only have one category).

    The problem is all the HTML code is all jumbled up in the PHP and it’s not an action I can replace in the usual way. How would you recommend I do this please?

    Jamie

    #52857

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    you’ll need someone to help you read and alter the PHP code.

    As you can imagine this goes beyond support we can provide, if you wish I can move this inside the Jobs forum.

    let us know,

    Thanks

    #53156

    jderrick
    Expired Member
    Post count: 23

    Hi Paolo,

    I am a developer so able to do the work myself. However, I do not want to modify the core code as we all know the problems that come from doing that.

    Is there any way to modify the login/add listing module without messing about with the core code?

    #53157

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    it is a widget class. You can copy the entire class into your theme functions.php, rename all the parts of the class that needs to be renamed to create a new widget and then customize its code. It will be safe from updates. You will have a new personalized widget and if you want you can even unregister the orginal to avoid having the unused widget between your options.

    Thanks

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

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

Open Support Ticket