WP Manifestindependent plugin directory
manifest / editor / dmg-technical

GC - Technical Task

Giuseppe Castiglione - Technical Task for DMG. Adds a read more block and WP CLI command

by Giuseppe Castiglione · github.com/zepcast/dmg-technical

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/zepcast/dmg-technical/archive/refs/heads/main.zip

Declares an update source (https://example.com/my-plugin/), so updates arrive through the plugin's own updater.

From the readme

DMG Read More - WordPress Plugin https://github.com/user-attachments/assets/732e4e30-cc6b-438b-8c13-f9592d739fc7 - Adds a new "DMG Read More" block that allows the user to link to any post in the site. - Adds a new WPCLI command that allows the user to find all posts using the above block. Requirements - PHP: 8.3 or higher - WordPress: Latest stable version - Node.js: 18.x or higher (for building assets) - Composer: For PHP dependency management (optional) - pnpm: 10.17.1 (as specified in package.json) Installation Method 1: Manual Installation 1. Download or clone this repository into your WordPress plugins directory: 2. Install PHP dependencies: 3. Install JavaScript dependencies: 4. Build the plugin assets: 5. Activate the plugin through the WordPress admin panel Usage Adding the Block 1. In the WordPress editor, click the "+" button to add a new block 2. Search for "DMG Read More" or find it under the "Widgets" category Selecting a Post 1. Click on the block in the editor 2. In the block settings panel (right sidebar): - Selected Post: View or change the currently selected post - Search Options: Choose to search by Title or ID - Post Lis

Read the full README on GitHub →