Skip to content

circuscode/unmus

Repository files navigation

unmus Custom Plugin

This is the custom WordPress plugin running on unmus.de.

Description

unmus custom WordPress plugin provides additional features related to the blog unmus. In addition it manipulates and extends standard features of WordPress and 3rd party plugins. At least some operation functions are added.

Custom Post Types

Following custom post types are implemented.

  • Zimtwolke (Ello)
  • Raketenstaub
  • Pinseldisko

Custom Taxonomies

Following custom taxonomies are implemented.

  • Artist (Podcast related)
  • Fotoalbum (Raketenstaub related)
  • Kunsthalle (Pinseldisko related)
  • Tagebuch (Zimtwolke related)

WordPress Core

Following standard features of the WordPress Core are manipulated or extended.

  • Archives
  • Comment Form
  • Dashboard
  • Editor
  • Feed
  • Header
  • Loop
  • Menu
  • Rewrites
  • Search
  • Site Health
  • Update

Archives

  • Add Custom Post Types to Autor Archives
  • Add Custom Post Types to Date Archives

Comment Form

  • Remove Comment Author's IP address
  • Remove Comment Author's User Agent

Dashboard

  • Add Custom Post Types to At a Glance Widget

Editor

  • Add Post Format Filter in Table View for Custom Post Type Ello
  • Deactivate Post Format Option for Standard Posts

Feed

  • Add Custom Post Types to Feed
  • Remove Post Formats Quote & Image from Feed

Header

  • Disable Loading Emoji Resources
  • Disable Emoji Plugin in TinyMCE

Loop

  • Option to Change Amount of Post per Page for CPT Raketenstaub
  • Option to Change Amount of Post per Page for CPT Ello
  • Option to Change Amount of Post per Page for CPT Podcast

Menu

  • Add Class to Current Menu Item in Custom Post Type Archives

Rewrites

  • Remove Custom Post Type Slug from Permalink
  • Enable Parsing of Custom Post Type URLs

Search

  • Remove Post Formats from Search
  • Remove WordPress Page from Search

Site Health

  • Disable Persistent Object Cache Test

Update

  • Run WordPress Updates automaticly
  • Run Plugin Updates automaticly
  • Run Theme Updates automaticly

Plugin Modifications

Standard features of the following plugins will be manipulated or extended.

  • Advanced Custom Fields
  • Embed Privacy
  • Podlove Publisher
  • Podlove Web Player
  • The SEO Framework
  • wpRocket

Advanced Custom Fields

  • Show Custom Field Meta Box in Editor again

Embed Privacy

  • Adjust Embed Overlay Text

Podlove Publisher

  • Adjust Excerpt Length
  • Remove Header Resources

Podlove Web Player

  • Remove Header Resources

The SEO Framework

  • Manipulate Title for TootPress, Mathilda & Podcast Archive
  • Manipulate Meta Description for Custom Post Type Archives
  • Disable Cannonical URLs for Archives and Pages without Content
  • Create Cannonical URLs for TootPress and Mathilda Pages
  • Create NEXT and PREV Links for TootPress and Mathilda Pages

wpRocket

  • Remove TootPress Pages from Cache if new Toots have been loaded
  • Remove Mathilda Pages from Cache if new Tweets have been loaded
  • Clean Cache if Maintenance Mode is activated or deactivated

Additional Features

The plugin provides the following additional features.

  • Custom WordPress Conditionals
  • Custom WordPress Settings
  • Custom WordPress Tools
  • Maintenance Mode

Related Theme

  • huhu

Related Plugins

  • Mathilda
  • TootPress

Languages

The plugin supports German only (hard-coded).

Instructions For Use

It is not recommended to use this plugin on other WordPress instances. The plugin is tailor-made for use on the blog unmus. However, any code snippets can be adopted.

Branches

This repository follows the git-flow workflow to a large extent.

  • master branch is the latest release
  • develop branch is the current state of development
  • feature branches contain dedicated features in development
  • bugfix branches contain dedicated bugfixes in development

Hotfix and release branches will not be applied.

Continous Deployment

