Title: Nox's Replies | WordPress.org

---

# Nox

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [V 6.9 Block Alignment is broken](https://wordpress.org/support/topic/v-6-9-block-alignment-is-broken/)
 *  [Nox](https://wordpress.org/support/users/profnox/)
 * (@profnox)
 * [5 months, 2 weeks ago](https://wordpress.org/support/topic/v-6-9-block-alignment-is-broken/#post-18741926)
 * The issue seems to come from the fact styles aren’t enqueued as expected on 6.9.
   In your case, one of the CSS file that were responsible of the right alignment
   is now missing.
 * You must wait for a fix (on the WordPress core side) before upgrading to this
   version.
 * I didn’t find a report talking about that on the Trac, but considering the impact
   the issue has (any plugin and any theme basically) they are probably already 
   aware about it.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress 6.9 broke site layout](https://wordpress.org/support/topic/wordpress-6-9-broke-site-layout-crewbloom/)
 *  [Nox](https://wordpress.org/support/users/profnox/)
 * (@profnox)
 * [5 months, 2 weeks ago](https://wordpress.org/support/topic/wordpress-6-9-broke-site-layout-crewbloom/#post-18741918)
 * I can confirm. “wp_enqueue_style” seems to not work as expected anymore on 6.9.
 * Many styles that are enqueued from plugins are now missing on my side as well,
   and I don’t manage to enqueue my own styles from my own plugins either.
 * While waiting for a fix, you can use [https://fr.wordpress.org/plugins/wp-downgrade/](https://fr.wordpress.org/plugins/wp-downgrade/)
   to downgrade back to 6.8.3.
    -  This reply was modified 5 months, 2 weeks ago by [Nox](https://wordpress.org/support/users/profnox/).
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Sharing a common block to display through all posts (more a design question)](https://wordpress.org/support/topic/sharing-a-common-block-to-display-through-all-posts-more-a-design-question/)
 *  Thread Starter [Nox](https://wordpress.org/support/users/profnox/)
 * (@profnox)
 * [2 years ago](https://wordpress.org/support/topic/sharing-a-common-block-to-display-through-all-posts-more-a-design-question/#post-17739860)
 * I didn’t know synced pattern was a thing. I will take a look, thank you!
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Sharing a common block to display through all posts (more a design question)](https://wordpress.org/support/topic/sharing-a-common-block-to-display-through-all-posts-more-a-design-question/)
 *  Thread Starter [Nox](https://wordpress.org/support/users/profnox/)
 * (@profnox)
 * [2 years ago](https://wordpress.org/support/topic/sharing-a-common-block-to-display-through-all-posts-more-a-design-question/#post-17738434)
 * Hi bcworkz, thanks for your answer.
 * I’m not really to understand what you mean exactly. I can indeed use a specific
   template at the end of my post-type template, though it needs to involve fields
   the client can change within the back-office. Also the website use WPML so it
   need to be configurable for each language.
 * Hence my idea of using a custom post-type as the default wp_query only look for
   posts matching the current languages, and you can use ACF to make custom fields
   easily.
 * I agree that the best way would be to develop a specific system to do so, with
   a concept that doesn’t natively exists, but I don’t want to recreate the wheel
   for such project. Moreover I will need the same kind of “common block” within
   other post-types, so the solution should be expandable.
 * If you already used Drupal in the past, it allows the user to create a block 
   with custom fields that can be placed anywhere in templates, and configured on
   the back-office. This block is independent from the place it is used, the page
   you use it in just register its id and point to it. So changing it would apply
   the change to each page basically. The problem here with WordPress is that it
   treats blocks as simple content (they’re basically HTML comments in content) 
   and each time you use it, the block get its own id, and registers specific fields
   inside the post directly. So changing one in one page would not change it from
   all other pages where you use it, as they act independently. Unless I miss a 
   feature that would allow me to force a block to share its content within all 
   the pages?
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Changing a column of paragraphs to a row](https://wordpress.org/support/topic/changing-a-column-of-paragraphs-to-a-row/)
 *  [Nox](https://wordpress.org/support/users/profnox/)
 * (@profnox)
 * [2 years ago](https://wordpress.org/support/topic/changing-a-column-of-paragraphs-to-a-row/#post-17736404)
 * The way to achieve a scrollable row would be to set them a defined width (`min-
   width` alongside the current `max-width`) and use a `display:flex;` property 
   on your wrapper to align them as a row, then use `overflow-y: scroll;` rule to
   show a scroll bar. You can basically add this to your own styles:
 *     ```wp-block-code
       .page-client-stories .post_wrapper {
         display: flex;
         overflow-y: scroll;
       }
       .page-client-stories .post_container {
         min-width: 430px;
         margin-right: 50px;
       }
       .page-client-stories .post_container:last-child {
         margin-right: 0px;
       }
       ```
   
 * Though, it may need to be adapted for mobile too. You can reduce the min and 
   max-width for smaller breakpoints.
   Personal advice: in terms of UX, I don’t know
   think it is the best way to show up a content like this though. A carousel showing
   N-by-N items may create a better render.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Prevent Direct Access - Protect WordPress Files] Protected Files are still accessible](https://wordpress.org/support/topic/protected-files-are-still-accessible/)
 *  [Nox](https://wordpress.org/support/users/profnox/)
 * (@profnox)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/protected-files-are-still-accessible/#post-14908345)
 * Same problem here, still accessible.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Migrate Lite - Migration Made Easy] Migration is failing after plugin update](https://wordpress.org/support/topic/migration-is-failing-after-plugin-update/)
 *  [Nox](https://wordpress.org/support/users/profnox/)
 * (@profnox)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/migration-is-failing-after-plugin-update/#post-14604035)
 * I’ve the same problem, no error in the logs.
    No details, no error code. Please
   give us a feedback.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Allow access to a certain folder to admin logged users only](https://wordpress.org/support/topic/allow-access-to-a-certain-folder-to-admin-logged-users-only/)
 *  Thread Starter [Nox](https://wordpress.org/support/users/profnox/)
 * (@profnox)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/allow-access-to-a-certain-folder-to-admin-logged-users-only/#post-14559251)
 * I already tried this too, but it is still a paid plugin. They don’t mention it
   in the presentation page, but as soon as you installed it, most of options require
   the “entreprise” or “premium” offers unfortunately.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Allow access to a certain folder to admin logged users only](https://wordpress.org/support/topic/allow-access-to-a-certain-folder-to-admin-logged-users-only/)
 *  Thread Starter [Nox](https://wordpress.org/support/users/profnox/)
 * (@profnox)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/allow-access-to-a-certain-folder-to-admin-logged-users-only/#post-14559208)
 * Hi,
 * Thank for your fast answer, but thoses plugins are about restricting access to
   WordPress managed content (post-type, product, pages, API requests), is there
   no way to just block a folder?
 * I mean currently, if you tip [https://mywebsitename.com/wp-content/my-folder/something.txt](https://mywebsitename.com/wp-content/my-folder/something.txt)
   you’re able to open and see clearly what is in the something.txt file. I just
   want to prevent users that aren’t admin to see any file in this folder.
 * Also I don’t get why my threads are constantly moved in “fixing wordpress” section,
   if I asked it in the “Developping” section it’s precisely because I would have
   preferred a code approach and try to understand how it works rather than using
   a paid plugin.
    -  This reply was modified 4 years, 11 months ago by [Nox](https://wordpress.org/support/users/profnox/).
    -  This reply was modified 4 years, 11 months ago by [Nox](https://wordpress.org/support/users/profnox/).
    -  This reply was modified 4 years, 11 months ago by [Nox](https://wordpress.org/support/users/profnox/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Add a tax to a specific product, that isn’t changed by any promotion](https://wordpress.org/support/topic/add-a-tax-to-a-specific-product-that-isnt-changed-by-any-promtion/)
 *  Thread Starter [Nox](https://wordpress.org/support/users/profnox/)
 * (@profnox)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/add-a-tax-to-a-specific-product-that-isnt-changed-by-any-promtion/#post-14486684)
 * I wanted to try them before solving the thread.
    Unfortunately none of them were
   very adequate. The first one is a bit like using an hammer to kill a fly (that
   justify the annual pricing, but we had a small need), the second one doesn’t 
   work properly.
 * I finally build my own fee method based on this solution, with a little homemade
   plugin : [https://stackoverflow.com/questions/26240591/add-a-fee-to-woocommerce-per-product-based-on-category](https://stackoverflow.com/questions/26240591/add-a-fee-to-woocommerce-per-product-based-on-category)
 * The `$woocommerce->cart->add_fee()` method is really helpful.
 * Hope it can help someone else.
    -  This reply was modified 4 years, 11 months ago by [Nox](https://wordpress.org/support/users/profnox/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Add a tax to a specific product, that isn’t changed by any promotion](https://wordpress.org/support/topic/add-a-tax-to-a-specific-product-that-isnt-changed-by-any-promtion/)
 *  Thread Starter [Nox](https://wordpress.org/support/users/profnox/)
 * (@profnox)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/add-a-tax-to-a-specific-product-that-isnt-changed-by-any-promtion/#post-14486250)
 * Hi,
 * Thank you maykato for your fast answer.
    I’ll take a look.
    -  This reply was modified 4 years, 11 months ago by [Nox](https://wordpress.org/support/users/profnox/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Variation Swatches for WooCommerce] Disable zoom effect in product’s gallery](https://wordpress.org/support/topic/disable-zoom-effect-in-products-gallery/)
 *  Thread Starter [Nox](https://wordpress.org/support/users/profnox/)
 * (@profnox)
 * [5 years ago](https://wordpress.org/support/topic/disable-zoom-effect-in-products-gallery/#post-14393250)
 * Finally found out it comes from WC itself, and I had to force it, with a high
   priority.
 *     ```
       function remove_image_zoom_support() {
           remove_theme_support( 'wc-product-gallery-zoom' );
       }
       add_action( 'wp', 'remove_image_zoom_support', 100 );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Display “real” wordpress content of the shop/archive page](https://wordpress.org/support/topic/display-real-wordpress-content-of-the-shop-archive-page/)
 *  Thread Starter [Nox](https://wordpress.org/support/users/profnox/)
 * (@profnox)
 * [5 years ago](https://wordpress.org/support/topic/display-real-wordpress-content-of-the-shop-archive-page/#post-14390508)
 * Hi,
 * Okay, I didn’t think it will be a complex thing.
    I’ll try to find another way
   to achieve my needs so.
 * Thank you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Split products loop by categories on the shop page](https://wordpress.org/support/topic/split-products-loop-by-categories-on-the-shop-page/)
 *  Thread Starter [Nox](https://wordpress.org/support/users/profnox/)
 * (@profnox)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/split-products-loop-by-categories-on-the-shop-page/#post-13902208)
 * Hi RK,
 * Thank you for your answer. Unfortunately, I may recommand that solution for some
   clients, but I can’t afford such extension for this particular project.
 * Using shortcodes may be a good and maybe more flexible solution. I’ll try to 
   go with that and mark the thread as resolved.
    -  This reply was modified 5 years, 4 months ago by [Nox](https://wordpress.org/support/users/profnox/).
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Gutenberg custom blocks](https://wordpress.org/support/topic/several-questions-with-gutenberg/)
 *  Thread Starter [Nox](https://wordpress.org/support/users/profnox/)
 * (@profnox)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/several-questions-with-gutenberg/#post-12475369)
 * _Wow, though my question was removed. Someone edited the title without any warning…_
 * I finally found some (dirty) ways to manage what I wanted to do.
 * So for my first question, I came accross this way : [https://florianbrinkmann.com/en/display-specific-gutenberg-blocks-of-a-post-outside-of-the-post-content-in-the-theme-5620/](https://florianbrinkmann.com/en/display-specific-gutenberg-blocks-of-a-post-outside-of-the-post-content-in-the-theme-5620/)
   which will enable you to play with the content output. I splitted the render 
   of the block depending on the blocks name, so I can render two or more outputs(
   as string) in different containers of my page template. But obviously be careful
   with this way if you’ve other extensions that already manipulate the content 
   or their filters.
 * And for the second one, I finally changed the default content directly using 
   the `default_content` filter.
    Fortunately this last one work with blocks, but
   don’t forget to check if the current editor mode is well Gutenberg. CF : [https://wordpress.stackexchange.com/questions/348426/how-can-default-content-filter-tell-if-content-will-load-in-block-editor-or-clas](https://wordpress.stackexchange.com/questions/348426/how-can-default-content-filter-tell-if-content-will-load-in-block-editor-or-clas)
   then you can pass a block as a comment in a string (as it is written in your 
   database).
 * Hope it will help.

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

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