Styling Widgets

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
  • #226162

    Adeniyi Omikunle
    Expired Member
    Post count: 56

    Hello

    I just subscribed to your plugin and I have a question. Please I will like to know if it is possible to style widgets template without working on the core files so that when an update is done, I will not lose the styling.
    If it is possible, can you please explain the steps to take.
    I really need to be able to do the styling to adapt your plugin to my theme.
    Thank you.

    #226227

    Paolo
    Site Admin
    Post count: 31211

    HI,

    it depends what kind of hcanges you need to do, if it’s just CSS, add it to GeoDirectory >> Design >> Scripts >> Custom CSS.

    That will be saved in the database and will be update safe.

    If you need to change templates completely, please see: https://wpgeodirectory.com/docs/customizing-geodirectory-templates/

    There are also many filters and actions that can be used via functions.php of the child theme. Again without knowing what you need to know it’s difficult to assist better.

    Hope this helps,

    Thanks

    #226499

    Adeniyi Omikunle
    Expired Member
    Post count: 56

    Hello

    Thanks for the information. I have already gone through those links you sent.
    What I want to do is to add custom HTML tags (e.g. div ids and class) to some of the widgets on the GD Homepage in order to adapt them to my website template.
    Is it possible to copy the widgets templates (e.g. The GD Search widget) to the theme folder and customize them like you can do for the templates?

    Thanks. I hope my question is understood.

    #226810

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    yes the search widget uses this template: listing-filter-form.php

    Let us know if that helps.

    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
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount