pixelstudio / pixel-wp-library
Collection of WordPress modules to be used together with pixel-wp-theme
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 2
Type:wordpress-plugin
README
This repo has been moved to https://github.com/pixelstudio-id/pixel-wp-library in order to fix the versioning.
This plugin contains features that we keep using in our client's website. They are:
- Custom Table Columns
- Mega Menu
- Header and Footer Builder
- Header and Footer Code
- FAQ Block
- Icon Block
- Comment Editor
- Other Features
Requirement: PHP 7.4 and WordPress 6.2.
Custom Table Columns
Customize the columns of any post type in your WP Admin.
Mega Menu
Create a large menu split into 2, 3, or 4 columns. Built using native WP Menu and not even a custom Walker.
⚠️ Requires: ACF Pro and Theme Support h-mega-menu
Header and Footer Builder
Use classic widgets to create Header and Footer. Much easier and simpler than using the new Full Site Editor.
⚠️ Requires: ACF Pro and Theme Support h-widget-builder-v2
Header and Footer Code
Insert Google Analytics code or Facebook Pixel here.
FAQ Block
Create a question where you can click to show the answer. Automatically generates JSON-LD Schema.
⚠️ Requires: Theme Support h-faq-block-v2
Icon Block
Create a block with SVG icon and description.
⚠️ Requires: Theme Support h-icon-block
Comment Editor
Enable a Markdown editor in the comment form and email notification whenever someone wrote a comment reply.
⚠️ Requires: Theme Support h-comment-editor
Other Features
All these features are enabled by default:
JavaScript
- Removed emoji converter.
- Removed Jetpack's Device-px script because it's useless.
- Removed Jetpack's Sharing script. It's only for sharing via email which is rarely used.
SEO
- Disabled automatic URL guessing if a visitor enters 404 page.
- Disabled Jetpack's Open Graph module when Yoast or The SEO Framework is installed.
GUTENBERG
- Added back Group's inner container that's removed in WP 5.9.
- Removed layout and dimensions setting in Group that's introduced in WP 5.9.
- Removed "Circle Mask" style from Image.
- Added "Transparent" style to Button.
- Added "Full Color" style to Table.
- Added "Larger Image" and "Smaller Image" style to Media-Text.
- Created a filter
h_disallowed_blocks
that returns an array of disabled blocks. By default it disables only three:core/pullquote
,core/nextpage
andcore/more
. - Added better styling for ACF Block (as see in the ACF Block's screenshot above).
- Changed the Category checklist to always be in same the position.
- Removed Medium-Large size when uploading new image.
OTHER
- Removed "Created by Wordpress" message in the bottom-left of WP Admin
- Changed the login error message to "Sorry, your username or password is wrong" instead of giving hint of which one is wrong.
- Changed the Wordpress logo in login page to the one you have set in Customizer > Site Identity.
- Added
H::markdown($text)
function to parse markdown text. ======= We are planning to follow WordPress version. So if our plugin version is 5.9.x that means it's for WP 5.9