Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Unable to change the sidebar.


 
Prev Previous Post   Next Post Next
  #1  
Old Jun 15, 2011, 10:43 AM
bsprowl
 
11 posts · Jun 2011
Sanford NC
Unable to change the sidebar.

I'm using Atahualpa 3.4.9 and Wordpress 3.0.5.

I wanted to replace the default sidebar with some links and found a sample file format (not sure exactly where at this moment) that I used to create the simple sidebar php file below and saved it to the themes directory with the name “sidebar-left.php” (later changed to “sidebar_left.php” - I don't know which name best matches the naming conventions):

<?php

add_action( 'widgets_init', 'my_register_sidebars' );

function my_register_sidebars() {

/* Register the 'left' sidebar. */
register_sidebar(
array(
'id' => 'sidebar-left',
'name' => ( 'left sidebar' ),
'description' => ( 'Sits on the left side of all pages.' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">',
<p><a href="http://www.facebook.com/update_security_info.php?wizard=1#!/pages/Carolina-Vision-Center/237350326657">Our Facebook page</a></p>
'after_widget' => '</div>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>'

)
}

?>


I opened the site – carolinavisioncenter.com - and found that it does not have this Facebook link in the leftside bar. The displayed sidebar is unchanged. Tried the second name listed above after changing the “id” within the file with the same results.

I checked and this file is available in the Atahualpa editor so I assume that saved in the right place.

I probably missed some basic step but I don't have a clue as to what it might be.
 

Bookmarks

Tags
sidebar coding, sidebar problems



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to Change Headline Box Background Color robtuk Post-Kicker, -Byline & -Footer 1 Apr 12, 2011 05:01 AM
[SOLVED] Unable to change fontsize on productpage. dilago eCommerce & Atahualpa 2 Oct 23, 2010 03:35 AM
[SOLVED] Unable to change font color of Tubepress widget text Topcat1 Plugins & Atahualpa 10 Oct 28, 2009 10:16 PM
[SOLVED] Unable to change text styling in Atahualpa 3.4.1 prgupta Atahualpa 3 Wordpress theme 2 Sep 8, 2009 11:53 AM
Unable to change themes after using theme switcher plugin?? jack96161 New Versions, & Updating 3 Aug 3, 2009 10:12 AM


All times are GMT -6. The time now is 02:54 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.