ClassicPress Plugins Available From azurecurve | Development in 2023: BBCode

ClassicPressIn this series of articles, I am going to introduce each of the plugins I have developed for ClassicPress, a hard-fork of WordPress, which was originally created to provide an alternative, yet compatible, CMS without the Gutenberg block editor.

The 4th plugin is BBCode.

Allows users to use standard bbcodes in posts and pages in place of HTML tags.

The following bbcodes can be used:

Bold:
	[b]bold[/b]
Italic:
	[i]italics[/i]
Underline:
	[u]underline[/u]
Center Text:
	[center]centered text[/center]
Strike:
	[strike]strike[/strike]
Quote:
	[quote]quote[/quote]
Color:
	[color=blue]color[/color]
Font size:
	[size=12pt]12pt font size[/size]
	[size=1.2em]1.2em font size[/size]
	[size=12px]12px font size[/size]
Image:
	[img]https://docs.classicpress.net/wp-content/classicpress/logos/icon-gradient-600.png[/img]
	[img=ClassicPress logo]https://docs.classicpress.net/wp-content/classicpress/logos/icon-gradient-600.png[/img]
URL:
	[url]https://www.classicpress.net/[/url]
	[url=https://www.classicpress.net/]ClassicPress[/url]
	[link]https://www.classicpress.net/[/link]
	[link=https://www.classicpress.net/]ClassicPress[/link]
Ordered lists:
	[ol]ordered list[/ol]
Unordered lists:
	[ul]unordered list[/ul]
List items:
	[li]list item[/li]
Table:
	[table][/table]
Table Row:
	[tr][/tr]
Table Header:
	[th][/th]
Table data (cell):
	[td][/td]
Code:
	[code]function azc_bbcode_bold($atts, $content = null){ return "".do_shortcode($content).""; }[/code]

Allows users to use standard bbcodes in posts and pages; Shortcodes in Comments can be used to allow bbcodes in comments and Shortcodes in Widgets can allow them in widgets.

This plugin is multisite compatible.

Continue reading “ClassicPress Plugins Available From azurecurve | Development in 2023: BBCode”

ClassicPress Plugins Available From azurecurve | Development in 2023: Avatars

ClassicPressIn this series of articles, I am going to introduce each of the plugins I have developed for ClassicPress, a hard-fork of WordPress, which was originally created to provide an alternative, yet compatible, CMS without the Gutenberg block editor.

The 3rd plugin is Avatars.

Avatars
Upload a new avatar and set as the default avatar and allow users to upload their own avatar and override the default.

Admin setting allows only use of local avatars; prevents use of Gravatars; if user doesn’t upload their own avatar, a local default is used instead.

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

Continue reading “ClassicPress Plugins Available From azurecurve | Development in 2023: Avatars”

ClassicPress Plugins Available From azurecurve | Development in 2023: Add Twitter Cards

[featured-index key=’classicpress’]In this series of articles, I am going to introduce each of the plugins I have developed for ClassicPress, a hard-fork of WordPress, which was originally created to provide an alternative, yet compatible, CMS without the Gutenberg block editor.

The 2nd plugin is Add Twitter Cards.

Add Twitter Cards
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.
  • Featured Image or first post image will be added to card (subject to configurable minimum size).
  • 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.

Continue reading “ClassicPress Plugins Available From azurecurve | Development in 2023: Add Twitter Cards”

ClassicPress Plugins Available From azurecurve | Development in 2023: Add Open Graph Tags

ClassicPressIn this series of articles, I am going to introduce each of the plugins I have developed for ClassicPress, a hard-fork of WordPress, which was originally created to provide an alternative, yet compatible, CMS without the Gutenberg block editor.

The 1st plugin is Add Open Graph Tags.

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

  • Card Types of Summary or Summary With Images.
  • Excerpt or first 200 characters of post added to card.
  • Featured Image or first post image will be added to card (subject to configurable minimum size).
  • 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.

Continue reading “ClassicPress Plugins Available From azurecurve | Development in 2023: Add Open Graph Tags”

ClassicPress Plugins Available From azurecurve | Development in 2023: Series Index

[featured-index key=’classicpress’]I started developing plugins for WordPress back in 2013; this was so that I could add some required functionality to this site which wasn’t available as standard or in third-party plugins. I switched to developing for ClassicPress in late-2018 and migrated all of my sites to it in early 2019.

I made this change because WordPress introduced the Gutenberg editor (later known as the block editor) which has many problems which are still unaddressed and getting worse as they transition to blocks site-wide.

I decided right at the start when I started developing plugins for myself that I would also make them available to others to use as well. Not all of the plugins I have developed are available, as some have very specific functionality which wouldn’t easily be used by other people, but the vast majority are available for all.

I now have 55 plugins available for ClassicPress and, as it has been over 12 months since I posted about many of them), I’ve going to do another series announcing each one which may help new people discover them.

All of these plugins were developed for ClassicPress, but will still work on WordPress; I’ve included automatic updates for them so once installed you will receive updates in the exact same way as you do for other plugins.

As I say, there are 55 plugins and I’ll only be posting these plugin announcements on weekends, so you will need to check in over the few months to see them all.

The series index, below, will update automatically as each post goes live.

Continue reading “ClassicPress Plugins Available From azurecurve | Development in 2023: Series Index”

Merry Christmas

I’ve been a long-term member of the Microsoft Dynamics GP community, although I have recently left that for Microsoft Dynamics 365 Business Central, and for the last few years also that of ClassicPress.

Merry Christmas to everyone in all of those communities and I look forward to working with you all again next year.

Christmas tree image

Continue reading “Merry Christmas”

Exclude One Category From A Specific RSS Feed in ClassicPress

ClassicPressI recently had need of an RSS feed which included all posts in one category, but which excluded the posts in a sub category. In other RSS feeds I did want this category still included so I needed to be careful how I went about sorting out this feed.

I was expecting this not to be possible, but when I did some exploring I discovered that you could exclude post assigned to a specific category from a feed.

In the RSS feed URL, you can add ?cat=-{category number} where {category number} is the number of the category to be excluded.

This is the structure of the feed URL for a {named category} which excludes a specific {category number to exclude}:

https://www.azurecurve.co.uk/category/{named category}/feed/?cat=-{category number to exclude}

For example, if I wanted to use my ClassicPress feed, the feed URL would be:

https://www.azurecurve.co.uk/category/content-management-systems/classicpress/feed/

But if I wanted to exclude posts assigned the Plugins category, I would use this feed URL with a cat URL parameter:

https://www.azurecurve.co.uk/category/content-management-systems/classicpress/feed/?cat=-1089

Multiple categories to exclude can be specified in the URL parameters, separated with commas (e.g. ?cat=-10,-20).

A Review of TasteWP

WordPressI was recently contacted by TasteWP asking for people to take a look at their system and provide feedback. Before I get into the feedback I gave them and a wider review, I think it might be best to first explain what TasteWP is and what it can be used for.

TasteWP provides a sandbox environment where you can easily test plugins or themes you are developing or which you want to try out before deploying to a production site. There are other existing methods which have been around longer, such as Local by Flywheel, so why TasteWP?

Well, I did use Local a few times when I first found it, but through time I stumbled over one limitation too many times and eventually stopped using it; that limitation was its use of VirtualBox for the virtual environment it created. As I extensively use Microsoft’s Hyper-V, I found myself having to continually switch off the hypervisor to use Local and then switch it on again when I was finished; while modern PCs with SSDs do restart very quickly, it is still disruptive needing to restart the PC every time the hypervisor was enabled or disabled.

The other limitation of Local by Flywheel, which I mentioned in the review I wrote is that it is WordPress only; unfortunately, TasteWP has the same limitation of being WordPress only. WordPress is obviously much larger than ClassicPress, so this is not unexpected.

TasteWP allows you to create up to two sites which will expire after 48 hours; the admin page has a counter at the top right corner showing how long you have remaining. If you create an account and sign in you can create up to six sites which expire after 7 days and if you sign up for a premium account you can also create a site which does not expire and which has a lot more space available.

TasteWP website

Continue reading “A Review of TasteWP”

Git Command Line Snippets: Upload Release Asset

GitHubThis post is part of the series on Git Command Line Snippets where I am taking a look at performing actions on GitHub using the git command line.

Now that we have the json from GitHub for the release, we can upload the release zip (an extra asset) which is used for installing the plugin on a ClassicPress site:

curl -X POST --header "Authorization: token ghp_authorizationtoken" --header "Content-Type: application/zip" --upload-file "path and filename" "https://uploads.github.com/repos/username/repository name/releases/tag id/assets?name=filename"

The highlighted sections need to be replaced with the parameters for your GitHub account, repo and the release.