Need Help with WordPress Widgets

6 replies
I've got a Wordpress theme I really like, but can't seem to change the sidebar entries. I get this in the code...

<?php /* Widgetized sidebar, if you have the plugin installed. */
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar1') ) : ?>

But I'll be dammed if I can find the right plugin!

HELP!

Steve
#widgets #wordpress
  • Profile picture of the author JayXtreme
    You need the execPHP plugin

    Peace

    Jay
    Signature

    Bare Murkage.........

    {{ DiscussionBoard.errors[255173].message }}
  • Profile picture of the author Ouroboros
    Jay,

    I tried that one, uploaded it and installed it and couldn't see any difference.

    Something I'm missing?

    Steve
    Signature

    Need a Simple Product/Service to Market to Offline Clients? Sell Them DFY Custom Videos. https://www.fiverr.com/users/gigsiteguy

    {{ DiscussionBoard.errors[255230].message }}
  • Profile picture of the author JayXtreme
    Yes..

    It's probably putting the code inside the PHP tags.. the required code needs to be outside this in your sidebar.php file...

    Bit crazy to talk you through it here though..

    Will try to PM you if I get time later.. bit hectic at the mo.

    Peace

    Jay
    Signature

    Bare Murkage.........

    {{ DiscussionBoard.errors[255238].message }}
  • Profile picture of the author Ouroboros
    Thanks anyway...

    It's showing up in another theme, maybe I can figure out the sidebar code.

    Steve
    Signature

    Need a Simple Product/Service to Market to Offline Clients? Sell Them DFY Custom Videos. https://www.fiverr.com/users/gigsiteguy

    {{ DiscussionBoard.errors[255281].message }}
  • Profile picture of the author Ouroboros
    Screw this! Life is too short to mess with broken themes...

    Never fall in love with a theme unless you're a wiz at php. I've got a subdomain where I test all these things and something like 3 out of 10 are totally screwed up!

    Problem fixed, trash that theme and use another one!

    Steve
    Signature

    Need a Simple Product/Service to Market to Offline Clients? Sell Them DFY Custom Videos. https://www.fiverr.com/users/gigsiteguy

    {{ DiscussionBoard.errors[255458].message }}
    • Profile picture of the author ThomM
      Steve take that out and put this in for the right sidebar.
      <!-- Widgetized right sidebar -->
      <?php if ( !function_exists('dynamic_sidebar')
      || !dynamic_sidebar('right_sidebar') ) : ?>
      <?php endif; ?>
      And this for the left sidebar
      <!-- Widgetized left sidebar -->
      <?php if ( !function_exists('dynamic_sidebar')
      || !dynamic_sidebar('left_sidebar') ) : ?>
      <?php endif; ?>
      That should work for ya.
      Signature

      Life: Nature's way of keeping meat fresh
      Getting old ain't for sissy's
      As you are I was, as I am you will be
      You can't fix stupid, but you can always out smart it.

      {{ DiscussionBoard.errors[255495].message }}

Trending Topics