WordPress.org

Forums

Plugin: Blog Copyright (8 posts)

  1. Kafkaesqui

    Posted 10 years ago #

    Blog Copyright displays a dated copyright mark. When displayed on general, category, search and author queries it provides a range of dates (first-last post years); on single posts, Pages and archive queries the year for the content will be used. Name, copyright term and reservation of rights text can be fully customized through tag parameters, or completely overridden with a custom field.

    More info, and the goodies of course, found here:

    http://guff.szub.net/blog-copyright/

  2. TechGnome
    Moderator
    Posted 10 years ago #

    Woah!.... took me longer to download it and read the online doc, than it did to actualy install it and config it..... Sweet man!

    Tg

  3. Kafkaesqui

    Posted 10 years ago #

    And R1.0.1 of Blog Copyright is up. Fixed a little problem in the code.

    Another issue I'm aware of but leaving for now is when using blog_copyright() inside The Loop, it displays the range of years for copyright, instead of using the year for the current post. Once I figure out the best way to tell the function it's in The Loop...

  4. TechGnome
    Moderator
    Posted 10 years ago #

    Would checking for the $post object, or a parameter setting work? I didn't even notice that last night when I tossed it on there.

    Tg

  5. Kafkaesqui

    Posted 10 years ago #

    "checking for the $post object"

    One would think that would work. Problem with The Loop is data from the last post sticks around long after it completes--not helpful for when blog_copyright() is called after it, say in the footer.

    Closest I came last night was testing on have_posts(), but this fails in the last post, and won't work if using a foreach($posts as $post) loop statement. Appears I may have to settle for a parameter the user can set when inserting it in The Loop, though I'd prefer not to. Still looking.

  6. TechGnome
    Moderator
    Posted 10 years ago #

    This might actualy relate to something else I had asked somewhere else (I think it was in the irc channel, or I'd link to it) about getting the post count (I was trying to do some formating to my template and needed to know when I was on the last post of the loop.

    Maybe we could ask the devs to create is_firstPost and is_lastPost check calls, much like the is_Category or is_Page calls.... ????

    Problem is that it would take sometime before they would get it actualy implemented.

    Tg

  7. vkaryl
    Member
    Posted 10 years ago #

    Thanks my dear Kafkaesquí - much appreciated!

  8. Kafkaesqui

    Posted 9 years ago #

    Blog Copyright has been updated for support under WordPress 2.0. New for the plugin is the in_loop parameter, to let the plugin know it's being run in The Loop, and a new function/template tag which accepts parameters in query string style format.

    That is all.
    http://guff.szub.net/blog-copyright/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags