WordPress.org

Ready to get started?Download WordPress

Forums

Install Widget Manually Thru Code (2 posts)

  1. web mania
    Member
    Posted 4 years ago #

    I’ve installed My Widget (http://guff.szub.net/2006/04/06/my-widget-example-wordpress-widget/) on this site: http://pipanhot.com in the left column, along with javascript for the total cost of US Wars. All of that works great.

    But I can only use it one time. I wanted to use it two more times for the cost of war in Iraq and one for Afghanistan. I made the second file mywidget2.php and changed all instances of “mywidget” to “mywidget2″ in the file.

    MyWidget2 then showed in the Admin Plugins and I activated it. However, it doesn’t show in the Widgets section to drag it into the sidebar.

    Does anyone know how I can install it manually, thru the code?

  2. web mania
    Member
    Posted 4 years ago #

    Nevermind on the above post. I put 'em altogether in one widget.

Topic Closed

This topic has been closed to new replies.

About this Topic