Need help to fix these on my IM blog

by erickz
3 replies
  • WEB DESIGN
  • |
Hi all,
I have just created my first IM blog in reponse to Colleen's 30 days challenge. I did this to more or less instill a discipline in myself and to keep track of my progress in this IM journey.
however, i faced some problems when i set up the theme from woothemes.

my site: http://www.imnewbie.info
1) there are 2 rows of tags as shown on the blog "posts" when accessing the individual post page

2) how do i eliminate the "tags" on the "about","contact" and "privacy" pages?

3) its seems that "archives" column in the "privacy" page alignment is not correct?

anyone can help me to solve these?

thks...
#blog #fix
  • Profile picture of the author absbica
    is this Wordpress?

    In the template files themselves, you may see a line of code that looks like this:

    Is there a separate ABOUT template...maybe about.php? maybe they are using page.php.

    Look for that line of code for those respected pages and remove it.

    <?php the_tags('Tags: ', ', ', '<br />'); ?>

    Regarding your alignment issues...it seems all your <div class="widget"> sections are NOT inside the sidebar div, and they should be.
    {{ DiscussionBoard.errors[390937].message }}
    • Profile picture of the author erickz
      Originally Posted by absbica View Post

      is this Wordpress?

      In the template files themselves, you may see a line of code that looks like this:

      Is there a separate ABOUT template...maybe about.php? maybe they are using page.php.

      Look for that line of code for those respected pages and remove it.

      <?php the_tags('Tags: ', ', ', '<br />'); ?>

      Regarding your alignment issues...it seems all your <div class="widget"> sections are NOT inside the sidebar div, and they should be.
      hi absbica,
      thanks for the help.. i will take a look shortly on that.
      this issue took me quite a few hours to troubleshoot and in the end i just leave it there for the time being coz i can't figure out where is the "coding" that i need to change.
      i know nuts about html and programming but trying to figure out simple html that i can edit myself. will revert soon after i checked on the codes again.. thks!
      {{ DiscussionBoard.errors[392743].message }}
  • Profile picture of the author erickz
    hi all,
    i am lost and can't figured out where to edit the codings
    i can't figured out where to find the tags code to ammend and remove these tags on my pages and posts.

    the post.php code as follow:

    <?php get_header(); ?>

    <div id="contentcontainer" class="grid_9 alpha">

    <div id="content">

    <?php $counter = 0; ?>

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

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

    <?php $counter++; ?>

    <div class="post">

    <div class="meta grid_2 alpha">

    <ul>
    <li class="auth"><em>By</em> <?php the_author_posts_link(); ?></li>
    <li class="cat"><em>In</em> <?php the_category(', '); ?></li>
    <li class="date"><?php the_time('d/m/y'); ?> at <?php the_time('H:i'); ?></li>
    <li class="comms"><a href="<?php comments_link(); ?>"><?php comments_number('0','1','%'); ?> Comments</a></li>
    </ul>

    </div><!--grid_2-->

    <div class="postbody grid_7 omega <?php if ( $counter == 1 ) { ?>first<?php } ?>">

    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>

    <div class="entry">
    <?php the_content(); ?>
    <?php the_tags('<p>Tags: ',', ','</p>'); ?>
    </div><!--entry-->

    </div><!--grid_7-->

    <div class="clearfix"></div>

    </div>

    <div id="comments">
    <?php comments_template(); ?>
    </div><!--comments-->

    <?php endwhile; ?>

    <?php endif; ?>

    </div><!--content-->

    </div><!--contentcontainer-->

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>



    the page.php code as follow:

    <?php get_header(); ?>

    <div id="contentcontainer" class="grid_9 alpha">

    <div id="content">

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

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

    <div class="post">

    <div class="meta grid_2 alpha">

    <ul>
    <li class="pagedesc"><?php if ( get_post_meta( $post->ID, 'page-description', $single = true ) <> "" ) { echo '<em>What is this?</em><br />' . stripslashes( get_post_meta( $post->ID, 'page-description', $single = true ) ); } else { echo '&nbsp;'; }?></li>
    </ul>

    </div><!--grid_2-->

    <div class="postbody grid_7 omega first">

    <h2><?php the_title(); ?></h2>

    <div class="entry">
    <?php the_content(); ?>
    </div><!--entry-->

    </div><!--grid_7-->

    <div class="clearfix"></div>

    </div>

    <?php endwhile; ?>

    <?php endif; ?>

    </div><!--content-->

    </div><!--contentcontainer-->

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>


    btw, i also found a tag.php page which is quite similar to the page.php.
    is it the page that is causing the problems?

    tag.php

    <?php get_header(); ?>

    <div id="contentcontainer" class="grid_9 alpha">

    <div id="content">

    <?php $counter = 0; ?>

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

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

    <?php $counter++; ?>

    <div class="post">

    <div class="meta grid_2 alpha">

    <ul>
    <li class="auth"><em>By</em> <?php the_author_posts_link(); ?></li>
    <li class="date"><?php the_time('d/m/y'); ?> at <?php the_time('H:i'); ?></li>
    <li class="comms"><a href="<?php comments_link(); ?>"><?php comments_number('0','1','%'); ?> Comments</a></li>
    </ul>

    </div><!--grid_2-->

    <div class="postbody grid_7 omega <?php if ( $counter == 1 ) { ?>first<?php } ?>">

    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>

    <div class="entry">
    <?php if ( get_option('woo_the_content') ) { the_content(); } else { the_excerpt(); ?><p><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">Continue Reading...</a></p><?php } ?>
    </div><!--entry-->

    </div><!--grid_7-->

    <div class="clearfix"></div>

    </div>

    <?php endwhile; ?>

    <?php endif; ?>

    </div><!--content-->

    <div class="clearfix"></div>

    <div id="postnav">

    <div class="fl"><?php next_posts_link('&laquo; Older Entries') ?></div>
    <div class="fr"><?php previous_posts_link('Newer Entries &raquo;') ?></div>

    <div class="clearfix"></div>

    </div><!--postnav-->

    </div><!--contentcontainer-->

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>


    thanks for help....
    {{ DiscussionBoard.errors[399833].message }}

Trending Topics