• 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:

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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

    Thread Starter Kafkaesqui

    (@kafkaesqui)

    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…

    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

    Thread Starter Kafkaesqui

    (@kafkaesqui)

    “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.

    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

    Thanks my dear Kafkaesqu?- – much appreciated!

    Thread Starter Kafkaesqui

    (@kafkaesqui)

    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.
    https://guff.szub.net/blog-copyright/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Plugin: Blog Copyright’ is closed to new replies.