Support » Theme: Rock Star » child theme regsiter sidebar widget

  • I have created a child theme of rock star, and im trying to add a custom widget, however the widget will only appear if i modify widgets.php under the main theme. If i copy widgets.php to the child theme and register my custom widget, it doesn’t appear. Can you help please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • @cshibbs: To override the widgets.php in Main theme by widgets.php in the Child Theme folder the destination path of the widget.php should be same as in Main theme folder.
    So Cut and paste the widgets.php in the Child theme folder to
    Child Theme Folder => inc => widgets => widgets.php

    Let me know if this works out!
    Also for swift replies, post your issues and queries on our official theme support forum please post in our free forum at https://catchthemes.com/support-forum/

    Kind Regards,
    Skandha

    @cshibbs: Please ignore the previous reply.
    To add a custom widget to the theme. You will need to create a child theme and add the widget function to functions.php file in the child theme folder.
    Let me know if you want add a custom widget or a custom widget area so that I can help you out!

    Also for swift replies, post your issues and queries on our official theme support forum please post in our free forum at https://catchthemes.com/support-forum/

    Kind Regards,
    Skandha

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘child theme regsiter sidebar widget’ is closed to new replies.