Forums

[Plugin: WP-RelativeDate] Where the hell do you configure this to work?! (6 posts)

  1. ldexterldesign
    Member
    Posted 3 months ago #

    Can't find anything anywhere?!

    If not a dedicated admin section I would at least expect to see something in the Settings>General.

    Help?

    Thanks,
    L

  2. GamerZ
    Member
    Posted 3 months ago #

    rtfm? readme.html under Usage Tab. There is one in the zip and one online http://lesterchan.net/wordpress/readme/wp-relativedate.html

  3. ldexterldesign
    Member
    Posted 3 months ago #

    For a start the_date() isn't used in Wordpress 2.8 - the_time() is used instead. I dare say this is impacting the way this plug-in works, because it's not working, from default, on activation for me.

    Thanks,
    L

  4. ldexterldesign
    Member
    Posted 3 months ago #

    I am able to get the following out of the plugin by using the relative_post_the_date(); function in my templates:

    27/07/2009 (2 days ago)

    However I have no idea as to how to get rid of the initial date part :Z

    My code (9th line down):

    <div id="content" class="narrowcolumn" role="main"><br />
      <?php if (have_posts()) : ?><br />
      <?php while (have_posts()) : the_post(); ?><br />
      <div <?php post_class() ?> id="post-<?php the_ID(); ?>"><br />
        <h2><a>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><br />
          <?php the_title(); ?><br />
          </a></h2><br />
        <small><br />
        <?php relative_post_the_date(); ?><br />
        <!-- by <?php the_author() ?> --><br />
        </small><br />
        <div class="entry"><br />
          <?php the_content('Read the rest of this entry �'); ?><br />
        </div><br />
        <p class="postmetadata"><br />
          <?php the_tags('Tags: ', ', ', '<br />'); ?><br />
          Posted in<br />
          <?php the_category(', ') ?><br />
          |<br />
          <?php edit_post_link('Edit', '', ' | '); ?><br />
          <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?><br />
        </p><br />
      </div><br />
      <?php endwhile; ?><br />
      <div class="navigation"><br />
        <div class="alignleft"><br />
          <?php next_posts_link('� Older Entries') ?><br />
        </div><br />
        <div class="alignright"><br />
          <?php previous_posts_link('Newer Entries �') ?><br />
        </div><br />
      </div><br />
      <?php else : ?><br />
      <h2 class="center">Not Found</h2><br />
      <p class="center">Sorry, but you are looking for something that isn't here.</p><br />
      <?php get_search_form(); ?><br />
      <?php endif; ?><br />
    </div>

    Thanks,
    L

  5. safetycopy
    Member
    Posted 1 month ago #

    I'm having the same trouble and, quite honestly, rtfm is not a helpful reply. I did rtfm and it didn't help - I'm still getting a display like 'October 16, 2009 (6 days ago)'...

  6. GamerZ
    Member
    Posted 1 month ago #

    That is what is suppose to be "October 16, 2009 (6 days ago)" is correct.

Reply

You must log in to post.

About this Topic