Forum Replies Created

Viewing 15 replies - 1 through 15 (of 26 total)
  • Forum: Fixing WordPress
    In reply to: Adds on my page
    Thread Starter Leontien

    (@leontien)

    I meant ad…

    Thread Starter Leontien

    (@leontien)

    I just found the answer to my question. It’s a plugin called “Conditional Widgets”.
    Thanks!

    Thread Starter Leontien

    (@leontien)

    I found it!!! I installed the plugin “Conditional Widgets”

    Thread Starter Leontien

    (@leontien)

    Will 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?

    Thread Starter Leontien

    (@leontien)

    I 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

    Thread Starter Leontien

    (@leontien)

    My 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!

    Thread Starter Leontien

    (@leontien)

    Yes, 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.

    Thread Starter Leontien

    (@leontien)

    I 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?

    Thread Starter Leontien

    (@leontien)

    Great, 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.

    Thread Starter Leontien

    (@leontien)

    Thanks! The problem is that I can’t find the functions or sidebar php in my FTP. Can you help me find it?

    Thread Starter Leontien

    (@leontien)

    I 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 down
    Thread Starter Leontien

    (@leontien)

    Thanks Chip, you have been incredibly helpful. THANKS!

    Forum: Fixing WordPress
    In reply to: Site is down
    Thread Starter Leontien

    (@leontien)

    I 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 down
    Thread Starter Leontien

    (@leontien)

    Thank 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 down
    Thread Starter Leontien

    (@leontien)

    aha! 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 216

    AND

    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

Viewing 15 replies - 1 through 15 (of 26 total)