Changeset 3010559
- Timestamp:
- 12/15/2023 01:06:30 PM (2 years ago)
- Location:
- blog-reading-progress-bar/trunk
- Files:
-
- 5 edited
-
README.md (modified) (4 diffs)
-
blog-reading-progress-bar.php (modified) (6 diffs)
-
inc/reader-options.php (modified) (2 diffs)
-
languages/blog-reading-progres.pot (modified) (3 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
blog-reading-progress-bar/trunk/README.md
r3009602 r3010559 4 4 Tags: progress bar, reading progress, blog, posts 5 5 Requires PHP :7.3 6 Requires at least :5.6 6 7 Tested up to: WordPress 6.3.3 7 Stable tag: 1.0. 08 Stable tag: 1.0.1 8 9 License: GPLv2 or later 9 10 License URI: http://www.gnu.org/licenses/gpl-2.0.txt 10 11 11 12 12 Adds a reading progress bar to blog posts. … … 25 25 == Installation == 26 26 27 1. Upload the ` reading-progress-bar` folder to the `/wp-content/plugins/` directory.27 1. Upload the `blog-reading-progress-bar` folder to the `/wp-content/plugins/` directory. 28 28 2. Activate the plugin through the 'Plugins' menu in WordPress. 29 3. Go to ' Reading Progress Bar' in the WordPress dashboard to configure the plugin settings.29 3. Go to 'Blog Reading Progress Bar' in the WordPress dashboard to configure the plugin settings. 30 30 31 31 == Configuration == 32 32 33 1. Navigate to 'Settings' > ' Reading Progress Bar' in the WordPress dashboard.33 1. Navigate to 'Settings' > 'Blog Reading Progress Bar' in the WordPress dashboard. 34 34 2. Customize the options according to your preference, such as the color and height of the progress bar. 35 35 3. Choose whether to display the progress bar on all posts or specific posts. … … 40 40 = How can I customize the appearance of the progress bar? = 41 41 42 You can modify the color and height of the progress bar by navigating to 'Settings' > ' Reading Progress Bar' in the WordPress dashboard. Use the provided options to adjust the settings to your liking.42 You can modify the color and height of the progress bar by navigating to 'Settings' > 'Blog Reading Progress Bar' in the WordPress dashboard. Use the provided options to adjust the settings to your liking. 43 43 44 44 = Can I enable the progress bar on specific posts only? … … 48 48 == Changelog == 49 49 50 = 1.0.0 = 51 * Initial release. 50 == 1.0.1 == 52 51 53 == Upgrade Notice == 52 Text domain updated to plugin slug 53 Pot File Added 54 54 55 55 = 1.0.0 = 56 56 Initial release of the Reading Progress Bar plugin. 57 57 58 == Upgrade Notice == 59 58 60 == Screenshots == 59 61 60 62 1. Progress bar displayed on a blog post. 63  64 61 65 2. Plugin settings page in the WordPress dashboard. 66  67 68 3. Plugin settings option in the post editor. 69  70 71 4. Plugin settings in menu. 72  62 73 63 74 == Upgrade Notice == 64 75 65 = 1.0.0 =66 Initial release of the Reading Progress Bar plugin.67 76 68 77 == License == -
blog-reading-progress-bar/trunk/blog-reading-progress-bar.php
r3009602 r3010559 4 4 * Plugin URI: https://ifatwp.wordpress.com/2023/10/17/blog-reading-progress/ 5 5 * Description: Adds a reading progress bar to blog posts. 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Requires at least: 5.6 8 8 * Requires PHP: 7.3 … … 12 12 * License URI: https://www.gnu.org/licenses/gpl-2.0.html 13 13 * Update URI: https://ifatwp.wordpress.com/2023/10/17/blog-reading-progress/ 14 * Text Domain: blog-reading-progress 14 * Text Domain: blog-reading-progress-bar 15 15 * Domain Path: /languages 16 16 */ 17 17 18 if (!defined('ABSPATH')) { 18 19 exit; // Exit if accessed directly. … … 36 37 * @var version. 37 38 */ 38 protected static $version = '1.0. 0';39 protected static $version = '1.0.1'; 39 40 40 41 /** … … 152 153 public function reading_progress_bar_options_page() 153 154 { 154 add_options_page(__('Reading Progress Bar Settings', 'blog-reading-progres '), __('Reading Progress Bar', 'blog-reading-progress'), 'manage_options', 'brp-reading-progress-bar-settings', array($this, 'reading_progress_bar_render_options_page'));155 add_options_page(__('Reading Progress Bar Settings', 'blog-reading-progress-bar'), __('Reading Progress Bar', 'blog-reading-progress-bar'), 'manage_options', 'brp-reading-progress-bar-settings', array($this, 'reading_progress_bar_render_options_page')); 155 156 } 156 157 … … 170 171 add_meta_box( 171 172 'brp_reading_progress_bar_meta_box', 172 __('Reading Progress Bar', 'blog-reading-progres '),173 __('Reading Progress Bar', 'blog-reading-progress-bar'), 173 174 array($this, 'reading_progress_bar_meta_box_callback'), 174 175 'post', … … 190 191 <label for="brp_reading-progress-bar-checkbox"> 191 192 <input type="checkbox" name="brp_reading_progress_bar_display" id="brp_reading-progress-bar-checkbox" value="1" <?php checked($checked);?> /> 192 <span> <?php esc_html_e('Display reading progress bar on this post', 'blog-reading-progres ');?> </span>193 <span> <?php esc_html_e('Display reading progress bar on this post', 'blog-reading-progress-bar');?> </span> 193 194 </label> 194 195 <?php -
blog-reading-progress-bar/trunk/inc/reader-options.php
r3009602 r3010559 1 1 <div class="wrap"> 2 <h2><?php esc_html_e('Reading Progress Bar Settings', 'blog-reading-progress ');?></h2>2 <h2><?php esc_html_e('Reading Progress Bar Settings', 'blog-reading-progress-bar');?></h2> 3 3 <form method="post" action="options.php"> 4 4 <?php settings_fields('brp_reading_progress_bar_options_group');?> 5 5 <?php $options = get_option('brp_reading_progress_bar_options');?> 6 6 7 <h3><?php esc_html_e('Appearance', 'blog-reading-progress ');?> </h3>7 <h3><?php esc_html_e('Appearance', 'blog-reading-progress-bar');?> </h3> 8 8 <table class="form-table"> 9 9 <tr valign="top"> 10 <th scope="row"><?php esc_html_e('Color', 'blog-reading-progress ');?> :</th>10 <th scope="row"><?php esc_html_e('Color', 'blog-reading-progress-bar');?> :</th> 11 11 <td><input type="color" name="brp_reading_progress_bar_options[color]" value="<?php echo esc_attr($options['color']); ?>" /></td> 12 12 </tr> 13 13 <tr valign="top"> 14 <th scope="row"><?php esc_html_e('Height', 'blog-reading-progress ');?>:</th>15 <td><input type="number" name="brp_reading_progress_bar_options[height]" min="1" step="1" value="<?php echo esc_attr($options['height'] ?? ''); ?>" /> <?php esc_html_e('pixels', 'blog-reading-progress ');?></td>14 <th scope="row"><?php esc_html_e('Height', 'blog-reading-progress-bar');?>:</th> 15 <td><input type="number" name="brp_reading_progress_bar_options[height]" min="1" step="1" value="<?php echo esc_attr($options['height'] ?? ''); ?>" /> <?php esc_html_e('pixels', 'blog-reading-progress-bar');?></td> 16 16 </tr> 17 17 </table> … … 20 20 <table class="form-table"> 21 21 <tr valign="top"> 22 <th scope="row"> <?php esc_html_e('Show on Posts', 'blog-reading-progress ');?> :</th>22 <th scope="row"> <?php esc_html_e('Show on Posts', 'blog-reading-progress-bar');?> :</th> 23 23 <td><input type="checkbox" name="brp_reading_progress_bar_options[show_on_posts]" value="1" <?php checked($options['show_on_posts'] ?? '', true);?> /></td> 24 24 </tr> -
blog-reading-progress-bar/trunk/languages/blog-reading-progres.pot
r3010556 r3010559 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Blog Reading Progress Bar 1.0. 0\n"5 "Project-Id-Version: Blog Reading Progress Bar 1.0.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/blog-reading-progress\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2023-12-15T1 2:50:47+00:00\n"12 "POT-Creation-Date: 2023-12-15T13:14:42+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.8.1\n" 15 "X-Domain: blog-reading-progress \n"15 "X-Domain: blog-reading-progress-bar\n" 16 16 17 17 #. Plugin Name of the plugin … … 35 35 msgstr "" 36 36 37 #: blog-reading-progress-bar.php:154 37 #: blog-reading-progress-bar.php:155 38 #: inc/reader-options.php:2 39 msgid "Reading Progress Bar Settings" 40 msgstr "" 41 42 #: blog-reading-progress-bar.php:155 43 #: blog-reading-progress-bar.php:173 38 44 msgid "Reading Progress Bar" 39 45 msgstr "" 40 46 41 #: inc/reader-options.php:242 msgid " Reading Progress Bar Settings"47 #: blog-reading-progress-bar.php:193 48 msgid "Display reading progress bar on this post" 43 49 msgstr "" 44 50 -
blog-reading-progress-bar/trunk/readme.txt
r3010204 r3010559 6 6 Requires at least :5.6 7 7 Tested up to: WordPress 6.3.3 8 Stable tag: 1.0. 08 Stable tag: 1.0.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.txt 11 12 11 13 12 Adds a reading progress bar to blog posts. … … 26 25 == Installation == 27 26 28 1. Upload the ` reading-progress-bar` folder to the `/wp-content/plugins/` directory.27 1. Upload the `blog-reading-progress-bar` folder to the `/wp-content/plugins/` directory. 29 28 2. Activate the plugin through the 'Plugins' menu in WordPress. 30 3. Go to ' Reading Progress Bar' in the WordPress dashboard to configure the plugin settings.29 3. Go to 'Blog Reading Progress Bar' in the WordPress dashboard to configure the plugin settings. 31 30 32 31 == Configuration == 33 32 34 1. Navigate to 'Settings' > ' Reading Progress Bar' in the WordPress dashboard.33 1. Navigate to 'Settings' > 'Blog Reading Progress Bar' in the WordPress dashboard. 35 34 2. Customize the options according to your preference, such as the color and height of the progress bar. 36 35 3. Choose whether to display the progress bar on all posts or specific posts. … … 41 40 = How can I customize the appearance of the progress bar? = 42 41 43 You can modify the color and height of the progress bar by navigating to 'Settings' > ' Reading Progress Bar' in the WordPress dashboard. Use the provided options to adjust the settings to your liking.42 You can modify the color and height of the progress bar by navigating to 'Settings' > 'Blog Reading Progress Bar' in the WordPress dashboard. Use the provided options to adjust the settings to your liking. 44 43 45 44 = Can I enable the progress bar on specific posts only? … … 49 48 == Changelog == 50 49 51 = 1.0.0 = 52 * Initial release. 50 == 1.0.1 == 53 51 54 == Upgrade Notice == 52 Text domain updated to plugin slug 53 Pot File Added 55 54 56 55 = 1.0.0 = 57 56 Initial release of the Reading Progress Bar plugin. 58 57 58 == Upgrade Notice == 59 59 60 == Screenshots == 60 61 61 62 1. Progress bar displayed on a blog post. 63  64 62 65 2. Plugin settings page in the WordPress dashboard. 66  67 68 3. Plugin settings option in the post editor. 69  70 71 4. Plugin settings in menu. 72  63 73 64 74 == Upgrade Notice == 65 75 66 = 1.0.0 =67 Initial release of the Reading Progress Bar plugin.68 76 69 77 == License ==
Note: See TracChangeset
for help on using the changeset viewer.