Apraksts
Old Post Alert shows a banner in your comments form for posts more than a month old. The banner reminds the commentor that there may be newer information available later in the blog. This may cut down on comments that are irrelevant due to more recent developments.
Uzstādīšana
- Download the plugin archive and expand it (you’ve likely already done this).
- Upload the old-post-alert.php file to your wp-content/plugins directory (not in a sub-folder).
- Go to the Plugins page in your WordPress Administration area and click ‘Activate’ for Old Post Alert.
- Congratulations, you’ve just installed Old Post Alert.
- Optional: set a CSS class for
old_post_alert
to style the banner.
BUJ
-
This plugin relies on the
comment_form
to be present in your comments.php template. If this does not exist, you will want to add it:<?php do_action('comment_form', $post->ID); ?>
-
Anything else?
-
That about does it – enjoy!
–Alex King
http://alexking.org/projects/wordpress
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Old Post Alert” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Old Post Alert” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.