Title: Anatolii Dimov's Replies | WordPress.org

---

# Anatolii Dimov

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/users/xpood/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/xpood/replies/page/2/?output_format=md)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Blocksy] How do I redefine the layout style for a single block?](https://wordpress.org/support/topic/how-do-i-redefine-the-layout-style-for-a-single-block/)
 *  Thread Starter [Anatolii Dimov](https://wordpress.org/support/users/xpood/)
 * (@xpood)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/how-do-i-redefine-the-layout-style-for-a-single-block/#post-16605464)
 * Thanks for the help, I really appreciate it. Solved my problem using content_blocks.
   I just forgot about the hooks in your theme.
   The best theme!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Blocksy] How do I redefine the layout style for a single block?](https://wordpress.org/support/topic/how-do-i-redefine-the-layout-style-for-a-single-block/)
 *  Thread Starter [Anatolii Dimov](https://wordpress.org/support/users/xpood/)
 * (@xpood)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/how-do-i-redefine-the-layout-style-for-a-single-block/#post-16604653)
 * OK
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YITH WooCommerce Ajax Product Filter] Can we remove the URL parameters as it is done on your site?](https://wordpress.org/support/topic/can-we-remove-the-url-parameters-as-it-is-done-on-your-site/)
 *  Thread Starter [Anatolii Dimov](https://wordpress.org/support/users/xpood/)
 * (@xpood)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/can-we-remove-the-url-parameters-as-it-is-done-on-your-site/#post-16565884)
 * It’s solved:
 *     ```wp-block-code
       // YITH WooCommerce Ajax Product Filter - URL
       add_filter( 'yith_wcan_query_param', 'yith_wcan_customize_query_param' );
   
       if( ! function_exists( 'yith_wcan_customize_query_param' ) ){
        function yith_wcan_customize_query_param( $param ){
         $param = '';
         return $param;
        }
       }
       ```
   
    -  This reply was modified 3 years, 4 months ago by [Anatolii Dimov](https://wordpress.org/support/users/xpood/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[belingoGeo] Установился не коректно.](https://wordpress.org/support/topic/%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%b8%d0%bb%d1%81%d1%8f-%d0%bd%d0%b5-%d0%ba%d0%be%d1%80%d0%b5%d0%ba%d1%82%d0%bd%d0%be/)
 *  Thread Starter [Anatolii Dimov](https://wordpress.org/support/users/xpood/)
 * (@xpood)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%b8%d0%bb%d1%81%d1%8f-%d0%bd%d0%b5-%d0%ba%d0%be%d1%80%d0%b5%d0%ba%d1%82%d0%bd%d0%be/#post-16552539)
 * Установил 1.7.1 версию все супер!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Blocksy] How to hide bread crumbs for woocommerce?](https://wordpress.org/support/topic/how-to-hide-bread-crumbs-for-woocommerce/)
 *  Thread Starter [Anatolii Dimov](https://wordpress.org/support/users/xpood/)
 * (@xpood)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/how-to-hide-bread-crumbs-for-woocommerce/#post-16485236)
 * Thank you very much!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Blocksy] The selection text color problem](https://wordpress.org/support/topic/the-selection-text-color-problem/)
 *  [Anatolii Dimov](https://wordpress.org/support/users/xpood/)
 * (@xpood)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/the-selection-text-color-problem/#post-16484688)
 * There’s a similar question here: [https://wordpress.org/support/topic/change-text-selection-color/](https://wordpress.org/support/topic/change-text-selection-color/)
   
   T there is a solution:[https://d.pr/v/wPZkEu](https://d.pr/v/wPZkEu)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Rank Math SEO – AI SEO Tools to Dominate SEO Rankings] Quick filling with a table](https://wordpress.org/support/topic/quick-filling-with-a-table/)
 *  Thread Starter [Anatolii Dimov](https://wordpress.org/support/users/xpood/)
 * (@xpood)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/quick-filling-with-a-table/#post-16456426)
 * Sorry, I didn’t notice that the plugin has csv import/export.
   The problem is 
   solved.
    -  This reply was modified 3 years, 5 months ago by [Anatolii Dimov](https://wordpress.org/support/users/xpood/).
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Blocksy] The Best Theme and The Best Team](https://wordpress.org/support/topic/the-best-theme-and-the-best-team/)
 *  [Anatolii Dimov](https://wordpress.org/support/users/xpood/)
 * (@xpood)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/the-best-theme-and-the-best-team/#post-13316051)
 * Hello friends!
    Once again I want to thank the developers of the theme. And also
   a special thanks to the support service. I cannot express in words how happy 
   I am. Guys, you are the best. Thanks for the help.
 * I had questions about bread crumbs. The team released two updates that completely
   solved my problems. It’s so cute. I appreciate it very much.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Blocksy] Breadcrumbs are not displayed](https://wordpress.org/support/topic/breadcrumbs-are-not-displayed/)
 *  Thread Starter [Anatolii Dimov](https://wordpress.org/support/users/xpood/)
 * (@xpood)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/breadcrumbs-are-not-displayed/#post-13311152)
 * Thanks for the help. I really appreciate this.
    Added a new filter to the plugin
   and everything worked as it should.
 * Love you!!!
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [How do I get the correct URL?](https://wordpress.org/support/topic/how-do-i-get-the-correct-url/)
 *  Thread Starter [Anatolii Dimov](https://wordpress.org/support/users/xpood/)
 * (@xpood)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-do-i-get-the-correct-url/#post-13298223)
 * Thanks for the help. I really appreciate this. Unfortunately my programming skills
   are very limited. Can you please help me write a regex. At least roughly indicate
   the lines where you need to change.
 * I understand that I need to change the link structure for tags, and also something
   will need to be changed in the categories. Please, help. For three weeks now 
   I have been trying to find a solution. Boil the grains.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Blocksy] Breadcrumbs are not displayed](https://wordpress.org/support/topic/breadcrumbs-are-not-displayed/)
 *  Thread Starter [Anatolii Dimov](https://wordpress.org/support/users/xpood/)
 * (@xpood)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/breadcrumbs-are-not-displayed/#post-13289228)
 * I thank you for updating 1.7.25.
 * I have another problem with bread crumbs.
    I disabled archives in CUSTOM_POST_TYPE(‘
   has_archive’ => false,), due to 404 errors, in pagination (../services/page/2/).
 * I created a page (_services page_) with a shortcut (_services_), now I need to
   insert it into breadcrumbs.
 * For example-1
 *     ```
       register_post_type ('mod_services', array (
               'labels' => array ('name' => 'services cpt'),
               'has_archive' => true,
       ...
       ));
       ```
   
 * img-1 – [https://ibb.co/Bj0Trhj](https://ibb.co/Bj0Trhj)
 * For example-2
    `'has_archive' => false` img-2 – [https://ibb.co/FWPK6KK](https://ibb.co/FWPK6KK)
 * Is it possible to implement this in Blocksy?
    I apologize for my english. I am
   writing to you via translate.google.
    -  This reply was modified 5 years, 10 months ago by [Anatolii Dimov](https://wordpress.org/support/users/xpood/).
    -  This reply was modified 5 years, 10 months ago by [Anatolii Dimov](https://wordpress.org/support/users/xpood/).
    -  This reply was modified 5 years, 10 months ago by [Anatolii Dimov](https://wordpress.org/support/users/xpood/).
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Blocksy] Breadcrumbs are not displayed](https://wordpress.org/support/topic/breadcrumbs-are-not-displayed/)
 *  Thread Starter [Anatolii Dimov](https://wordpress.org/support/users/xpood/)
 * (@xpood)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/breadcrumbs-are-not-displayed/#post-13272243)
 * Thanks, I’m waiting for the update.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Blocksy] Breadcrumbs are not displayed](https://wordpress.org/support/topic/breadcrumbs-are-not-displayed/)
 *  Thread Starter [Anatolii Dimov](https://wordpress.org/support/users/xpood/)
 * (@xpood)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/breadcrumbs-are-not-displayed/#post-13269414)
 * 2. I need a complete structure for breadcrumbs.
 * I created my own post type with taxonomy and changed the structure for url.
 *     ```
       <?php
       /*
       * Plugin Name: MOD
       * Description: DEV
       */
   
       /** Создание произвольного типа записи
        * - Услуги
        * - cpt_mod_services()
        */
       add_action('init', 'cpt_mod_services', 0);
       function cpt_mod_services()
       {
       	// регистрация типа записи
           register_post_type('mod_services', array(
               'labels'       => array(
       			'name'                     => 'Услуги',
               ),
               'public'       => true,
               'has_archive'  => true,
               'rewrite'      => array('slug' => 'services', 'with_front' => false),
               'supports'     => array('title', 'editor', 'author', 'thumbnail', 'excerpt', 'trackbacks', 'custom-fields', 'comments', 'revisions', 'page-attributes', 'post-formats'),
               'query_var'    => true,
               'show_in_rest' => true,
           ));
       	// регистрация таксономии
           register_taxonomy('mod_services_categories', array('mod_services'), array(
               'labels'       => array(
       			'name'                     => 'Категории услуг',
               ),
               'public'       => true,
               'hierarchical' => true,
               'rewrite'      => array('slug' => 'services', 'hierarchical' => true, 'with_front' => false),
               'query_var'    => true,
               'show_in_rest' => true,
           ));
   
           flush_rewrite_rules();
       }
   
       /** Изменения структуры ссылок записей
        * - services_permastruct()
        */
       add_filter('post_type_link', 'services_permastruct', 1, 2);
       function services_permastruct($permalink, $post)
       {
           if (strpos($permalink, 'services') === false) return $permalink;
           $terms = get_the_terms($post, 'mod_services_categories');
           if (!is_wp_error($terms) && !empty($terms) && is_object($terms[0])) {
               $taxonomy_slug = get_term_parents_list($terms[0]->term_id, 'mod_services_categories', array(
                   'separator' => '/', 'format' => 'slug', 'link' => false, 'inclusive' => true
               ));
               $taxonomy_slug = trim($taxonomy_slug, '/');
           } else {
               $taxonomy_slug = 'catalog';
           }
           return str_replace('services', 'services/' . $taxonomy_slug, $permalink);
       }
   
       /** Создание нового правила перезаписи
        * - taxonomy_slug_rewrite()
        */
       add_filter('generate_rewrite_rules', 'taxonomy_slug_rewrite');
       function taxonomy_slug_rewrite($wp_rewrite)
       {
           $rules = array();
           $taxonomies = get_terms(array(
               'taxonomy' => 'mod_services_categories', 'hide_empty' => false
           ));
           foreach ($taxonomies as $taxonomy) {
               $taxonomy_slug = get_term_parents_list($taxonomy->term_id, 'mod_services_categories', array(
                   'separator' => '/', 'format' => 'slug', 'link' => false, 'inclusive' => true
               ));
               $rules['^services/' . $taxonomy_slug . '?$'] = 'index.php?' . $taxonomy->taxonomy . '=' . $taxonomy->slug;
           }
           $rules['^services/([^/]*)/?$'] = 'index.php?mod_services_categories=$matches[1]';
           $rules['^services/(.+?)/page/?([0-9]{1,})/?$'] = 'index.php?mod_services_categories=$matches[1]&paged=$matches[2]';
           $rules['^services/(.+?)/([^/]*)/?$'] = 'index.php?mod_services=$matches[2]';
           $wp_rewrite->rules = $rules + $wp_rewrite->rules;
       }
   
       /** Обновление правил перезаписи при создании/удалении/изменении таксономий
        * - reset_rewrite_rules()
        */
       add_action('created_mod_services_categories', 'reset_rewrite_rules');
       add_action('delete_mod_services_categories', 'reset_rewrite_rules');
       add_action('edited_mod_services_categories', 'reset_rewrite_rules');
       function reset_rewrite_rules()
       {
           flush_rewrite_rules();
       }
       ```
   
 * It should be – [https://ibb.co/F04p8Xj](https://ibb.co/F04p8Xj)
    Yoast settings
   breadcrumbs – [https://ibb.co/x6TnkDm](https://ibb.co/x6TnkDm) Missing post_type–
   [https://ibb.co/vkTKkQ1](https://ibb.co/vkTKkQ1)
 * How to add Post_Type?
    -  This reply was modified 5 years, 11 months ago by [Anatolii Dimov](https://wordpress.org/support/users/xpood/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [404 error when navigating to a taxonomy page with Cyrillic, what’s wrong?](https://wordpress.org/support/topic/404-error-when-navigating-to-a-taxonomy-page-with-cyrillic-whats-wrong/)
 *  Thread Starter [Anatolii Dimov](https://wordpress.org/support/users/xpood/)
 * (@xpood)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/404-error-when-navigating-to-a-taxonomy-page-with-cyrillic-whats-wrong/#post-13267636)
 * Ха. Я думал, это не русский форум. Везде, где мог спрашиваю и мне никто ничего
   не отвечает.
 * Если по теме, то постоянные ссылки я пересохранял.
 * Пока разбирался с проблемой, то в процессе проблема ушла, и сейчас все работает.
   Однако при создании новых категорий проблема 404 возникает.
 * Если слаг первой и вложеной категории на кирилице, то вложеная категория с 404-
   й ошибкой.
    Вот сайт для тестов [http://svayzavod.ru/](http://svayzavod.ru/)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Astra] Remove “Trail-End” from Breadcrumbs?](https://wordpress.org/support/topic/remove-trail-end-from-breadcrumbs/)
 *  Thread Starter [Anatolii Dimov](https://wordpress.org/support/users/xpood/)
 * (@xpood)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/remove-trail-end-from-breadcrumbs/#post-13138486)
 * I have a localhost (((
 * [img1](https://ibb.co/RbVsRp0)
    [img2](https://ibb.co/Gnf2rYM)
    -  This reply was modified 5 years, 12 months ago by [Anatolii Dimov](https://wordpress.org/support/users/xpood/).
    -  This reply was modified 5 years, 12 months ago by [Anatolii Dimov](https://wordpress.org/support/users/xpood/).
    -  This reply was modified 5 years, 12 months ago by [Anatolii Dimov](https://wordpress.org/support/users/xpood/).

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/users/xpood/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/xpood/replies/page/2/?output_format=md)