How to add left sidebar widget area
Hello.
I have searched through these forums looking for an answer to my question, but I am simply not following what's being said/cannot find what has been recommended--at this point, I feel like a complete idiot and very frustrated. I would like to add a widget area to the left sidebar. I am using Montezuma theme. I have a very limited understanding of technical jargon. A question that seemed similar to mine suggested I search for "widgets" in the "limited PHP code" dropdown box but that was fruitless. I attempted to add something from the dynamic widget area into the CSS file but...I have no idea how to do any of this. I like the Montezuma theme more than any other I've found since using Wordpress but I am beginning to worry that maybe my skill level is just too low to use it. Please help! My blog is www.corynicastro.com |
Where / how are you getting the left sidebar? As I understand it, it's as simple as adding one line of code in whichever template file you want it in - post, page, index etc. Code is ...
HTML Code:
<?php dynamic_sidebar( 'Widget Area INDEX' ); ?> |
Quote:
HTML Code:
... You can do this however you want, as long as the column widths in each row add up to 12. |
Quote:
Also - from my limited experience - the members and moderators here are helpful, knowledgeable and quick! So if all else fails, you can always ask. ;) |
Thanks for help, both of you, but I'm clearly too stupid: neither of these suggestions worked, probably because I am not putting them in the right places and I dont know how to figure this out. Im really trying but feeling defeated. I just want to add another widget area to the left side of my site so that it appears everywhere
|
very simple the think to remember is the numur of columns must equal 12. By default the virtual template 'index.php' looks like this
HTML Code:
<!--<div id="container">--> HTML Code:
<!--<div id="container">--> HTML Code:
<!--<div id="container">--> |
Quote:
What I want to achieve is to have a third column on the left in which I can insert a category index. Following your post's instructions I have changed (irritatingly I find there are no Copy/Paste options in the right-click popup menu so I have to resort to ctrl-c and ctrl-v) index.php to the following and saved the changes and added some content via Appearance/Widgets. In the Widget area I now have Widget Area One, Widget Area Two which, as it isn't in the code below I presume is some sort of hangover from a previous attempt? Could someone explain the significance of the div id='widgetareaone' and dydnamic_sidebar settings of 'leftsidebar' and 'rightsidebar'? Thanks Will Quote:
|
The IDs are for CSS styling specific to that one sidebar. You can't have two IDs the same so in your case you might give an ID of left-sidebar to the left sidebar and right-sidebar to the right in case you ever want to style them differently.
|
There s still a widget area 'Widget area One' because you only changed the 'index.php' virtual template, but it still exists in the other templates.
If you go to your blog page, you will see two sidebars but go to a page page and you will see one. Why? because there are different templates that will be used. Look at all teh different main templates and to see how they are used by WordPress, check out the template hierarchy in teh wordpress codex (google search 'template hierarchy') |
1 Attachment(s)
Quote:
the foto should bee in the left sidebar, the text in the middel and the right side disappeared and i dont know why!! |
in what widget area did you put the widgets?
what is the url? also change the ID's like this HTML Code:
<!--<div id="container">--> |
Thank you. It worked :)
But know a wanted to put in another plugin/widget. Its called "about the author". But i think my sidebar is to small to display it. Is it possible to make the sidebars more "wide" then togehter "12"?? |
do you mean you want bunch of widgets side by side or one on top of the other?
|
Hi, I have added a sidebar and added the code to a new template, subpage template. However, the sidebar, which is a left navigation widget, displays at top of the content area with the main content stacked below it. We would like the navigation (and rotating image slider that's in the sidebar widget) to display in a left column and the main body content to display in a right column. We can't figure out how to do that. Can you please help?
template: HTML Code:
get_header(); ?> HTML Code:
#left-sidebar{/* First Column */ width:240px !important; float:left; margin-left: 20px;} |
To use a left sidebar instead ofd a right sidebar do the following
1) edit (or make a copy of the virtual main template) index.php which should look like this HTML Code:
<!--<div id="container">--> HTML Code:
<div id="widgetarea-one" class="col4"> HTML Code:
<div id="main" class="row"> HTML Code:
<!--<div id="container">--> HTML Code:
<div id="widgetarea-left-sidebar" class="col4"> |
Thank you for your help! With your guidance, I was able to add the left sidebar and I'm very close to where I want it to be. However, the center body section wraps at the "bottom" of the left sidebar container. I could change the height of the left sidebar container but it would push the length of the page to always be that height. In addition, as you can see, sometimes the body content section is not displaying to the right of the left sidebar. What do I need to do? Thank you!
|
please export your Montezuma settings and attach them to a response
Are you using any table or forms plugins on those pages? if so, what's it look like if you shut them off? |
The site doesn't look like it was built using the Montezuma theme, at least, not from what I can tell from examining it.
|
All times are GMT -6. The time now is 01:15 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.