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.

Could You Contribute To ClassicPress?

ClassicPressWhen Gutenberg for WordPress was released I did try to use it, but found it was unusable. Instead I started taking a look at ClassicPress and liked what I saw. I eventually started planning to migrate my sites from WordPress to ClassicPress and outlined my reasons for doing so.

I have also invested some time in creating new versions of my plugins for ClassicPress; these plugins are either entirely rewritten to bring them up to a certain level of coding standard, including massive improvements to the security aspect, or they are entirely new plugins (such as the Add Twitter Cards and URL Shortener).

I’ve also been involved in translating ClassicPress and writing some documentation, both areas I intend to continue helping with, and am considering looking at some of the simpler issues on GitHub.

I am only a contributor on a very small scale; many others are making much, much larger contributions. Which is the point. Behind every successful open source project is a vibrant community who is involved in both developing for and supporting the project.

Open source projects like ClassicPress need contributions from all sorts of people with all sorts of skills. All large projects like ClassicPress have a lot of work to do, especially in areas such as new infrastructure, defining roles, procedures, tools and organizing tasks.

ClassicPress Needs You

Could you contribute to ClassicPress? Check out this post on the ClassicPress blog and see how you could help out.

ClassicPress needs help from people who are developers, designers, marketers, people who are multi-lingual and can help with translations. It needs all sorts of people. Why not get involved?

If you don’t have the time to actively contribute, you can also help the project by voting on the future direction of development on the petitions site. The petitions site allows you to vote on what changes or new functionality should be introduced in future versions of ClassicPress.

This is one of the areas which separates ClassicPress from WordPress; ClassicPress lets you have a say in the future course of the project.

azurecurve ClassicPress Plugins: Translating Plugins

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

All of the plugins I have created for ClassicPress have been created to support translations. I only speak English so the plugins currently only ship with English vailable; pot files are included in the plugins /languages folder which can be used to translate the plugin using software such as PO Edit.

In addition, I have a translation website which can be used to translate plugins without needing to install any software. To request a language be added for translation, visit my community site and ask for the language to be added.

azurecurve ClassicPress Plugins: Support for Plugins

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

Over the course of this series, I have announced all of the plugins I have created for ClassicPress. I have created a Community site where I will provide support.

Whether you have a bug report, feature request, question or want to translate the plugin, this site is the place to go.

azurecurve ClassicPress Plugins: Loop Injection

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 a brand new one written specially for ClassicPress; Loop Injection.

Functionality

Allows content to be injected before, within and after the loop. All content is configurable via an admin settings page; perfect for adverts.

Each of the three content locations can be activated individually; location within the loop is configurable.

Shortcodes are supported in Loop Injection; allows Snippets to be used.

Demo

The advert five posts down on the homepage and archives has been inserted using this plugin.

Download

The plugin can be downloaded via my Development site.

azurecurve ClassicPress Plugins: Add Twitter Cards

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 a brand new one written specially for ClassicPress; Add Twitter Cards.

Functionality

Use Add Twitter Cards to attach rich photos to Tweets, helping to drive traffic to your website.

Options allow:

  • Card Types of Summary or Summary With Images.
  • 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](https:/development.azurecurve.co.uk/classicpress-plugins/floating-featured-image/) for card image.

Demo

You can see this plugin in action by Tweeting this, or any other post, using the available sharing buttons.

Download

The plugin can be downloaded via my Development site.