• 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

Viewing 7 replies - 1 through 7 (of 7 total)
  • rtfm? readme.html under Usage Tab. There is one in the zip and one online https://lesterchan.net/wordpress/readme/wp-relativedate.html

    Thread Starter ldexterldesign

    (@ldexterldesign)

    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

    Thread Starter ldexterldesign

    (@ldexterldesign)

    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

    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)’…

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

    Slimejam

    (@slimejam)

    The OP wants to get rid of the standard date display and just use the relative date. I found a hack for this at: https://iampariah.com/projects/wp-plugins/hack-wp-relativedate-to-show-only-relative-date-and-time.php

    Works fine, though the hack puts brackets around the relative date. To get rid of the brackets after you’ve applied this hack, just change $before = '(', $after = ')' on line 77 with $before = '', $after = ''.

    I am using WP 2.9.2 and it does not appear that the relative dates appear on any posts older than a day. I have had other troubles in the past and have spent hours trying to debug it. I just wound up deactivating on all of my sites. I would like to use the plugin, but I am not php savvy enough to figure out the bugs or create hacks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WP-RelativeDate] Where the hell do you configure this to work?!’ is closed to new replies.