• Hello everyone. This is my first post here, but I a sure I will spend a lot of time here. I don’t want to bore you or to put off from the topic, but first let me explain that I’ve found this post but did not want to bump it: 177123

    It also seems like it is not what I want. First, I could not find the code to replace in the index, which I think is what I will need to change?

    Basically, I am using the BlogSimplified theme, but I have modified it. It has only one side bar, but there is a 2 sidebar version if it would be too hard to just add one myself.

    Here is a picture of how I want my index to be (which will make all my pages like this because the bottom is a sidebar). Is this possible? I’m very new to PHP and wordpress, but I have made some cool edits to my page so far and can understand it if someone can walk with me:

    https://img200.imageshack.us/img200/5109/askinforhelp.png

    I basically want the area under the content to be a sidebar (2 more sidebars if at all possible, actually) displaying the recent posts and some a big custom HTML widget. Can I achieve this on WP?

    Thanks in advance
    Brian

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter justbrian

    (@justbrian)

    Ok, I can add a sidebar before the final div of the content and only show max-1-post – got that. Now to register a new sidebar. Where exactly do we paste this code into widgets.php?

    <?php if ( function_exists ('register_sidebar')) {
        register_sidebar ('bottomsidebar');
    } ?>

    The tutorial I am reading then instructs:

    In your sidebar-templates you may now call the dynamic generated content (widgets) by the index of your sidebars:

    <?php if ( function_exists ( dynamic_sidebar(1) ) ) : ?>
    ... regular html ...
    <?php dynamic_sidebar (1); ?>
    ... regular html ...
    <?php endif; ?>

    Where do I find the file this goes into, and where do I paste and edit this code? I know that this is how I call it, just before the final div in index (and I assume I will need to call it in single and others too??):

    <?php get_sidebar ('custom'); ?>

    Thread Starter justbrian

    (@justbrian)

    well, I figured out how to do it: https://brishare.com

    It was a lack of clarity in the info I was reading on the codex. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help me to alter my index?’ is closed to new replies.