azurecurve ClassicPress Plugins: Remove Revisions

ClassicPress PluginsThis is part of the azurecurve ClassicPress Plugins series which introduces the plugins I have available for ClassicPress.

The plugin I am going to cover in this post, is one written specifically for ClassicPress ; Remove Revisions.

Functionality

While revisions can be disabled or limited in number with settings in the wp-config file, there is no way to allow for the deletion of revisions over a certain ago. That is what this plugin allows you to do.

In the options you can set the number of months after which revisions are to be deleted. They can then be deleted at the click of a button or via a cron job running on a daily schedule.

The options also allow you to select the post types (both standard and custom) which can have revisions removed.

Removal of revisions is done using the ClassicPress function to ensure they are done correctly.

This plugin is multisite compatible, with options set on a per site basis.

Download

The plugin can be downloaded from my GitHub.

Click to show/hide the azurecurve ClassicPress Plugins Series Index

azurecurve ClassicPress Plugins: Disable FLoC

ClassicPress PluginsThis is part of the azurecurve ClassicPress Plugins series which introduces the plugins I have available for ClassicPress.

The plugin I am going to cover in this post, is one written for ClassicPress by John Alrcon which I have now adopted; Disable FLoC.

Functionality

Have you ever heard of “Federated Learning of Cohorts” – or FLoC? It is Google’s next-generation technique for tracking users across the web. They say it’s anonymous and safe. We know better. This plugin sets a header to disable the FLoC tracking.

Download

The plugin can be downloaded from my GitHub.

Click to show/hide the azurecurve ClassicPress Plugins Series Index

azurecurve ClassicPress Plugins: Username Protection

ClassicPress PluginsThis is part of the azurecurve ClassicPress Plugins series which introduces the plugins I have available for ClassicPress.

The plugin I am going to cover in this post, is one written for ClassicPress by John Alrcon which I have now adopted; Username Protection.

Functionality

This plugin allows you to remove anonymous access to usernames in ClassicPress to help mitigate brute-force attacks. For visitors who are not logged in, usernames are removed from the REST API, feeds, author pages, and prevented from exposure through other common vectors of discovery.

Download

The plugin can be downloaded from my GitHub.

Click to show/hide the azurecurve ClassicPress Plugins Series Index

azurecurve ClassicPress Plugins: Estimated Read Time

ClassicPress PluginsThis is part of the azurecurve ClassicPress Plugins series which introduces the plugins I have available for ClassicPress.

The plugin I am going to cover in this post, is one written for ClassicPress by John Alarcon which I have now adopted; Estimated Read Time.

Functionality

This plugin allows you to display expected reading times on your articles and summaries; a filter allows the read time to be changed if the default of 200 words per minute is not suitable (more technical content would generally have a slower read time).

An example of this plugin can be see in the post heading where the estimated read time is shown.

Download

The plugin can be downloaded from my GitHub.

Click to show/hide the azurecurve ClassicPress Plugins Series Index

azurecurve ClassicPress Plugins: Widget Announcements

ClassicPress PluginsThis is part of the azurecurve ClassicPress Plugins which introduces the plugins I have available for ClassicPress.

The plugin I am going to cover in this post, is a brand new one written for ClassicPress; Widget Announcements.

Functionality

Announce holidays, events, achievements and notable historical figures in a widget.

Announcements can be made:

  • One off
  • Monthly
  • Annually
  • Good Friday
  • Easter Sunday
  • Easter Monday
  • Monthly on the nth day (e.g. 2nd Wednesday of every month)
  • Annually on the nth day of the month (e.g. 4th Thursday of November every year)

Announcements are created as a custom post type and can have details, an image, additional text after the image and can be assigned to multiple categories. A widget can be deployed to a sidebar or other widget area and include the announcements from a category.

Download

The plugin can be downloaded via my Development site.

Click to show/hide the azurecurve ClassicPress Plugins Series Index

azurecurve ClassicPress Plugins: Snippets

ClassicPress PluginsThis is part of the azurecurve ClassicPress Plugins which introduces the plugins I have available for ClassicPress.

The plugin I am going to cover in this post, is a brand new one I’ve developed to make life easier by allowing the creation of snippets of HTML or other code or CSS; Snippets.

Functionality

Allows snippets of HTML, PHP, JavaScript and CSS to be created; an alternative to using a functions.php file.

