SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist
    Join Date
    Feb 2009
    Posts
    412
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    widgetizing wordpress

    So i got my wordpress sidebar and i want to make it widget-friendly.

    http://silver163.pastebin.com/u4E4awhY

    can someone please help me with my code?

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    http://automattic.com/code/widgets/themes/

    As easy as two lines of code to add (examples shown) depending on what you want to do.

  3. #3
    SitePoint Evangelist
    Join Date
    Feb 2009
    Posts
    412
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tried it but now i get this strange error:

    Code:
    Parse error: syntax error, unexpected $end in /homepages/30/d211652780/htdocs/adivix/wp-content/themes/hungry/sidebar.php on line 13
    here is the code:

    http://silver163.pastebin.com/knj19wUJ

    plus now my footer isn't displaying

    www.adivix.com

    there is the site

  4. #4
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You have an open if: without a matching endif


    <?php endif; ?>

  5. #5
    SitePoint Evangelist
    Join Date
    Feb 2009
    Posts
    412
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ah ok i thought the bottom one would have closed it.

    but the sidebar is still screwed up :/


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •