Leontien
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Adds on my pageI meant ad…
Forum: Fixing WordPress
In reply to: Separate widgets on every categoryI just found the answer to my question. It’s a plugin called “Conditional Widgets”.
Thanks!Forum: Fixing WordPress
In reply to: Separate widget on separate categoriesI found it!!! I installed the plugin “Conditional Widgets”
Forum: Fixing WordPress
In reply to: Separate widgets on every categoryWill this help:
if(function_exists(‘register_sidebar’)) {
foreach((array)(get_categories()) as $category) {
register_sidebar(array(
‘name’ => ‘Categorie : ‘ .$category->cat_name,
‘before_widget’ => ‘<div id=”%1$s” class=”%2$s widget”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h3 class=”widget-title”>’,
‘after_title’ => ‘</h3>’, ));
}foreach((array)(get_pages()) as $page) {
register_sidebar(array(
‘name’ => ‘Page : ‘ .$page->post_name,
‘before_widget’ => ‘<div id=”%1$s” class=”%2$s widget”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h3 class=”widget-title”>’,
‘after_title’ => ‘</h3>’, ));
}
}I added this to functions.php but I can’t seem to find it back on the back end anywhere?
Forum: Fixing WordPress
In reply to: Separate widgets on every categoryI have looked at this plugin before. When I activate it though, my site goes into error. This is what is says:
Parse error: syntax error, unexpected ‘:’ in /var/www/vhtdocs/userweb51311/html/wp-content/plugins/widget-logic/widget_logic.php(169) : eval()’d code on line 1 Parse error: syntax error, unexpected ‘:’ in /var/www/vhtdocs/userweb51311/html/wp-content/plugins/widget-logic/widget_logic.php(169) : eval()’d code on line 1
Forum: Fixing WordPress
In reply to: Separate widgets on every categoryMy next step would possibly be:
‘custom’ would mean you have to create a custom sidebar-file under the name sidebar-custom.php. Sidebars get indexed. Your default sidebar (sidebar.php) gets indexed as 1. Every succeeding one will have an index higher than 1. You will see your sidebars now listed in ‘Appearance’ -> ‘Widgets’.
I don’t understand this, could anyone explain in layman terms? THANKS!
Forum: Fixing WordPress
In reply to: Separate widgets on every categoryYes, I added that ?> after it. Okay, it worked, I can see my widget page (the back end)… But I still don’t see how I can use it, I mean, I was hoping that in the widget (for example a text widget) I would be able to scroll down and it would tell me where I want this specific text to go, under which category.
Forum: Fixing WordPress
In reply to: Separate widgets on every categoryI put in;
if ( function_exists ('register_sidebar')) { register_sidebar ('custom'); }
[Please post code or markup snippets between backticks or use the code button.]
in the functions.php (or should I have put it in the widgets.php?) and again error message. Can I just put it on the bottom?
Forum: Fixing WordPress
In reply to: Separate widgets on every categoryGreat, I found it, when I add
<?php if ( function_exists ('register_sidebar')) { register_sidebar ('custom'); } ?>
[Please post code or markup snippets between backticks or use the code button.]
to my functions.php (at the bottom), I can’t even get to my widgets anymore, there is an error message. It would be great if someone could help me put a certain code somewhere. i really appreciate the help.
Forum: Fixing WordPress
In reply to: Separate widgets on every categoryThanks! The problem is that I can’t find the functions or sidebar php in my FTP. Can you help me find it?
Forum: Fixing WordPress
In reply to: Side bar for each different pageI downloaded both and activated it, I’m not any wiser.. With Ctrl-C’s plugin it deleted all my current texts under the categories (that I still had from my WhiteHouse theme) and the Widget Logic, I have no idea what to do with it.
Forum: Fixing WordPress
In reply to: Site is downThanks Chip, you have been incredibly helpful. THANKS!
Forum: Fixing WordPress
In reply to: Site is downI guess the only other question I have is if I can only change my theme to the ones that are listed under themes which are: twenty ten, WhiteHouse, WordPress Classic and WordPress default?
I would like to search for a better match unless I’m unable to change my them to it.
Thanks!Forum: Fixing WordPress
In reply to: Site is downThank you, our server said they have done everything they could, using the last back up, but the problem was still there. I think we’re just going to go with another theme. Thank you so much for your help. At least we’ve done everything we can it seems. Who needs Whitehouse anyway!
Forum: Fixing WordPress
In reply to: Site is downaha! This is what I got:
Notice: Trying to get property of non-object in /var/www/vhtdocs/userweb51311/html/wp-content/themes/whitehouse/core/admin/options.class.php on line 216 Warning: include(/var/www/vhtdocs/userweb51311/html/wp-content/themes/whitehouse/core/plugins/twitter.php): failed to open stream: No such file or directory in /var/www/vhtdocs/userweb51311/html/wp-content/themes/whitehouse/core/init_core.php on line 52 Warning: include(): Failed opening ‘/var/www/vhtdocs/userweb51311/html/wp-content/themes/whitehouse/core/plugins/twitter.php’ for inclusion (include_path=’.:/usr/share/pear:/usr/share/php’) in /var/www/vhtdocs/userweb51311/html/wp-content/themes/whitehouse/core/init_core.php on line 52 Notice: Undefined property: Options::$featureblog in /var/www/vhtdocs/userweb51311/html/wp-content/themes/whitehouse/core/admin/options.class.php on line 216 Notice: Undefined property: Options::$enable_drop_down in /var/www/vhtdocs/userweb51311/html/wp-content/themes/whitehouse/core/admin/options.class.php on line 216 Notice: Undefined property: Options::$google_ie in /var/www/vhtdocs/userweb51311/html/wp-content/themes/whitehouse/core/admin/options.class.php on line 216 Notice: Undefined property: Options::$asynch_analytics in /var/www/vhtdocs/userweb51311/html/wp-content/themes/whitehouse/core/admin/options.class.php on line 216AND
NOTICE: UNDEFINED PROPERTY: OPTIONS::$ENABLE_DROP_DOWN IN /VAR/WWW/VHTDOCS/USERWEB51311/HTML/WP-CONTENT/THEMES/WHITEHOUSE/CORE/ADMIN/OPTIONS.CLASS.PHP ON LINE 216
AND
Notice: Undefined property: Options::$hide_sub_header in /var/www/vhtdocs/userweb51311/html/wp-content/themes/whitehouse/core/admin/options.class.php on line 216 Notice: Undefined variable: children in /var/www/vhtdocs/userweb51311/html/wp-content/themes/whitehouse/library/_sub_head.php on line 10 Notice: Undefined property: Options::$subnav_categories in /var/www/vhtdocs/userweb51311/html/wp-content/themes/whitehouse/core/admin/options.class.php on line 216 Notice: Undefined property: Options::$hidesearch in /var/www/vhtdocs/userweb51311/html/wp-content/themes/whitehouse/core/admin/options.class.php on line 216