Skip to content
This repository has been archived by the owner. It is now read-only.
Wordpress plugin to label old posts with a custom message.
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
src/label-old-posts
.gitignore
LICENSE.md
README.md

README.md

Label Old Posts

Wordpress Plugin

This plugin labels old posts on a wordpress website. This is useful if you have older posts that you may want to remind the user about information possibly being out of date.

How To Use This Plugin

Install the plugin. Then, insert the following PHP in your theme file that is used for posts. This may be called content.php

do_action('label-old-posts');

The message will be included in a div with the class of label-old-posts-label. Target it with this CSS selector:

.label-old-posts-label

How to Install

Download dist/label-old-posts.php and upload to your plugin directory - or visit https://wordpress.org/plugins/label-old-posts/ to see the official distribution.

You can’t perform that action at this time.