Branches will be deployed continously onto the environments. The master branch is connected with the productive environment and the develop branch is connected with the test environment. The deployment itself is managed by GitHub Actions. Releases are not used in the regular way. Releases can be understood as freeze or state of functional bundels.

Built With

License

This project is licensed under the GPL3 License.

Changelog

0.7

Released: 01.05.2023

  • Added: Adjustment Embed Overlay Text (Embed Privacy)
  • Added: Support for Podlove Web Player 5
  • Removed: AMP Extensions
  • Removed: Creative Commons (integrated to huhu)
  • Removed: Force Feed Update (this can better be done by deleting transients)
  • Removed: Custom Fields in Search
  • Removed: Disable Comment Cookie (Cookie can be disabled in WordPress Settings now)
  • Removed: Disable Podlove Web Player 4 Resources
  • Removed: SEO Schema Filter BlogPosting
  • Removed: wpRocket Output HTML Validation
  • Improved: Documentation
  • Improved: Code Refactoring
  • Changed: Initial Values Installation Routine
  • Bugfix: Add Custom Post Types to Date Archive
  • Security: No code execution without WordPress
  • Security: Better Input Validation
  • Security: Escaping Echos

0.6

Released: 22.03.2023

  • Added: Cache Handling for TootPress
  • Added: SEO Extensions for TootPress
  • Added: Disable Auto Update eMail Notifications
  • Added: Gutenberg for Custom Post Type Zimtwolke
  • Added: Disable AMP Persistent Object Cache Test
  • Added: Dequeue Podlove Webplayer 4 JS
  • Added: Remove IP from comments author
  • Added: Remove User Agent from comments author
  • Bugfix: Exclude the page "WordPress" from search

0.5

Released: 30.12.2019

  • Added: Pinseldisko Excerpt
  • Added: Zimtwolke Taxonomy
  • Added: Pinseldisko Taxonomy
  • Added: Raketenstaub Taxonomy
  • Added: Workaround Envira Shortcode @ Podlove Feed (and removed again ;-)
  • Improved: Auto Updates
  • Improved: Remove JS/CSS Resources if not required
  • Updated: Compatibility SEO Framework 3.1
  • Bugfix: Rocket Cache Handling
  • Others: Code Improvements
  • Others: Show Standard Custom Fields again (ACF)
  • Ghost: Include Custom Fields @ WordPress Search

0.4

Released: 25.08.2018

  • Changed: Hide Data Privacy Checkbox
  • Changed: Set all post to "BlogPosting" (structured data)
  • Activated: Auto Updates for Plugins
  • CleanUp: Obsolet Code
  • Removed: Podlove JS @ Non Podcast Content
  • Removed: Schema Modifications
  • Removed: Jetpack Modifications
  • Removed: Podcast-related Rocket Processes
  • Improvement: Better SEO on paged archives

0.3

Released: 23.05.2018

  • Improvement: Maintenance Mode excluded for active Logins
  • Improvement: CSS Minification @ Podlove Archives
  • Improvement: JavaScript Minification @ Podlove Archives
  • Improvement: Enqueue Podcast CSS only @ Podlove Content
  • Bugfix: Cache Handling Error
  • Others: Hidden Developer Settings

0.2

Released: 24.03.2018

  • Feature: Zirkusliebe Artist Custom Taxonomy
  • Improvement: Custom WordPress Post Admin Icons
  • Improvement: Raketenstaub SEO
  • New Setting: Amount of Post @ Podcast Archive
  • New Setting: Amount of Post @ Zimtwolke Archive
  • New Setting: Force Feedupdate
  • Modification: Podlove Publisher Excerpt Length
  • Modification: Activate Theme Auto Updates
  • Removed: Obsolet Podlove Workarounds
  • Bugfix: Do not cache Podlove WebPlayer on paged Archives
  • Bugfix: Current Menu Item on paged Zirkusliebe Archives
  • Bugfix: Current Menu Item on paged Raketenstaub Archives
  • Bugfix: Remove Settings with Plugin Deinstallation
  • Others: Deactivate Post Format Filter for Posts
  • Others: Internal code improvements

0.1

Released: 20.02.2018

  • Initial Release