Title: oscarasking's Replies | WordPress.org

---

# oscarasking

  [  ](https://wordpress.org/support/users/oscarasking/)

 *   [Profile](https://wordpress.org/support/users/oscarasking/)
 *   [Topics Started](https://wordpress.org/support/users/oscarasking/topics/)
 *   [Replies Created](https://wordpress.org/support/users/oscarasking/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/oscarasking/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/oscarasking/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/oscarasking/engagements/)
 *   [Favorites](https://wordpress.org/support/users/oscarasking/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MC4WP: Mailchimp for WordPress] Show WooCommerce Checkout Integration only in one WPML language](https://wordpress.org/support/topic/show-woocommerce-checkout-integration-only-in-one-wpml-language/)
 *  Thread Starter [oscarasking](https://wordpress.org/support/users/oscarasking/)
 * (@oscarasking)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/show-woocommerce-checkout-integration-only-in-one-wpml-language/#post-15745342)
 * Ok, thanks Harish
    -  This reply was modified 3 years, 11 months ago by [oscarasking](https://wordpress.org/support/users/oscarasking/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MC4WP: Mailchimp for WordPress] Show WooCommerce Checkout Integration only in one WPML language](https://wordpress.org/support/topic/show-woocommerce-checkout-integration-only-in-one-wpml-language/)
 *  Thread Starter [oscarasking](https://wordpress.org/support/users/oscarasking/)
 * (@oscarasking)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/show-woocommerce-checkout-integration-only-in-one-wpml-language/#post-15743280)
 * Hi Harish,
 * I was thinking of a PHP-based solution, but CSS might work for me in this case.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] htpasswd and iThemes Security](https://wordpress.org/support/topic/htpasswd-and-ithemes-security/)
 *  Thread Starter [oscarasking](https://wordpress.org/support/users/oscarasking/)
 * (@oscarasking)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/htpasswd-and-ithemes-security/#post-15197060)
 * [@trogau](https://wordpress.org/support/users/trogau/), thanks for the tip. It
   worked for me too. Since it is a staging site, I don’t need to have the ban lists
   enabled neither.
 * I am interested too if anyone has any ideas, without disabling this option.
 * Thanks!
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Changing order of block categories](https://wordpress.org/support/topic/changing-order-of-block-categories/)
 *  [oscarasking](https://wordpress.org/support/users/oscarasking/)
 * (@oscarasking)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/changing-order-of-block-categories/#post-13657492)
 * Hi [@vectyr](https://wordpress.org/support/users/vectyr/),
 * You can do so with `array_unshift` php function. According to the [documentation](https://www.php.net/manual/en/function.array-unshift.php),
   you can do something like this:
 *     ```
       function my_plugin_block_categories( $categories, $post ) {
         if ( $post->post_type !== 'page' ) {
           return $categories;
         }
         $custom_category_one = array(
           'slug' => 'category-dr',
           'title' => __( 'DragonRidge Blocks', 'my-plugin' ),
           //'icon'  => 'admin-home',
         );
         $custom_category_two = array(
           'slug' => 'dr-dashboard',
           'title' => __( 'DragonRidge Dashboard', 'my-plugin' ),
           //'icon'  => 'admin-home',
         );
         $custom_category_three = array(
           'slug' => 'category-home',
           'title' => __( 'DragonRidge Home Page', 'my-plugin' ),
           //'icon'  => 'admin-home',
         );
   
         array_unshift( $categories, $custom_category_one, $custom_category_two, $custom_category_three );
         return $categories;
       }
       add_filter( 'block_categories', 'my_plugin_block_categories', 10, 2 );
       ```
   
 * And you will get this result:
 *     ```
       Array
       (
           [0] => Array
               (
                   [slug] => category-dr
                   [title] => DragonRidge Blocks
                   [icon] => admin-home
               )
   
           [1] => Array
               (
                   [slug] => dr-dashboard
                   [title] => DragonRidge Dashboard
                   [icon] => admin-home
               )
   
           [2] => Array
               (
                   [slug] => category-home
                   [title] => DragonRidge Home Page
                   [icon] => admin-home
               )
   
           [3] => Array
               (
                   [slug] => text
                   [title] => Text
                   [icon] => 
               )
   
           [4] => Array
               (
                   [slug] => media
                   [title] => Media
                   [icon] => 
               )
   
           [5] => Array
               (
                   [slug] => design
                   [title] => Design
                   [icon] => 
               )
   
           [6] => Array
               (
                   [slug] => widgets
                   [title] => Widgets
                   [icon] => 
               )
   
           [7] => Array
               (
                   [slug] => embed
                   [title] => Embeds
                   [icon] => 
               )
   
           [8] => Array
               (
                   [slug] => reusable
                   [title] => Reusable Blocks
                   [icon] => 
               )
       )
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Multiple taxonomy query by permalink](https://wordpress.org/support/topic/multiple-taxonomy-query-by-permalink/)
 *  Thread Starter [oscarasking](https://wordpress.org/support/users/oscarasking/)
 * (@oscarasking)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/multiple-taxonomy-query-by-permalink/#post-12971835)
 * Ok! Thank you very much Joy!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Multiple taxonomy query by permalink](https://wordpress.org/support/topic/multiple-taxonomy-query-by-permalink/)
 *  Thread Starter [oscarasking](https://wordpress.org/support/users/oscarasking/)
 * (@oscarasking)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/multiple-taxonomy-query-by-permalink/#post-12966990)
 * Hi, Joy!
 * Suppose the following. I have an store with this categories:
    - Autumn Winter 19
    - Spring Summer 20
    - Men
    - Women
    - All products are well categorized. All products belongs to Men or Women, and
      all products belongs to one or another season.
    - If I want to show products that belongs to SS20 and Women, for example, is
      there another way than writing example.com/product-category/ss20+women?? How
      would you do it? Is there a way to avoid this kind of urls with plus sign,
      but show products that belongs to those two categories at the same time?
    - Thanks in advance!!

Viewing 6 replies - 1 through 6 (of 6 total)