WordPress.org

Ready to get started?Download WordPress

Forums

What is causing this? (12 posts)

  1. rhythmofthecosmos
    Member
    Posted 4 years ago #

    Hi,

    Under my blog posts, I keep getting this message

    This entry was posted on Monday, November 16th, 2009 at 6:10 pm and is filed under Geek. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site. Edit this entry.

    For example http://www.leehughes.co.uk/2009/11/sixthsense-technology/

    What could be causing this?

    thanks

  2. kmessinger
    Volunteer Moderator
    Posted 4 years ago #

    Only you see the edit this entry. That is when you are logged in.

  3. do77
    Member
    Posted 4 years ago #

    This code snippet:

    <p class="postmetadata alt">
    					<small>
    						This entry was posted
    												on Monday, November 16th, 2009 at 6:10 pm						and is filed under <a href="http://www.leehughes.co.uk/category/geek/" title="View all posts in Geek" rel="category tag">Geek</a>.
    						You can follow any responses to this entry through the <a href='http://www.leehughes.co.uk/2009/11/sixthsense-technology/feed/'>RSS 2.0</a> feed.
    
    													You can <a href="#respond">leave a response</a>, or <a href="http://www.leehughes.co.uk/2009/11/sixthsense-technology/trackback/" rel="trackback">trackback</a> from your own site.
    
    					</small>
    				</p>

    in your index.php file causes it. ;)

    Just remove it if you do not want it to show up...

    Best,
    do77

  4. rhythmofthecosmos
    Member
    Posted 4 years ago #

    hi...

    just been into my index.php file and could not see that code..

    i only have

    ?php get_header(); ?>
    <div id="content">
    <div id="main-area">
    <?php if (have_posts()) : ?>

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

    <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    <h2>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></h2>
    <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>

    <div class="entry">
    <?php the_content('Read the rest of this entry »'); ?>
    </div>

    <p class="postmetadata"><?php the_tags('Tags: ', ', ', '
    '); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
    </div>
    <hr class="hrline" />
    <?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 : ?>

    <h2 class="center">Not Found</h2>
    <p class="center">Sorry, but you are looking for something that isn't here.</p>
    <?php get_search_form(); ?>

    <?php endif; ?>
    </div>
    <?php get_sidebar(); ?>
    </div>
    <?php get_footer(); ?>

  5. do77
    Member
    Posted 4 years ago #

    Are you using a static page as the frontpage? Then you should check your page.php file!

    do77

  6. rhythmofthecosmos
    Member
    Posted 4 years ago #

    Am using a static page yes but this only shows up in the blog..

    It's not in the page.php file either

  7. do77
    Member
    Posted 4 years ago #

    Okay, check your single.php file. That's where it will be! :-D

    do77

  8. rhythmofthecosmos
    Member
    Posted 4 years ago #

    Ok, think it's in here but it's in php language.. not sure which to delete

    Am thinking

    <p class="postmetadata alt">
    					<small>
    						This entry was posted
    						<?php /* This is commented, because it requires a little adjusting sometimes.
    							You'll need to download this plugin, and follow the instructions:
    							http://binarybonsai.com/wordpress/time-since/ */
    							/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
    						on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
    						and is filed under <?php the_category(', ') ?>.
    						You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.

    Is that right?

    many thanks :)

  9. rhythmofthecosmos
    Member
    Posted 4 years ago #


  10. rhythmofthecosmos
    Member
    Posted 4 years ago #

    <?php get_header(); ?>
    <div id="content">
        <div id="main-area">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    		<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    			<h2><?php the_title(); ?></h2>
    
    			<div class="entry">
    				<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
    
    				<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    				<?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
    <div id="small-single-text">
    				<p class="postmetadata alt">
    					<small>
    						This entry was posted
    						<?php /* This is commented, because it requires a little adjusting sometimes.
    							You'll need to download this plugin, and follow the instructions:
    							http://binarybonsai.com/wordpress/time-since/ */
    							/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
    						on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
    						and is filed under <?php the_category(', ') ?>.
    						You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
    
    						<?php if ( comments_open() && pings_open() ) {
    							// Both Comments and Pings are open ?>
    							You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
    
    						<?php } elseif ( !comments_open() && pings_open() ) {
    							// Only Pings are Open ?>
    							Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
    
    						<?php } elseif ( comments_open() && !pings_open() ) {
    							// Comments are open, Pings are not ?>
    							You can skip to the end and leave a response. Pinging is currently not allowed.
    
    						<?php } elseif ( !comments_open() && !pings_open() ) {
    							// Neither Comments, nor Pings are open ?>
    							Both comments and pings are currently closed.
    
    						<?php } edit_post_link('Edit this entry','','.'); ?>
    
    					</small>
    				</p>
                    </div>
    
    			</div>
    		</div>
    
    	<?php comments_template(); ?>
    
    	<?php endwhile; else: ?>
    
    		<p>Sorry, no posts matched your criteria.</p>
    
    <?php endif; ?>
    </div>
    <?php get_sidebar(); ?>
    </div>
    <?php get_footer(); ?>
  11. do77
    Member
    Posted 4 years ago #

    If you want to get rid off the whole thing you should delete the following code snippet:

    <div id="small-single-text">
    				<p class="postmetadata alt">
    					<small>
    						This entry was posted
    						<?php /* This is commented, because it requires a little adjusting sometimes.
    							You'll need to download this plugin, and follow the instructions:
    							http://binarybonsai.com/wordpress/time-since/ */
    							/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
    						on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
    						and is filed under <?php the_category(', ') ?>.
    						You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
    
    						<?php if ( comments_open() && pings_open() ) {
    							// Both Comments and Pings are open ?>
    							You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
    
    						<?php } elseif ( !comments_open() && pings_open() ) {
    							// Only Pings are Open ?>
    							Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
    
    						<?php } elseif ( comments_open() && !pings_open() ) {
    							// Comments are open, Pings are not ?>
    							You can skip to the end and leave a response. Pinging is currently not allowed.
    
    						<?php } elseif ( !comments_open() && !pings_open() ) {
    							// Neither Comments, nor Pings are open ?>
    							Both comments and pings are currently closed.
    
    						<?php } edit_post_link('Edit this entry','','.'); ?>
    
    					</small>
    				</p>
                    </div>

    BACKUP THE FILE before you delete any code!

    Best,
    do77

  12. rhythmofthecosmos
    Member
    Posted 4 years ago #

    wicked thanks :)

    All working now :D

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags