[resolved] Widget Installation Problem (4 posts)

  1. OtnaK
    Posted 6 years ago #

    Sorry if this is a really stupid question but I cant get it figured out.

    I have followed the following tutorial,
    on creating a custom widget, and I have downloaded the example from the site so I'm assuming that there isnt a problem with the code.

    The problem I am having is with actually installing the new widget. I have pasted the widget file in a few different folders to see if WordPress will auto detect it and display it in the admin widget panel, but this hasn't worked.
    Is there a place within WordPress that I have to include the new widget or should the register command in the widget file do that for me?

    Thanks for any help.

  2. esmi
    Forum Moderator
    Posted 6 years ago #

    Try adding it to your functions.php file.

  3. OtnaK
    Posted 6 years ago #

    No luck. I'm not sure but I think the problem is with registering the widget, is there anyway to maybe check for this?

  4. OtnaK
    Posted 6 years ago #

    Not quite sure what happened but its working now.

Topic Closed

This topic has been closed to new replies.

About this Topic