1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

WordPress Posts - Remove Date

Discussion in 'WordPress' started by Pacific Publishing, Jan 11, 2008.

Thread Status:
Not open for further replies.
  1. #1
    I'm trying to find a way to remove the date from the welcome post at the top of http://obsessionfitness.com

    I've tried two plugins that did not work.

    Anyone?? Thanks.
     
    Pacific Publishing, Jan 11, 2008 IP
  2. konradbraun

    konradbraun Peon

    Messages:
    842
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I can do that for you for just $10. PM me to get it done right away!
     
    konradbraun, Jan 11, 2008 IP
  3. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #3
    You need an if statement in your index.php.

    if (category = Welcome)

    Omit date from post info
     
    mizaks, Jan 12, 2008 IP
  4. selvam_cbe

    selvam_cbe Peon

    Messages:
    181
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Simply Open Your Single.php File from your Theme Folder..Probably File Located Here
    /wp-content/themes/abstractia-10/single.php

    Here is Your Original Code

    <?php get_header(); ?>
    <div id="content">
    	<div id="blog">
    	<?php get_sidebar(); ?>
    	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    		<div class="blogpost" id="post-<?php the_ID(); ?>">
    				<div class="postdate">
    					<span class="postday"><?php the_time('j'); ?></span>
    					<span class="postmo"><?php the_time('M'); ?></span>
    				</div>	
    				
    				<div class="postheader">
    					<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    					<span class="postmeta">
    					Category: <?php the_category(', ') ?>
    					</span>
    				</div>
    
    			<div class="postbody">
    				<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
    			</div>
    			<p class="subpostmeta">
    			Posted <?php the_time('l, F jS, Y') ?> at <?php the_time() ?><br/>
    			Filed Under Category: <?php the_category(', ') ?><br/>
    			
    				<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    					
    
    						<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    							// Both Comments and Pings are open ?>
    							You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site.
    
    						<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    							// Only Pings are Open ?>
    							Responses are currently closed, but you can <a href="<?php trackback_url(true); ?> " rel="trackback">trackback</a> from your own site.
    
    						<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    							// Comments are open, Pings are not ?>
    							You can skip to the end and leave a response. Pinging is currently not allowed.
    
    						<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    							// Neither Comments, nor Pings are open ?>
    							Both comments and pings are currently closed.
    						<?php } edit_post_link('Edit this entry.','',''); ?>
    				</p>
    			</div>
    	<?php comments_template(); ?>
    
    	<?php endwhile; else: ?>
    
    		<p>Sorry, no posts matched your criteria.</p>
    
    <?php endif; ?>
    
    </div>
    
    <?php get_footer(); ?>
    
    Code (markup):
    and replace it with....

    <?php get_header(); ?>
    <div id="content">
    	<div id="blog">
    	<?php get_sidebar(); ?>
    	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    		<div class="blogpost" id="post-<?php the_ID(); ?>">
    							
    				<div class="postheader">
    					<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    					<span class="postmeta">
    					Category: <?php the_category(', ') ?>
    					</span>
    				</div>
    
    			<div class="postbody">
    				<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
    			</div>
    			<p class="subpostmeta">
    			Posted <?php the_time('l, F jS, Y') ?> at <?php the_time() ?><br/>
    			Filed Under Category: <?php the_category(', ') ?><br/>
    			
    				<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    					
    
    						<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    							// Both Comments and Pings are open ?>
    							You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site.
    
    						<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    							// Only Pings are Open ?>
    							Responses are currently closed, but you can <a href="<?php trackback_url(true); ?> " rel="trackback">trackback</a> from your own site.
    
    						<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    							// Comments are open, Pings are not ?>
    							You can skip to the end and leave a response. Pinging is currently not allowed.
    
    						<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    							// Neither Comments, nor Pings are open ?>
    							Both comments and pings are currently closed.
    						<?php } edit_post_link('Edit this entry.','',''); ?>
    				</p>
    			</div>
    	<?php comments_template(); ?>
    
    	<?php endwhile; else: ?>
    
    		<p>Sorry, no posts matched your criteria.</p>
    
    <?php endif; ?>
    
    </div>
    
    <?php get_footer(); ?>
    
    Code (markup):
    Rep me If it works..If it not works reply Here..I will help you..
     
    selvam_cbe, Jan 3, 2009 IP
    Pacific Publishing likes this.
  5. sarkin ruwa

    sarkin ruwa Peon

    Messages:
    483
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I have the same problem for Joomla can anyone advise
     
    sarkin ruwa, Jan 6, 2009 IP
  6. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #6
    Oh my GOD its just one min job for expert and u r charging 10$ :(
    I can do it FREELY , plz post ur post.php , index.php and page.php , archive.php code here.

    My dp blog has something as u desire. :p
     
    Jalpari, Jan 6, 2009 IP
Thread Status:
Not open for further replies.