{"id":13548902,"url":"https://github.com/szepeviktor/wordpress-plugin-construction","last_synced_at":"2025-04-14T22:45:11.731Z","repository":{"id":19279136,"uuid":"22515790","full_name":"szepeviktor/wordpress-plugin-construction","owner":"szepeviktor","description":"Tools 🧰 for developing and running WordPress websites","archived":false,"fork":false,"pushed_at":"2023-09-24T08:55:31.000Z","size":4578,"stargazers_count":95,"open_issues_count":0,"forks_count":28,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-28T10:54:06.368Z","etag":null,"topics":["mu","mu-plugin","plugin","wordpress"],"latest_commit_sha":null,"homepage":"https://github.com/szepeviktor/wordpress-website-lifecycle","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/szepeviktor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2014-08-01T15:34:13.000Z","updated_at":"2025-02-18T21:26:43.000Z","dependencies_parsed_at":"2023-09-24T11:10:51.728Z","dependency_job_id":null,"html_url":"https://github.com/szepeviktor/wordpress-plugin-construction","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fwordpress-plugin-construction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fwordpress-plugin-construction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fwordpress-plugin-construction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fwordpress-plugin-construction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/szepeviktor","download_url":"https://codeload.github.com/szepeviktor/wordpress-plugin-construction/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975291,"owners_count":21192198,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mu","mu-plugin","plugin","wordpress"],"created_at":"2024-08-01T12:01:15.826Z","updated_at":"2025-04-14T22:45:11.713Z","avatar_url":"https://github.com/szepeviktor.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# WordPress plugin construction\n\nTools for developing and running a awesome WordPress website.\nPlease select a folder in the list above to see the plugin's development.\n\n### Two programmers\n\nhttps://en.wikipedia.org/wiki/Pair_programming\n\n### An article about code quality\n\nhttp://engineering.quora.com/Moving-Fast-With-High-Code-Quality\n\n### Plugin headers\n\n`readme.txt` https://developer.wordpress.org/plugins/wordpress-org/how-your-readme-txt-works/\n\n```\n=== Plugin Name ===\nContributors: (comma, separated, list of wordpress.org userid's)\nDonate link: https://example.com/\nTags: comments, spam\nRequires at least: 4.9\nTested up to: 5.2.2\nRequires PHP: 7.0\nStable tag: 1.0.0\nLicense: GPLv2 or later\nLicense URI: http://www.gnu.org/licenses/gpl-2.0.html\n\nHere is a short description of the plugin. This should be no more than 150 characters. No markup here.\n```\n\nhttps://developer.wordpress.org/plugins/plugin-basics/header-requirements/ `@wordpress-plugin`\n\n```php\n/**\n * Plugin Name\n *\n * @package     PluginPackage\n * @author      Your Name\n * @copyright   2019 Your Name or Company Name\n * @license     GPL-2.0-or-later\n *\n * @wordpress-plugin\n * Plugin Name: Plugin Name\n * Plugin URI:  https://example.com/plugin-name\n * Description: Description of the plugin.\n * Version:     1.0.0\n * Author:      Your Name\n * Author URI:  https://example.com\n * Text Domain: plugin-slug\n * License:     GPL v2 or later\n * License URI: http://www.gnu.org/licenses/gpl-2.0.txt\n */\n```\n\n### How to add images to a WordPress plugin?\n\n- assets/banner-772x250.png\n- assets/icon-128x128.png\n- assets/icon-256x256.png\n- assets/screenshot-1.jpg (530px + 1+1 border)\n- http://www.shutterstock.com/cat.mhtml?\u0026searchterm=Flat%20modern%20design%20with%20shadow\n\n### One-class file comment\n\n```php\n\u003c?php\n/**\n * Administration API: WP_Internal_Pointers class\n *\n * @package WordPress\n * @since 4.4.0\n */\n\n/**\n * Core class used to implement an internal admin pointers API.\n *\n * @since 3.3.0\n */\nfinal class WP_Internal_Pointers {\n```\n\n## Recommended plugins\n\n- https://vip.wordpress.com/plugins/\n- http://wpgear.org/\n- http://themehybrid.com/plugins\n- Post connector: `post-connector`, `posts-to-posts`, `related-posts-for-wp`\n\n### Data structure plugin categories\n\n- CPT (Custom port type)\n- Custom taxonomy\n- Custom post meta\n- Custom taxonomy meta\n- Custom user meta\n- Plugin option page\n- Theme options page\n- Shortcodes\n- Widgets\n- Widget display conditions `widget-context`\n- Search custom contents\n\n### Various content plugin categories\n\n1. Content Forcing\n    + `force-featured-image`\n    + mu-deny-giant-image-uploads/\n1. Content Fixes\n    + mu-shortcode-unautop/\n    + `custom-post-type-permalinks`\n1. UI tuning / Bulk edit aid\n    + Editor: `tinymce-advanced`\n    + Lenghten taxonomy selector boxes, see: content-extras/nav-menu-meta-box-length.php https://core.trac.wordpress.org/ticket/32237\n    + Keep category tree in post editor Category Checklist Tree `category-checklist-tree`\n    + mu-cleanup-admin/\n    + `wp-solarized`\n    + `mark-posts`\n    + https://github.com/fusioneng/Unified-Post-Types\n    ```php\n    add_filter( 'unified_post_types', function ( $post_types ) {\n        $post_types[] = 'portfolio';\n        $post_types[] = 'news';\n        return $post_types;\n    });\n    ```\n    + `simple-page-ordering`\n    + `post-types-order`\n    + Media URL column, see: content-extras/media-url-column.php\n    + `codepress-admin-columns`\n    + `featured-image-column`\n    + `advanced-excerpt`\n    + Advanced Image Styles `advanced-image-styles`\n    + `unattach`\n1. Content representation\n    + Pods\n    + https://github.com/alleyinteractive/wordpress-fieldmanager\n    + `CMB2`\n    + https://github.com/jtsternberg/Shortcode_Button with CMB2\n    + `shortcode-ui`\n    + `custom-content-shortcode`\n    + `column-shortcodes`\n    + `tablepress`\n    + Map `wp-geo`\n    + `ankyler` widget\n1. Imaging\n    + Cloudinary\n    + `my-eyes-are-up-here`\n1. Tracking\n    + google-universal-analytics/\n    + .\n1. CDN\n    + https://github.com/markjaquith/WP-Stack/blob/master/WordPress-Dropins/wp-stack-cdn.php\n    + .\n\n## Manage WordPress installation with git\n\n1. Core as submodule at `/company/` with URL `https://github.com/WordPress/WordPress.git`\n1. Theme as submodule with URL `file:///home/user/website/theme.git`\n1. WP.org plugins are gitignore-d.\n1. Non-WP.org plugins as submodules with URL `file:///home/user/website/plugin.git`\n\n## Manage WordPress plugins with composer\n\nhttp://wpackagist.org/\n\n## WordPress .gitignore\n\nSee https://github.com/szepeviktor/debian-server-tools/blob/master/webserver/wordpress.gitignore\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszepeviktor%2Fwordpress-plugin-construction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszepeviktor%2Fwordpress-plugin-construction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszepeviktor%2Fwordpress-plugin-construction/lists"}