Register or log in:



Hot Tags

Blog Oh! Blog Forums » Wordpress Themes

techicon 1.0 more space

(8 posts)
  • Started 5 months ago by 55940301
  • Latest reply from 55940301

Tags:


  1. 55940301
    Member

    I'm trying to re-arrange the layout on the default theme and need some help. Where it says "Subscribe to my blog using RSS" (sidebar.php?), I'd like to move that underneath where posts go.

    I'd also like to extend both posts and side bar to take up the whole width of the screen.

    Posted 5 months ago #
  2. You should modify style.css for that and modify widths of different elements.

    Posted 5 months ago #
  3. 55940301
    Member

    thanks, any suggestions on what I would have to change to get the desired output? Would it be just style.css that I would have to change or would I have to re-arrange the div tags?

    Posted 5 months ago #
  4. Yes. You will need to bring the subscribe part below the content. You can arrange that in the index.php file.

    Posted 5 months ago #
  5. 55940301
    Member

    At the very end of index.php I've tried a couple of different things with no luck. Here is what I have now:
    <?php endif; ?>
    </div>
    </div>
    <?php include (TEMPLATEPATH . '/sidebar.php'); ?>

    <br clear="all" />
    <?php get_footer(); ?>
    </div>
    </div>
    </body>
    </html>

    How would I change the div tags in the default template to get the desired results?

    Posted 5 months ago #
  6. 55940301
    Member

    BTW - I'm using an application called goodpage to change the div tages. One pro about the application is that it allows you to view the layout of the code, structure and browser using php code. I was able to create a one page basic template that shows how the div tages all come together. My problem is that it in goodpage the tags look right in the browser, but when I make the changes live it dosen't work.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php wp_head(); ?>
    <?php include (TEMPLATEPATH . '/queries.php'); ?>
    </head>
    <body>
    <div id="wrapper">

    <div id="topbar">

    <div id="topbarleft">
    <div id="navigation">
    <ul id="menu">
    <li class="<?php if (((is_home()) && !(is_paged())) or (is_archive()) or (is_single()) or (is_paged()) or (is_search())) { ?>current_page_item<?php } else { ?>page_item<?php } ?>">">Home<?php echo $langblog;?>
    <?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>

    </div>
    </div>

    <div id="topbarright">
    <?php include(TEMPLATEPATH . '/searchform.php'); ?>
    </div>

    </div>

    <div id="header"><h1>/"><?php bloginfo('name'); ?></h1><h2><?php echo bloginfo('description'); ?></h2></div>

    <div id="recent">
    <div id="titles">
    <div id="title1">Latest Posts »</div>
    <div id="title2">Latest Comments »</div>
    <div id="title3">Popular Posts »</div>
    </div>
    <div id="values">
    <div id="value1"><?php get_archives('postbypost', '5', 'custom', '» ', '
    '); ?></div>
    <div id="value2"><?php src_simple_recent_comments(5); ?></div>
    <div id="value3"><?php mdv_most_commented(); ?></div>
    </div>
    </div>

    <div id="main">
    <div class="entry">

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class="post" id="post-<?php the_ID(); ?>">
    <h2>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></h2>
    <small>Written by <?php the_author() ?> on "><?php unset($previousday); printf(__('%1$s – %2$s'), the_date('', '', '', false), get_the_time()) ?></small>

    <div class="postbg"><?php the_content('Read more »'); ?></div>

    <?php the_tags('Tags: ', ', ', '
    '); ?>Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
    </div>

    <?php endwhile; ?>

    <div class="navigation">
    <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
    <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
    </div>

    <?php else : ?>
    <div class="post">
    <h2 class="center search">Search could not find anything!</h2>
    <p class="center">Sorry, but you are looking for something that isn't here.</p>
    </div>
    <?php endif; ?>

    </div>
    </div>
    <div id="sidebar">
    <div id="subscribe">
    test
    </div>

    <div id="sidebar1">side 1</div>
    <div id="sidebar2">side 2</div>
    <div id="sidebar3">side 3</div>
    </div>

    <br clear="all" />
    <div id="footer">
    Wordpress Theme by Jai Nischal Verma
    </div>
    </div>
    </body>
    </html>

    Posted 4 months ago #
  7. 55940301
    Member

    It seems like the code above should work, but the change I see on my computer isn't reflected when I make the change on-line. Is there something I'm missing with the php code?

    Posted 4 months ago #
  8. 55940301
    Member

    is no one able to guide me?

    Posted 4 months ago #

RSS feed for this topic

Reply

You must log in to post.

{ A Forum of Blog Oh! Blog }