Skip to content

Commit

Permalink
v1 - Added icon and banner and Escaping Data
Browse files Browse the repository at this point in the history
  • Loading branch information
nbwpuk committed Mar 21, 2023
1 parent 1cb7b12 commit 1926cff
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Binary file added assets/banner-772x250.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon-256x256.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions edh-shop-categories.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Author URI: https://encode.host
* Text Domain: edh-shop-categories
* Domain Path: /languages
* Version: 0.1.0
* Version: 1.0.0
*
* @package EDH_Shop_Categories
*/
Expand Down Expand Up @@ -61,7 +61,7 @@ function edh_custom_subcategories( $args = array() ) {
foreach ( $terms as $term ) {
echo '<li class="category">';
woocommerce_subcategory_thumbnail( $term );
echo '<h2><a href="' . esc_url( get_term_link( $term ) ) . '" class="' . $term->slug . '">' . $term->name . '</a></h2>';
echo '<h2><a href="' . esc_url( get_term_link( $term ) ) . '" class="' . esc_html($term->slug) . '">' . esc_html($term->name) . '</a></h2>';
echo '</li>';
}
echo $args['after'];
Expand Down
2 changes: 2 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ Using CSS you can customise the layout to your needs by targeting the "edh-produ
1. Screenshot of the output on desktop.

== Changelog ==
= 1.0.0 =
Added icon and banner and Escaping Data
= 0.1.1 =
Updated README to add FAQ's and How to Install
= 0.1.0 =
Expand Down

0 comments on commit 1926cff

Please sign in to comment.