• rdeboer

    (@rdeboer)


    Hello Ronald B?r,

    We do the central hosting for 30 WordPress sites with local webmasters who can manage their own site, content en plugins. We used a plugin “Site Last Modified”, but it has been removed from www.remarpro.com. So we are looking for a new alternative. We simply want only the Last Modified date from a site in the footer of the site, for instance as a Widget or a variable. The last date from the posts and the pages together.
    Your plugin/widget List Last Changes comes close to that!
    You still have an option to show or hide the author.
    Can you also make an option to show or hide the pagetitle?
    So the local webmaster can choose if they only want to show the Last Modified Date (Number=1) or show some more data.

    There is another alternative, the plugin WP Last Modified Info (active installations 20.000+), who can do it. But it has so much more options we do not use, so it is more difficult for our webmasters. Your widget is just simple to use and to explaine to our local webmasters!

    Kind regards,
    Richard de Boer

    • This topic was modified 4 years ago by rdeboer.
    • This topic was modified 4 years ago by rdeboer.
    • This topic was modified 4 years ago by rdeboer.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author rbaer

    (@rbaer)

    Hi Richard de Boer

    My first thought was that it is an abuse of the plugin, but the second thought was that it should be already be possible without changing the code, although it was not planned.
    When you add the following snippet to your stylesheet, the title of the post or page is not displayed:
    li.list_last_changes_title a { display: none; }

    Hope this helps,
    Roland

    Thread Starter rdeboer

    (@rdeboer)

    Hello Roland,

    Thank you for your quick response!
    I will try your code for adding to the stylesheet.
    But this makes it a little bit more difficult to use to our local webmasters.
    They do not all know about stylesheets …
    But maybe I can explain it in a small manual.

    If you can make it as an option in de widget I would appreciate it.
    And your plugin/widget may be more useable!

    Kind regards,
    Richard de Boer

    Thread Starter rdeboer

    (@rdeboer)

    Hello Roland,

    I made the CSS change with the standard option to edit the Theme, with the “Extra CSS”, and it works. So our local webmasters can also add this CSS.
    I added just some style for the date:
    li.list_last_changes_title a { display: none; }
    span.list_last_changes_date { font-size: large; margin-left: 0 }

    We have to make a choice between the plugin WP Last Modified Info with much options and your easy to use List Last Changes, but with an extra CSS. Maybe we mentions both options to the local webmasters and let them decide!

    Thanks and kind regards,
    Richard de Boer

    Thread Starter rdeboer

    (@rdeboer)

    Hello Roland,
    A new version with a template option for only the {change date}!
    You are moving the right way, thanks.
    I see it also planned for in the widget.
    For your interest: in your description page you are using some wrong single quotes in your template example:
    [list_last_changes number=’7′ showpages=’true’ showposts=’true’ showauthor=’false’ template='{title} {change_date} {author}’ /]
    If you use this, you do not see any line.
    In your readme.txt you use the right quotes.

    Regards,
    Richard de Boer

    Plugin Author rbaer

    (@rbaer)

    Hi Richard

    Thanks for informing me about the problem. It looks like this happened when the parsing mechanism of the WordPress Plugin pages handled the description. The example is now marked as code and should not be altered by the parser.

    Greetings
    Roland

    Thread Starter rdeboer

    (@rdeboer)

    Hello Roland,

    Thank you for your latest version 0.9.5 en 1.0.0 and introducing the template mechanism in the widget!
    Now it is simple to use the {change_date} as only element as Last Modified Date of a WordPress Site, also for our local webmasters.

    Margin-left of margin-right?
    You use in your list-last-changes.css a margin-left for the {change_date} and the {author} and no margin for the {title}. If you use the {change_date} or {author} as first element, you get an unnecessary left margin. If you use the {title} after the {change_date} or {author} there is no left margin for the title.If you put one (or more) space in the Template field, you get one space as left margin for the {title} …

    If you use for all three elements a margin-right it looks good in all combinations!
    You do not see the margin right in the last element you choose. I made an image with a few examples. I did not use this WP forum for a long time and I see now I cannot add an image to a message. So I will send it separate to your email address. Sorry for this forum …

    To use the CCS for the {title} I put the class=”list_last_changes_title” in line 106 of the list-last-changes.php.

    If I only use the {change_date} with 1 line I should prefer the normal font-size and not the 0.785714rem. But I can understand that if you use more lines you could prefer other font-sizes.

    ORIGINAL
    span.list_last_changes_date, span.list_last_changes_author
    {
        color: rgb(170, 170, 170);
        font-size: 0.785714rem;
        margin-left: 0.857143rem;
    }
    
    CHANGED
    span.list_last_changes_title, span.list_last_changes_date, span.list_last_changes_author
    {
        color: rgb(170, 170, 170);
        margin-right: 0.857143rem;
    }
    
    LINE 106 list-last-changes.php
    "{title}" => '<span class="list_last_changes_title"><a href="' . get_permalink( $post->ID ) .'">' . $post->post_title . "</a></span>",

    Regards,
    Richard de Boer

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Option to show/hide pagetitle?’ is closed to new replies.