Take out top_metadata

resolved (8 posts) (4 voices)

  1. Iangoolsby
    Member

    How can I take off the top_metadata for each post so that I just show the title only?

    Posted 1 year ago #
  2. Iangoolsby
    Member

    OH YEAH!!! and I also need to remove the (Comments are closed on this post) from the bottom of each post. THANKS

    Posted 1 year ago #
  3. Elliott
    Support

    Hello langoolsby,

    For the comments see here..

    http://mysitemyway.com/support/topic/how-can-i-disable-comments-are-closed-on-this-post#post-991

    For the meta data within a post you will need to open up /wp-content/themes/infocus/lib/includes/template-single.php and on lines 177 - 184 you should see this..

    <div class="top_metadata">
    	<?php $get_year = get_the_time('Y'); $get_month = get_the_time('m'); ?>
    	Posted <a href="<?php echo get_month_link($get_year, $get_month); ?>"><?php the_time('M j Y') ?></a> by <?php the_author_posts_link(); ?>
    			<?php if ( count(($categories=get_the_category())) > 1 || $categories[0]->cat_ID != 1 ) : ?>
    				 in <?php the_category(', ') ?>
    			<?php endif; ?>
    	with <?php comments_popup_link('0 Comments', '1 Comment', '% Comments'); ?>
    </div>

    Comment out or delete those lines. Let us know if it works for you.

    Posted 1 year ago #
  4. udroma
    Member

    hello, i tried to follow this post and it did take out the top metadate but now the title above (post title) is cut into the image below...
    how can i fix this?

    Posted 10 months ago #
  5. Elliott
    Support

    Hello udroma,

    If possible then send us a link to your site or take a screenshot and highlight the area so we can get a better idea of what is going on.

    Posted 10 months ago #
  6. Hi udroma,

    open up style.css and go at line 547:

    .blog_frame{
        background: transparent url(images/blog_thumb.png) no-repeat scroll 0 0;
        height:290px;
        margin-top:-20px;
        position:relative;
        width:624px;}

    Remove margin-top:-20px; from the code.

    Posted 10 months ago #
  7. udroma
    Member

    that did it!! thanks a lot

    Posted 10 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme