Arabic Posts Styling
Add custom style for Arabic posts
by Nabeel Molham · github.com/n-molham/arabic-post-style · website
★ 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/n-molham/arabic-post-style/archive/refs/heads/master.zipDeclares an update source (N-Molham/arabic-post-style), so updates arrive through the plugin's own updater.
Readme
WordPress Arabic Posts Styling
A plugin to add custom style and fonts for Arabic posts
Usage
- Upload
arabic-post-stylefolder to yourpluginsdirectory - Go to WordPress Dashboard > Plugins > Activate the plugin
- Go to a post or page to manage the new settings
Snapshots
WP Hooks
Actions
arabic_post_style_loaded- plugin loaded
Filters
arps_fonts_list- parameters:
$list - Array if fonts list
- parameters:
arps_posts_styles- parameters:
$final_styles - The final css added to the page header using
wp_headaction hook
- parameters:
arps_meta_box_post_types- parameters:
$post_types - List of post types to add Arabic settings meta box to, default
[ 'page', 'post' ]
- parameters:
arps_new_settings- parameters:
$new_settings,$post_id - Styling settings for that
$post_idto save - if this filter returned
(boolean) falsesettings won't be saved
- parameters:
arps_post_settings- parameters:
$settings,$post_id - Retrieved styling settings for that
$post_id
- parameters:
arps_is_arabic_post- parameters:
$is_arabic,$post_id - If this post
$post_idis Arabic posttrueor notfalse
- parameters:
Contact if there are any problems
Hope you find it helpful :)
License: GNU General Public License, version 2, http://www.gnu.org/licenses/gpl-2.0.html