nnax ReadMore

Description

nnax ReadMore helps editors keep posts and pages compact while still making additional content available on demand.

Use the shortcode [nnax_readmore]...[/nnax_readmore] to hide longer sections behind a toggle button. Visitors can expand and collapse the content without requiring a bundled front-end framework.

Main features

  • Namespaced shortcode [nnax_readmore] for expandable content blocks
  • Dedicated ReadMore block for Gutenberg and a button above the editor in the Classic Editor
  • Toggle button text between “Show more” and “Show less”
  • Configurable button CSS classes in plugin settings
  • Role-based visibility and editing permissions for the plugin admin area
  • Toggle behaviour works without any bundled front-end library
  • Clean uninstall behaviour for plugin options

Requirements

  • WordPress 6.0 or higher
  • PHP 7.4 or higher

Usage

Use this shortcode in content:

[nnax_readmore]Your hidden content[/nnax_readmore]

In Gutenberg, a dedicated ReadMore block is available in the block inserter. In the Classic Editor, the button is available above the editor. In both cases, a dialogue opens for entering the hidden content.

Uninstallation

When the plugin is deleted, uninstall.php removes the options nnaxreadmore_button_classes, nnaxreadmore_general_settings, and nnaxreadmore_role_access.
In multisite, cleanup runs per site and also removes a possible network option.

Known Limitations

  • The plugin focuses on the shortcode toggle behaviour only.
  • Runtime compatibility with the minimum supported WordPress version, multisite setups, and broader theme sets must be validated in the target project environment.

Screenshots

Blocks

This plugin provides 1 block.

  • ReadMore Fügt einen ReadMore-Shortcode als Block ein.

Installation

  1. Upload the plugin folder nnax-readmore to /wp-content/plugins/.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Open the nnax ReadMore menu and configure button classes if needed.

FAQ

Does the plugin require UIkit from the theme?

No. The plugin works independently and does not require UIkit from the theme.

Does the plugin store personal data?

No personal profile data is stored by default. The plugin stores technical settings for button classes and role-based access configuration.

Reviews

There are no reviews for this plugin.

Contributors and Developers

“nnax ReadMore” is open source software. The following people have contributed to this plugin.

Contributors

“nnax ReadMore” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “nnax ReadMore” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Change Log

1.0.4

  • Removed the manual load_plugin_textdomain() call to resolve the current Plugin Check warning and rely on WordPress translation loading.
  • Expanded deploy exclusions so Git and development files are no longer uploaded via FTP, SFTP, or Rsync workflows.

1.0.3

  • Updated the plugin URI and documentation URLs to expertonaut.de.
  • Replaced the default UIkit button classes with the custom ‘nnax-readmore-btn’ class.
  • Styled the front-end button to match the nnax back-end UI design system, including colours, borders, gradients, and hover transitions.
  • Added automatic migration routines to convert existing configurations from ‘uk-button uk-button-default’ to the new ‘nnax-readmore-btn’ class.
  • Added options to the display settings page to customise the “Show more” and “Show less” text globally, with the option to override it in individual shortcode usages via the ‘label_more’ and ‘label_less’ attributes.
  • Updated the admin menu icon to readmore-menuicon.png.

1.0.2

  • Added standard block.json configuration for full WordPress 7.0 iframe-editor compatibility.
  • Replaced the deprecated jQuery Thickbox modal in the Classic Editor with a high-performance native HTML5 API.
  • Enforced precise select font sizing (12px) to override WordPress Core layout adjustments.
  • Raised the minimum required WordPress version to 6.0 and validated tested support up to 7.0.

1.0.0

  • Initial release.
  • ReadMore shortcode and toggle behaviour.
  • Dedicated Gutenberg ReadMore block and Classic Editor insert button.
  • Toggle integration and settings page.
  • Uninstall cleanup for plugin options.