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.

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.

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.

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.

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.

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.

azurecurve ClassicPress Plugins: All plugins now auto-update

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

I have 35 plugins now published for ClassicPress which have required a manual update whenever I released a new version. Well, CodePotent has developed an Update Manager plugin which can be used to automatically update plugins.

This has been integrated into the latest version of all of my plugins; this means if you manually update to the latest version, all future updates will come down as an automatic update which is applied in the same way as the WordPress plugin updates.

It’s been pointed out to me that I should clarify that by “automatic update” I mean it is available as an update in the same way as a standard plugin updated from the WordPress Repository, and in future from the ClassicPress Directory, not that it will update without an admin logging into the dashboard and hitting the update button.

All future plugins I create will include this automatic update functionality as well, until such time as the ClassicPress Plugin Directory is launched.

Updated at 2128 on 31/01/2020 to clarify what I mean by auto-update.

azurecurve ClassicPress Plugins: To Twitter

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; To Twitter.

Functionality

Allows posts to be automatically tweeted when they are published.

Mark the Post tweet on publish/update? checkbox to post tweet when the post is published (works for both immediately and scheduled posts.

Set hashtags in the hashtags box; these appear after the tweet.

Save a draft of the post to see auto-generated default tweet and amend if necessary; to regenerate default tweet, clear Tweet field and save draft; post URL is represented by a %s placeholder.

Integrates with my URL Shortener for URL in tweet.

This plugin is multisite compatible with each site having it’s own settings.

Download

The plugin can be downloaded via my Development site.

azurecurve ClassicPress Plugins: Markdown

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; Markdown.

Functionality

This plugin allows a [markdown]shortcode[/markdown] to be applied which will translate markdown into HTML markup for display.

Demo

Markdown is installed on my Development site with all of the plugin pages, including the one for this plugin are written in markdown.

Download

The plugin can be downloaded via my Development site.

azurecurve ClassicPress Plugins: Add Open Graph Tags

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; Add Open Graph Tags.

Functionality

Add Open Graph Tags to attach rich photos to social media posts to Facebook or LinkedIn, helping to drive traffic to your website.

Options allow:

  • Excerpt or first 200 characters of post added to card.
  • Thumbnail or first post image will be added to card.
  • Integrate with Floating Featured Images for card image.

This plugin is multisite compatible; each site will need settings to be configured in the admin dashboard.

Demo

If you select a post on this blog containing images, the first one will be sent to LinkedIn or Facebook when you share the post.

Download

The plugin can be downloaded via my Development site.