|
#1

Oct 5, 2010, 07:42 AM
|
|
I would like to have a "right sidebar 2". why?
I want to have different contents in the right sidebar for example when
-website shows only articles: -> content in right sidebar: recent articles, comments, ...
-website shows pages: -> there I dont want recent articles but i.e. text, other pagelinks, ...
so I could say show sidebar2 on pages, sidebar1 on posts. (but not inner right)
how to do so? is there an easy way?
thx!
|
#2

Oct 5, 2010, 11:38 AM
|
 |
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
have you looked at the theme options in the 'Style & configure SIDEBARS' ?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#3

Oct 6, 2010, 04:23 AM
|
|
sure, I use this function to show the right sidebar on different pages or not to show on posts
but:
I would like to have a 2nd right sidebar with different contents in it.
so i can configure them in wp widgets
I start with adding
register_sidebar(array(
'name'=>'Right Inner Sidebar2',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<div class="widget-title"><h3>',
'after_title' => '</h3></div>',
));
in functions.php, but then... no idea. or am I heading completely wrong
|
#4

Oct 6, 2010, 05:48 AM
|
 |
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
In the settings I mentioned, read about the settings for the 'right Inner' sidebar
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#5

Oct 6, 2010, 09:22 AM
|
|
yes, but I dont want a inner side bar.
maybe this helps
edit: or even right 1 and below right 2
|
#6

Oct 6, 2010, 09:59 AM
|
 |
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
if you want to have different widgets appear on the right sidebar on different pages, just use a plugin like widget logic
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#7

Oct 6, 2010, 12:31 PM
|
|
widget logic.
that works!
thx!
|
|