Changeset 3384662
- Timestamp:
- 10/26/2025 08:40:44 AM (7 weeks ago)
- Location:
- woocommerce-breadcrumbs
- Files:
-
- 7 edited
- 1 copied
-
assets/screenshot-1.png (modified) (previous)
-
assets/screenshot-2.png (modified) (previous)
-
assets/screenshot-3.png (modified) (previous)
-
tags/1.3.0 (copied) (copied from woocommerce-breadcrumbs/trunk)
-
tags/1.3.0/readme.txt (modified) (5 diffs)
-
tags/1.3.0/woocommerce-breadcrumbs.php (modified) (6 diffs)
-
trunk/readme.txt (modified) (5 diffs)
-
trunk/woocommerce-breadcrumbs.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-breadcrumbs/tags/1.3.0/readme.txt
r3270932 r3384662 1 === WooCommerce Breadcrumbs===1 === Breadcrumbs for WooCommerce === 2 2 Contributors: ahortin 3 Donate Link: http://maddisondesigns.com/ woocommerce-breadcrumbs3 Donate Link: http://maddisondesigns.com/breadcrumbs-for-woocommerce 4 4 Tags: ecommerce, e-commerce, commerce, woocommerce, breadcrumbs 5 5 Requires at least: 4.6 6 6 Tested up to: 6.8 7 Stable tag: 1. 2.07 Stable tag: 1.3.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 13 13 == Description == 14 14 15 WooCommerce Breadcrumbs is a simple WordPress plugin that allows you torestyle the WooCommerce breadcrumbs. It also gives you the ability to disable them completely so they no longer display.15 Breadcrumbs for WooCommerce is a simple WordPress plugin that helps you restyle the WooCommerce breadcrumbs. It also gives you the ability to disable them completely so they no longer display. 16 16 17 By changing the HTML surrounding your breadcrumbs, you’re able to provide better options for styling your breadcrumbs in different ways. For example, the default breadcrumbs simply display links with a separator character. Using WooCommerce Breadcrumbs, you can change them to display as an unsorted list of links instead.17 By changing the HTML surrounding your breadcrumbs, you’re able to provide better options for styling your breadcrumbs in different ways. For example, the default breadcrumbs simply display links with a separator character. Using Breadcrumbs for WooCommerce, you can change them to display as an unsorted list of links instead. 18 18 19 19 NOTE: This plugin wont actually style your breadcrumbs for you. It simply gives you the tools to change the HTML that wraps around your breadcrumbs. 20 20 21 = WooCommerce Breadcrumbsgives you the following settings =21 = Breadcrumbs for WooCommerce gives you the following settings = 22 22 23 23 * Breadcrumb separator: This is the separator to use between each breadcrumb … … 33 33 If you notice there are a few less breadcrumb options on the settings page than you expected, then you're mostly likely using a WooThemes Theme. WooTheme themes disable the WooCommerce breadcrumbs in favour of the WooFramework Breadcrumbs. The downside to this is that there aren't quite as many options that can be changed with the WooFramework Breadcrumbs. 34 34 35 To see some examples of how you can style your WooCommerce Breadcrumbs, check out the [plugin homepage](http://maddisondesigns.com/ woocommerce-breadcrumbs/).35 To see some examples of how you can style your WooCommerce Breadcrumbs, check out the [plugin homepage](http://maddisondesigns.com/breadcrumbs-for-woocommerce/). 36 36 37 37 … … 40 40 1. Upload the 'woocommerce-breadcrumbs' folder to your '/wp-content/plugins/' directory 41 41 2. Activate the plugin through the 'Plugins' menu in WordPress 42 3. Go to the 'Settings > WC Breadcrumbs' menu to update the plugin settings42 3. Go to the 'Settings > Breadcrumbs for WC' menu to update the plugin settings 43 43 44 44 … … 59 59 == Screenshots == 60 60 61 1. WooCommerce Breadcrumbdefault settings62 2. WooCommerce Breadcrumbsettings63 3. WooCommerce Breadcrumbsettings for WooTheme Themes61 1. Breadcrumbs for WooCommerce default settings 62 2. Breadcrumbs for WooCommerce settings 63 3. Breadcrumbs for WooCommerce settings for WooTheme Themes 64 64 65 65 66 66 == Changelog == 67 68 = 1.3.0 = 69 - Updated plugin name to avoid violating WooCommerce trademark 70 - Added requirement for WooCommerce into plugin header 67 71 68 72 = 1.2.0 = -
woocommerce-breadcrumbs/tags/1.3.0/woocommerce-breadcrumbs.php
r3270932 r3384662 1 1 <?php 2 2 /* 3 Plugin Name: WooCommerce Breadcrumbs4 Plugin URI: http://maddisondesigns.com/ woocommerce-breadcrumbs3 Plugin Name: Breadcrumbs for WooCommerce 4 Plugin URI: http://maddisondesigns.com/breadcrumbs-for-woocommerce 5 5 Description: A simple plugin to style the WooCommerce Breadcrumbs or disable them altogether 6 Version: 1. 2.06 Version: 1.3.0 7 7 WC requires at least: 2.6 8 8 WC tested up to: 9.8 … … 10 10 Author URI: http://maddisondesigns.com 11 11 Text Domain: woocommerce-breadcrumbs 12 Requires Plugins: woocommerce 12 13 License: GPLv2 13 14 License URI: http://www.gnu.org/licenses/gpl-2.0.html 14 15 */ 15 16 16 class Wcb_ WooCommerce_Breadcrumbs_plugin {17 class Wcb_Breadcrumbs_for_WooCommerce_plugin { 17 18 18 19 private $options; … … 50 51 */ 51 52 public function wcb_create_menu_option() { 52 add_options_page( ' WooCommerce Breadcrumbs', 'WC Breadcrumbs', 'manage_options', 'woocommerce-breadcrumbs', array( $this, 'wcb_plugin_settings_page' ) );53 add_options_page( 'Breadcrumbs for WooCommerce', 'Breadcrumbs for WC', 'manage_options', 'woocommerce-breadcrumbs', array( $this, 'wcb_plugin_settings_page' ) ); 53 54 } 54 55 … … 75 76 */ 76 77 public function wcb_plugin_settings_page() { 78 $other_attributes = array(); 77 79 $this->options = ( get_option( 'wcb_breadcrumb_options' ) === false ? $this->breadcrumb_defaults : get_option( 'wcb_breadcrumb_options' ) ); 78 80 79 81 if( !is_plugin_active( 'woocommerce/woocommerce.php' ) ) { 80 $message = __('It appears that WooCommerce is not currently activated. To get the most out of WooCommerce Breadcrumbsinstall & activate the WooCommerce plugin', 'woocommerce-breadcrumbs' );82 $message = __('It appears that WooCommerce is not currently activated. To get the most out of Breadcrumbs for WooCommerce install & activate the WooCommerce plugin', 'woocommerce-breadcrumbs' ); 81 83 add_settings_error( 'woocommerce-breadcrumb-warnings', esc_attr( 'wcb_woocommerce_disabled' ), $message, 'error' ); 82 84 } 83 85 84 86 if ( $this->wootheme_theme ) { 85 $message = esc_html("It looks like you're using a WooThemes theme. If you notice a few less breadcrumb options than you may expect this is because WooThemes disables the WooCommerce breadcrumbs in favour of theWooFramework Breadcrumbs.", 'woocommerce-breadcrumbs' );87 $message = esc_html("It looks like you're using a WooThemes theme. If you notice a few less breadcrumb options than you may expect this is because WooThemes disables the default WooCommerce breadcrumbs in favour of their WooFramework Breadcrumbs.", 'woocommerce-breadcrumbs' ); 86 88 add_settings_error( 'woocommerce-breadcrumb-warnings', esc_attr( 'wcb_woo_framework_breadcrumbs' ), $message, 'updated' ); 87 89 } … … 90 92 91 93 echo '<div class="wrap">'; 92 echo '<h2> WooCommerce Breadcrumbs</h2>';94 echo '<h2>Breadcrumbs for WooCommerce</h2>'; 93 95 echo '<form action="options.php" method="post">'; 94 96 settings_fields( 'wcb_breadcrumb_options' ); 95 97 do_settings_sections( 'woocommerce-breadcrumbs' ); 96 98 echo '<p>'; 99 $other_attributes = array ( 100 'onclick' => "return confirm( '" . esc_html__( 'Click OK to reset to the default breadcrumb settings!', 'woocommerce-breadcrumbs' ) . "' );", 101 'style' => 'margin-right:16px;' 102 ); 103 submit_button( 'Restore Defaults', 'secondary', 'restore_defaults', false, $other_attributes ); 97 104 submit_button( _x( 'Save Changes', 'breadcrumb', 'woocommerce-breadcrumbs' ), 'primary', 'submit', false ); 98 $other_attributes = array (99 'onclick' => "return confirm( '" . esc_html__( 'Click OK to reset to the default breadcrumb settings!', 'woocommerce-breadcrumbs' ) . "' );"100 );101 submit_button( 'Restore Defaults', 'secondary alignright', 'restore_defaults', false, $other_attributes );102 105 echo '</p>'; 103 106 echo '</form>'; … … 364 367 } 365 368 366 $wcb_ woocommerce_breadcrumbs = new Wcb_WooCommerce_Breadcrumbs_plugin();369 $wcb_breadcrumbs_for_woocommerce = new Wcb_Breadcrumbs_for_WooCommerce_plugin(); 367 370 368 371 /** -
woocommerce-breadcrumbs/trunk/readme.txt
r3270932 r3384662 1 === WooCommerce Breadcrumbs===1 === Breadcrumbs for WooCommerce === 2 2 Contributors: ahortin 3 Donate Link: http://maddisondesigns.com/ woocommerce-breadcrumbs3 Donate Link: http://maddisondesigns.com/breadcrumbs-for-woocommerce 4 4 Tags: ecommerce, e-commerce, commerce, woocommerce, breadcrumbs 5 5 Requires at least: 4.6 6 6 Tested up to: 6.8 7 Stable tag: 1. 2.07 Stable tag: 1.3.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 13 13 == Description == 14 14 15 WooCommerce Breadcrumbs is a simple WordPress plugin that allows you torestyle the WooCommerce breadcrumbs. It also gives you the ability to disable them completely so they no longer display.15 Breadcrumbs for WooCommerce is a simple WordPress plugin that helps you restyle the WooCommerce breadcrumbs. It also gives you the ability to disable them completely so they no longer display. 16 16 17 By changing the HTML surrounding your breadcrumbs, you’re able to provide better options for styling your breadcrumbs in different ways. For example, the default breadcrumbs simply display links with a separator character. Using WooCommerce Breadcrumbs, you can change them to display as an unsorted list of links instead.17 By changing the HTML surrounding your breadcrumbs, you’re able to provide better options for styling your breadcrumbs in different ways. For example, the default breadcrumbs simply display links with a separator character. Using Breadcrumbs for WooCommerce, you can change them to display as an unsorted list of links instead. 18 18 19 19 NOTE: This plugin wont actually style your breadcrumbs for you. It simply gives you the tools to change the HTML that wraps around your breadcrumbs. 20 20 21 = WooCommerce Breadcrumbsgives you the following settings =21 = Breadcrumbs for WooCommerce gives you the following settings = 22 22 23 23 * Breadcrumb separator: This is the separator to use between each breadcrumb … … 33 33 If you notice there are a few less breadcrumb options on the settings page than you expected, then you're mostly likely using a WooThemes Theme. WooTheme themes disable the WooCommerce breadcrumbs in favour of the WooFramework Breadcrumbs. The downside to this is that there aren't quite as many options that can be changed with the WooFramework Breadcrumbs. 34 34 35 To see some examples of how you can style your WooCommerce Breadcrumbs, check out the [plugin homepage](http://maddisondesigns.com/ woocommerce-breadcrumbs/).35 To see some examples of how you can style your WooCommerce Breadcrumbs, check out the [plugin homepage](http://maddisondesigns.com/breadcrumbs-for-woocommerce/). 36 36 37 37 … … 40 40 1. Upload the 'woocommerce-breadcrumbs' folder to your '/wp-content/plugins/' directory 41 41 2. Activate the plugin through the 'Plugins' menu in WordPress 42 3. Go to the 'Settings > WC Breadcrumbs' menu to update the plugin settings42 3. Go to the 'Settings > Breadcrumbs for WC' menu to update the plugin settings 43 43 44 44 … … 59 59 == Screenshots == 60 60 61 1. WooCommerce Breadcrumbdefault settings62 2. WooCommerce Breadcrumbsettings63 3. WooCommerce Breadcrumbsettings for WooTheme Themes61 1. Breadcrumbs for WooCommerce default settings 62 2. Breadcrumbs for WooCommerce settings 63 3. Breadcrumbs for WooCommerce settings for WooTheme Themes 64 64 65 65 66 66 == Changelog == 67 68 = 1.3.0 = 69 - Updated plugin name to avoid violating WooCommerce trademark 70 - Added requirement for WooCommerce into plugin header 67 71 68 72 = 1.2.0 = -
woocommerce-breadcrumbs/trunk/woocommerce-breadcrumbs.php
r3270932 r3384662 1 1 <?php 2 2 /* 3 Plugin Name: WooCommerce Breadcrumbs4 Plugin URI: http://maddisondesigns.com/ woocommerce-breadcrumbs3 Plugin Name: Breadcrumbs for WooCommerce 4 Plugin URI: http://maddisondesigns.com/breadcrumbs-for-woocommerce 5 5 Description: A simple plugin to style the WooCommerce Breadcrumbs or disable them altogether 6 Version: 1. 2.06 Version: 1.3.0 7 7 WC requires at least: 2.6 8 8 WC tested up to: 9.8 … … 10 10 Author URI: http://maddisondesigns.com 11 11 Text Domain: woocommerce-breadcrumbs 12 Requires Plugins: woocommerce 12 13 License: GPLv2 13 14 License URI: http://www.gnu.org/licenses/gpl-2.0.html 14 15 */ 15 16 16 class Wcb_ WooCommerce_Breadcrumbs_plugin {17 class Wcb_Breadcrumbs_for_WooCommerce_plugin { 17 18 18 19 private $options; … … 50 51 */ 51 52 public function wcb_create_menu_option() { 52 add_options_page( ' WooCommerce Breadcrumbs', 'WC Breadcrumbs', 'manage_options', 'woocommerce-breadcrumbs', array( $this, 'wcb_plugin_settings_page' ) );53 add_options_page( 'Breadcrumbs for WooCommerce', 'Breadcrumbs for WC', 'manage_options', 'woocommerce-breadcrumbs', array( $this, 'wcb_plugin_settings_page' ) ); 53 54 } 54 55 … … 75 76 */ 76 77 public function wcb_plugin_settings_page() { 78 $other_attributes = array(); 77 79 $this->options = ( get_option( 'wcb_breadcrumb_options' ) === false ? $this->breadcrumb_defaults : get_option( 'wcb_breadcrumb_options' ) ); 78 80 79 81 if( !is_plugin_active( 'woocommerce/woocommerce.php' ) ) { 80 $message = __('It appears that WooCommerce is not currently activated. To get the most out of WooCommerce Breadcrumbsinstall & activate the WooCommerce plugin', 'woocommerce-breadcrumbs' );82 $message = __('It appears that WooCommerce is not currently activated. To get the most out of Breadcrumbs for WooCommerce install & activate the WooCommerce plugin', 'woocommerce-breadcrumbs' ); 81 83 add_settings_error( 'woocommerce-breadcrumb-warnings', esc_attr( 'wcb_woocommerce_disabled' ), $message, 'error' ); 82 84 } 83 85 84 86 if ( $this->wootheme_theme ) { 85 $message = esc_html("It looks like you're using a WooThemes theme. If you notice a few less breadcrumb options than you may expect this is because WooThemes disables the WooCommerce breadcrumbs in favour of theWooFramework Breadcrumbs.", 'woocommerce-breadcrumbs' );87 $message = esc_html("It looks like you're using a WooThemes theme. If you notice a few less breadcrumb options than you may expect this is because WooThemes disables the default WooCommerce breadcrumbs in favour of their WooFramework Breadcrumbs.", 'woocommerce-breadcrumbs' ); 86 88 add_settings_error( 'woocommerce-breadcrumb-warnings', esc_attr( 'wcb_woo_framework_breadcrumbs' ), $message, 'updated' ); 87 89 } … … 90 92 91 93 echo '<div class="wrap">'; 92 echo '<h2> WooCommerce Breadcrumbs</h2>';94 echo '<h2>Breadcrumbs for WooCommerce</h2>'; 93 95 echo '<form action="options.php" method="post">'; 94 96 settings_fields( 'wcb_breadcrumb_options' ); 95 97 do_settings_sections( 'woocommerce-breadcrumbs' ); 96 98 echo '<p>'; 99 $other_attributes = array ( 100 'onclick' => "return confirm( '" . esc_html__( 'Click OK to reset to the default breadcrumb settings!', 'woocommerce-breadcrumbs' ) . "' );", 101 'style' => 'margin-right:16px;' 102 ); 103 submit_button( 'Restore Defaults', 'secondary', 'restore_defaults', false, $other_attributes ); 97 104 submit_button( _x( 'Save Changes', 'breadcrumb', 'woocommerce-breadcrumbs' ), 'primary', 'submit', false ); 98 $other_attributes = array (99 'onclick' => "return confirm( '" . esc_html__( 'Click OK to reset to the default breadcrumb settings!', 'woocommerce-breadcrumbs' ) . "' );"100 );101 submit_button( 'Restore Defaults', 'secondary alignright', 'restore_defaults', false, $other_attributes );102 105 echo '</p>'; 103 106 echo '</form>'; … … 364 367 } 365 368 366 $wcb_ woocommerce_breadcrumbs = new Wcb_WooCommerce_Breadcrumbs_plugin();369 $wcb_breadcrumbs_for_woocommerce = new Wcb_Breadcrumbs_for_WooCommerce_plugin(); 367 370 368 371 /**
Note: See TracChangeset
for help on using the changeset viewer.