Forum Replies Created

Viewing 15 replies - 1 through 15 (of 23 total)
  • Thread Starter jupperpeep

    (@jupperpeep)

    I’m sure we can come up with a non-cash deal, my email address is [email protected], if you are interested.

    Thread Starter jupperpeep

    (@jupperpeep)

    I did…

    I am graphic designer by day.

    Thread Starter jupperpeep

    (@jupperpeep)

    Hi

    Sorry just worked it out, it was a plugin causing the issue

    Thread Starter jupperpeep

    (@jupperpeep)

    Hi

    Apologies for the late reply, thank you for your help, but I’m still having problems making this code work for me as it still show the post in the unwanted area.

    Is there another way of going about this?

    Am I correct in thinking that the default category is 0 and then it goes up regarding IDs?

    Thread Starter jupperpeep

    (@jupperpeep)

    Hi

    Thank you for your message, so my code should look something like this?

    <?php query_posts(‘category__not_in=> array(4 )&showposts=2’); ?>

    4 being the category number?

    Thanks

    Thread Starter jupperpeep

    (@jupperpeep)

    Hi

    Cool, thank you for your help

    Thread Starter jupperpeep

    (@jupperpeep)

    Hi

    ooops sorry, yes, the url to my site is https://www.jadedeye.com The only plugin that I have installed recently is Akismet to control my spam and I have deactivated W3 Total Cache. The footer is missing on all pages, at first I thought it might have just been my index.php as I’ve done a lot of work on that, but that is not the case.

    Thanks

    Thread Starter jupperpeep

    (@jupperpeep)

    Hi

    Also I’ve tried changing the names around within the brackets and there doesn’t seem to be any change.

    Thread Starter jupperpeep

    (@jupperpeep)

    Hi

    Thank you for your email, I think I had tried that earlier, but have just given it another go as I’ve changed things in the mean time. I can understand how that should work, but it creates the following effect, https://www.jadedeye.com

    I’m assuming I’m missing something somewhere, just can’t get my head around it.

    Thank you

    Thread Starter jupperpeep

    (@jupperpeep)

    Hi

    I’ve been reading through the literature that is on the above link and other sources, and think I’ve more or less understand it and have placed it correctly.

    I’ve created myself three separate sidebar.php files with individual names and configured my functions.php as below:

    if ( function_exists(‘register_sidebar’) ) {
    register_sidebar(array(
    ‘name’=>’sidebar_right’,
    ‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h2 class=”widgettitle”>’,
    ‘after_title’ => ‘</h2>’,
    ));
    if ( function_exists(‘register_sidebar’) )
    register_sidebar(array(
    ‘name’=>’sidebar_bottomleft’,
    ‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h2 class=”widgettitle”>’,
    ‘after_title’ => ‘</h2>’,
    ));
    if ( function_exists(‘register_sidebar’) )
    register_sidebar(array(
    ‘name’=>’sidebar_bottomright’,
    ‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h2 class=”widgettitle”>’,
    ‘after_title’ => ‘</h2>’,
    ));

    I’ve then gone into each of the different sidebar.php files and individually configured them as follows:

    <?php /* Widgetized sidebar, if you have the plugin installed. */
    if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘sidebar_right’) ) : ?>

    My only issue now is that I can’t seem to manage to place them in my index.php, what code do I need to use, currently and before I had mulitply side bars I had the following:

    <?php get_sidebar(); ?>

    I’ve tried placing the sidebar name inbetween the brackets, but had no success, I;ve also tried the following pieces of codex as well

    <?php register_sidebarr(); ?>
    <?php dynamic_sidebarr(); ?>

    Could someone tell me where I’m going wrong?

    Thank you

    Thread Starter jupperpeep

    (@jupperpeep)

    Hi

    Thank you for your link, so am I correct in thinking that I’m going to have to go through every file that it mentions in this link

    (output started at /websites/123reg/LinuxPackage21/ju/pp/er/jupperpeep.com/public_html/jadedeye/wp-admin/index.php:2)

    and check that the <php is on line one and that the code finishes with ?>

    What would have caused this?

    Thread Starter jupperpeep

    (@jupperpeep)

    Hi

    Thank you for your message, now I’ve changed the codex in my function.php to read the follwoing as I would like three sidebars:

    <?php
    if ( function_exists(‘register_sidebar’) ) {
    register_sidebar(array(‘name’=>’sidebar1’,
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h2 class=”widgettitle”>’,
    ‘after_title’ => ‘</h2>’,
    ));
    register_sidebar(array(‘name’=>’sidebar2’,
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h2 class=”widgettitle”>’,
    ‘after_title’ => ‘</h2>’,
    ));
    register_sidebar(array(‘name’=>’sidebar3’,
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h2 class=”widgettitle”>’,
    ‘after_title’ => ‘</h2>’,
    ));
    }

    And I found that I have the three sidebars in my admin section, which is great. My only problem no is that I’m getting a little confused about the code which I have to place in my index.php, at present the code is: <?php get_sidebar(); ?> but when I add the suggested code:

    <?php if ( !function_exists(‘dynamic_sidebar’)
    || !dynamic_sidebar() ) : ?>

    It throws it all over the place, or forces this error message:

    Parse error: syntax error, unexpected $end in /websites/123reg/LinuxPackage21/ju/pp/er/jupperpeep.com/public_html/jadedeye/wp-content/themes/Equilibrium/index.php on line 84

    What am I doing wrong?

    Thread Starter jupperpeep

    (@jupperpeep)

    Thank you, you’re a star!

    Thread Starter jupperpeep

    (@jupperpeep)

    Okay, Ill speak to my host then.

    Thank you for your help

    Thread Starter jupperpeep

    (@jupperpeep)

    I’e got it Framed web-forwarded to a single page and have URL to forward website for jadedeye.com to https://jupperpeep.com/jadedeye

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