New Landing How can we help? Themeforest Theme Support Dante Custom widgets in child theme

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Dante
  • #122051
    tomazt
    Member
    Post count: 7

    hi
    is it possible to add custom widget to dante child theme? is there any tutorial or some documentation?
    thank you

    #122113
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    What you mean exactly?
    Create an widget area in a specific place?

    -Rui

    #122252
    tomazt
    Member
    Post count: 7

    hi
    i need to create custom widgets visible at appearance>widgets
    i noticed that widgets are in swift-framework/widgets (i copied swift-framework to child theme) but my widget not appear on widget lists when i put it in widgets directory. so i assume that need to be called somewhere in framework or somewhere.
    hope that i explained it good enough 🙂

    #122257
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Sorry, what do you mean you are trying to crease a ‘custom widget’? Do you have coding knowledge on how to create widgets? What sort of widget are you trying to create?

    – Kyle

    #122287
    tomazt
    Member
    Post count: 7

    create my own widget for show some specific content. yes, i have the knowledge. it work with default wp themes (with standard procedure of putting widget php file in wp plugin directory) but not work with dante child theme (even standard procedure with wp plugin directory not work here).
    hope that now is more clear what i trying.

    #122294
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Nothing in the theme is preventing custom widgets, otherwise you wouldn’t be able to use widgets from 3rd party plugins. You must be doing something wrong. You said you copied the swift framework folder to your child theme, you can’t do that, only top level files can be overwritten in the child theme, for e.g. header.php, footer.php etc

    You would have to add custom functions in the child theme functions.php file to add a custom widget

    – Kyle

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register