WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Widget Installation Problem (4 posts)

  1. OtnaK
    Member
    Posted 3 years ago #

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

    I have followed the following tutorial,
    http://justintadlock.com/archives/2009/05/26/the-complete-guide-to-creating-widgets-in-wordpress-28
    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
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    Try adding it to your functions.php file.

  3. OtnaK
    Member
    Posted 3 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
    Member
    Posted 3 years ago #

    Not quite sure what happened but its working now.

Topic Closed

This topic has been closed to new replies.

About this Topic