Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Forum: Plugins
    In reply to: sidebar widget not working
    goldberry00

    (@goldberry00)

    Hi guys,

    I’m also using a theme that wasn’t widget-friendly but I changed it myself. Now I have a sidebar and a ‘widget’ tab in my admin panel.
    The trick is to create a ‘dynamic sidebar’ by adding a functions.php file to your new theme directory using whatever file transfer software you have.

    Step 1: (skip if your theme already has a function.php file) To do this, I found another theme that came with the functions.php file, copied it, and uploaded it to MY theme’s directory.

    Step 2: Replace sidebar.php coding (from the wp.org admin panel) to (copy and paste exactly as-is):

    <ul id=”sidebar”>
    <?php if ( !function_exists(‘dynamic_sidebar’)
    || !dynamic_sidebar() ) : ?>
    <li id=”about”>
    <h2>About</h2>
    <p>This is my blog.</p>

    <li id=”links”>
    <h2>Links</h2>

    <?php endif; ?>

    This makes your side a ‘dynamic sidebar’ so you can now use widgets.

    Thread Starter goldberry00

    (@goldberry00)

    Thanks that worked.

    goldberry00

    (@goldberry00)

    Adunate,

    Did that import your theme to? I’d like to import the posts/categories from my old blog, but NOT the theme. So I don’t want to go ahead and import the stuff if it’s going to save over my new theme.

    Thread Starter goldberry00

    (@goldberry00)

    Sorry, I do have a plan, but you’re right I was being vague!

    I would like to move my existing wp.com site over and, I was hoping, to be able to use wp.org software to update it with new plugins (like galleries).

    I just pointed the nameservers to my new host, that’s the first step I guess!

    Thread Starter goldberry00

    (@goldberry00)

    I thought that, but then won’t my current website go offline?

    It’s important (for business) that it stays online as long as possible.

Viewing 5 replies - 1 through 5 (of 5 total)