Snippets can be used to create re-usable HTML or JavaScript snippets or to create PHP to add_actions or add_filters without needing to add them to the functions.php file or create a plugin.

The following types of snippet can be created:

  • HTML – can be loaded using the shortcode.
  • Internal CSS – automatically added as internal stylesheet.
  • CSS Stylesheet – automatically loaded.
  • Internal JavaScript – automatically added as internal JavaScript.
  • JavaScript File – automatically loaded.
  • PHP – can be loaded using the shortcode.
  • PHP File – automatically loaded.

Shortcode usage is either [snippet id=1013] (where the supplied id value is a snippet post_id) or [snippet slug=’hello-world’].

All snippets are loaded only on the site front end; this protects the admin dashboard from white screen errors caused by badly formed PHP.

Download

The plugin can be downloaded via my Development site.

Click to show/hide the azurecurve ClassicPress Plugins Series Index

azurecurve ClassicPress Plugins: Taxonomy Order

ClassicPress PluginsThis is part of the azurecurve ClassicPress Plugins which introduces the plugins I have available for ClassicPress.

The plugin I am going to cover in this post, is a brand new one I’ve developed to use on two of my other sies; Taxonomy Order.

Functionality

Set display order of the category and tag taxonomies of posts.

Download

The plugin can be downloaded via my Development site.

Click to show/hide the azurecurve ClassicPress Plugins Series Index

azurecurve ClassicPress Plugins: Gallery From Folder

ClassicPress PluginsThis is part of the azurecurve ClassicPress Plugins which introduces the plugins I have available for ClassicPress.

The plugin I am going to cover in this post, is a brand new one I’ve developed to use on two of my other sies; Gallery From Folder.

Functionality

Gallery From Folder is a simple plugin which will read a folder and display a gallery of all thumbnails with links to the original full-size image.

The [gallery-from-folder] shortcode can be provided with either an alt_id parameter referning a specific name, or a post_id for a ClassicPress post.

An example of the shortcode is [gallery-from-folder alt_id=”sample-gallery”]

Demo

An examples of this plugin in action can be found on coppr|Distilleries To Visit.

Download

The plugin can be downloaded via my Development site.

Click to show/hide the azurecurve ClassicPress Plugins Series Index

azurecurve ClassicPress Plugins: Nearby

ClassicPress PluginsThis is part of the azurecurve ClassicPress Plugins which introduces the plugins I have available for ClassicPress.

The plugin I am going to cover in this post, is a brand new one I’ve developed to use on two of my other sies; Nearby.

Functionality

Nearby creates a table of nearby locations (pages) based on GPS co-ordinates; it integrates with Flags from azurecurve, to display a flag next to the location, and Toggle Show/Hide from azurecurve.

Apply the [nearby] shortcode to a page with co-ordinates and nearby locations (pages with co-ordinates), and based on the settings, nearby locations will be displayed in a table showing the distance.

Demo

Examples of this plugin in action can be found on coppr|Distilleries To Visit and DarkNexus|Tourist Attractions.

Download

The plugin can be downloaded via my Development site.

Click to show/hide the azurecurve ClassicPress Plugins Series Index

azurecurve ClassicPress Plugin: Get GitHub File

ClassicPress PluginsThis is part of the which introduces the plugins I have available for ClassicPress.

The plugin I am going to cover in this post, is a brand new one written for ClassicPress; Get Github File.

Functionality

Gets the content of a file from a GitHub repository and outputs using a shortcode.

Settings allow default options, such as author, folder, filename to be specified. Additional options to allow the removal or conversion of WordPress headers in readme.txt files.

Available shortcode parameters:

  • account – account on GitHub
  • branch – branch to get file from
  • folder – folder containing the file
  • file – file to get from GitHub repository
  • repository – name of GitHub repository
  • startfrom – text in file to start outputting from (e.g. # Description)
  • htmlastext – 1 to output HTMl as text and 0 to output as HTML
  • shortcodesastext – 1 to output shortcodes as text and 0 to output as shortcode
  • wordpresstitles – remove/ignore/convert

All parameters except repository can be defined as defaults in settings.

Output is in markdown, but use of a plugin such as Markdown by azurecurve can convert this markdown to HTML markup.

Download

The plugin can be downloaded via my Development site.