Title: DrLightman's Replies | WordPress.org

---

# DrLightman

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

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/drlightman/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/drlightman/replies/page/3/?output_format=md)…
[16](https://wordpress.org/support/users/drlightman/replies/page/16/?output_format=md)
[17](https://wordpress.org/support/users/drlightman/replies/page/17/?output_format=md)
[18](https://wordpress.org/support/users/drlightman/replies/page/18/?output_format=md)
[→](https://wordpress.org/support/users/drlightman/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type UI] Adding column for taxonomy to edit screen – and the filter](https://wordpress.org/support/topic/adding-column-for-taxonomy-to-edit-screen-and-the-filter/)
 *  Thread Starter [DrLightman](https://wordpress.org/support/users/drlightman/)
 * (@drlightman)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/adding-column-for-taxonomy-to-edit-screen-and-the-filter/#post-18833279)
 * Okok, thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type UI] Adding column for taxonomy to edit screen – and the filter](https://wordpress.org/support/topic/adding-column-for-taxonomy-to-edit-screen-and-the-filter/)
 *  Thread Starter [DrLightman](https://wordpress.org/support/users/drlightman/)
 * (@drlightman)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/adding-column-for-taxonomy-to-edit-screen-and-the-filter/#post-18832414)
 * Amazing thanks!
 * It doesn’t add the filter dropdown but it’s still something.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic] widget_logic_allowed_functions is not supporting basic functions](https://wordpress.org/support/topic/widget_logic_allowed_functions-is-not-supporting-basic-functions/)
 *  [DrLightman](https://wordpress.org/support/users/drlightman/)
 * (@drlightman)
 * [7 months, 3 weeks ago](https://wordpress.org/support/topic/widget_logic_allowed_functions-is-not-supporting-basic-functions/#post-18642115)
 * I’m baffled by this version, was it requested maybe from wordpress team to improve
   security?
 * And to present it as a minor version is not okay
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Table of Contents Plus] Translating “Heading text” with WPML](https://wordpress.org/support/topic/translating-heading-text-with-wpml/)
 *  Thread Starter [DrLightman](https://wordpress.org/support/users/drlightman/)
 * (@drlightman)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/translating-heading-text-with-wpml/#post-18206045)
 * Nevermind, I found the way. The plugin (toc+) must include a **wpml-config.xml**
   file in its root, with this content:
 *     ```wp-block-code
       <wpml-config>  <admin-texts>    <key name="toc-options">      <key name="heading_text" />    </key>  </admin-texts></wpml-config>
       ```
   
 * Also, I did [this](https://wpml.org/errata/table-of-contents-toc-admin-strings-not-translated-on-the-front-end/),
   but I don’t know it it’s required.
 * At that point you’re able to translate the text you saved in “Heading text” from
   WPML > “String translation”, you can find the new domain `admin_texts_toc-options`
   to filter by, and there there is the string named `[toc-options]heading_text`.
    -  This reply was modified 1 year, 4 months ago by [DrLightman](https://wordpress.org/support/users/drlightman/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Table of Contents Plus] Plugin Removed?](https://wordpress.org/support/topic/plugin-removed-28/)
 *  [DrLightman](https://wordpress.org/support/users/drlightman/)
 * (@drlightman)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/plugin-removed-28/page/2/#post-18205886)
 * Thanks AIOSEO team for adopting.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Widget Shortcode Block Adds Paragraph Tags](https://wordpress.org/support/topic/widget-shortcode-block-adds-paragraph-tags/)
 *  [DrLightman](https://wordpress.org/support/users/drlightman/)
 * (@drlightman)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/widget-shortcode-block-adds-paragraph-tags/#post-18197143)
 * “Custom HTML” block doesn’t fix the issue for me, <p> tags are spawned around
   my divs echoed by the shortcode.
 * Only way I found to get rid of random Ps for good is to install and activate 
   the “Classic Widgets” plugin so to get rid of Blocks entirely and use a Text 
   widget in the widgets area to hold the shortcode.
 * This is a drastic workaround because it disables the block editor for widgets
   entirerly.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redirection] Regexp redirect, how to discard query string](https://wordpress.org/support/topic/regexp-redirect-how-to-discard-query-string/)
 *  Thread Starter [DrLightman](https://wordpress.org/support/users/drlightman/)
 * (@drlightman)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/regexp-redirect-how-to-discard-query-string/#post-18166601)
 * [@delanthear](https://wordpress.org/support/users/delanthear/)
 * You are free to omit the parenthesis, if you plan not using the matched string
   inside them with $:
 *     ```wp-block-code
       /shop/.*
       ```
   
 * Or you can tell the parenthesis to not doing so with `?:`:
 *     ```wp-block-code
       /shop/(?:.*)
       ```
   
 * And you can specifically tell to “lock” the regexp to the start and end of the
   url to match, with ^ and $ at the beginning and ending:
 *     ```wp-block-code
       ^/shop/.*$
       ```
   
 * Anyway this is basic regexp functionality, not specific to the Redirection plugin.
    -  This reply was modified 1 year, 5 months ago by [DrLightman](https://wordpress.org/support/users/drlightman/).
    -  This reply was modified 1 year, 5 months ago by [DrLightman](https://wordpress.org/support/users/drlightman/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redirection] Regexp redirect, how to discard query string](https://wordpress.org/support/topic/regexp-redirect-how-to-discard-query-string/)
 *  Thread Starter [DrLightman](https://wordpress.org/support/users/drlightman/)
 * (@drlightman)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/regexp-redirect-how-to-discard-query-string/#post-18161067)
 * Mmm ok with that in mind I’m also able to fix the query string discard behaviour.
 * **Source url**: `^/foo.html.*$` or `^/foo.html.*`
   **Target url**: `/`
 * This works as expected, target url is not contaminated with unwanted strings.
    -  This reply was modified 1 year, 5 months ago by [DrLightman](https://wordpress.org/support/users/drlightman/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redirection] Regexp redirect, how to discard query string](https://wordpress.org/support/topic/regexp-redirect-how-to-discard-query-string/)
 *  Thread Starter [DrLightman](https://wordpress.org/support/users/drlightman/)
 * (@drlightman)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/regexp-redirect-how-to-discard-query-string/#post-18161007)
 * There seems to be a more generic issue not strictly related to the query string
   with the regexp target url. Test example to reproduce:
 * **Source url**: `^/blabla/`
   **Target url**: `/`(ignore case ON, ignore slash 
   ON, Regex ON)
 * Visited example url: `/blabla/images/tree.jpg`
 * Redirect goes to: `/images/tree.jpg`
 * Expected redirect result: `/`
    -  This reply was modified 1 year, 5 months ago by [DrLightman](https://wordpress.org/support/users/drlightman/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redirection] Regexp redirect, how to discard query string](https://wordpress.org/support/topic/regexp-redirect-how-to-discard-query-string/)
 *  Thread Starter [DrLightman](https://wordpress.org/support/users/drlightman/)
 * (@drlightman)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/regexp-redirect-how-to-discard-query-string/#post-18160979)
 * Because that is just an example for you to make it more readable, the real cases
   are more complex.
    -  This reply was modified 1 year, 5 months ago by [DrLightman](https://wordpress.org/support/users/drlightman/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Conditional Fields for Contact Form 7] Drop downs and piped options](https://wordpress.org/support/topic/drop-downs-and-piped-values/)
 *  Thread Starter [DrLightman](https://wordpress.org/support/users/drlightman/)
 * (@drlightman)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/drop-downs-and-piped-values/#post-17766994)
 * Ah too bad, that pattern is useful to hide an email address but for all other
   99% cases, not very much, cf7 author should support both cases.
 * Thank you for your patience.
    -  This reply was modified 1 year, 11 months ago by [DrLightman](https://wordpress.org/support/users/drlightman/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Conditional Fields for Contact Form 7] Drop downs and piped options](https://wordpress.org/support/topic/drop-downs-and-piped-values/)
 *  Thread Starter [DrLightman](https://wordpress.org/support/users/drlightman/)
 * (@drlightman)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/drop-downs-and-piped-values/#post-17750970)
 * Selecting based on the label is not very multilanguage friendly, is it possibile
   to select by the value on the right?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[ColorMag] Demo import failed, but all seems there, how to reset](https://wordpress.org/support/topic/demo-import-failed-but-all-seems-there-how-to-reset/)
 *  Thread Starter [DrLightman](https://wordpress.org/support/users/drlightman/)
 * (@drlightman)
 * [2 years ago](https://wordpress.org/support/topic/demo-import-failed-but-all-seems-there-how-to-reset/#post-17720408)
 * I resolved by bypassing cloudflare in hosts file for the domain.
 * Thanks for the support.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[ColorMag] Demo import failed, but all seems there, how to reset](https://wordpress.org/support/topic/demo-import-failed-but-all-seems-there-how-to-reset/)
 *  Thread Starter [DrLightman](https://wordpress.org/support/users/drlightman/)
 * (@drlightman)
 * [2 years ago](https://wordpress.org/support/topic/demo-import-failed-but-all-seems-there-how-to-reset/#post-17695891)
 * It turns out that Cloudflare cuts off requests that takes more than 100 seconds
   to execute, so even if my php max executiuon time is 600 or 6000 or 60000 it 
   doens’t matter as per Cloudflare will always be 100 seconds.
 * [https://i.ibb.co/RvfRDN1/image.png](https://i.ibb.co/RvfRDN1/image.png)
 * [https://community.cloudflare.com/t/community-tip-fixing-error-524-a-timeout-occurred/42342](https://community.cloudflare.com/t/community-tip-fixing-error-524-a-timeout-occurred/42342)
 * So I must find a way to disable Cloudflare in the admin area, that might prove
   impossibile, I don’t know.
 * For maximum compatibility world wide (Cloudflare is widely used) you should keep
   the importer execution time under 100 seconds by importing less data (less posts?)
   or by splitting the single import requests into several smaller requests.
 * As for the resetting import thing, I deleted some entries in wp_options containing
   the “colromag” string and I was able to run the importer again for better debugging
   it, after also deleting manually posts, media, widgets and menu created beforehand.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Auto Upload Images] Triggering from another plugin?](https://wordpress.org/support/topic/triggering-from-another-plugin/)
 *  [DrLightman](https://wordpress.org/support/users/drlightman/)
 * (@drlightman)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/triggering-from-another-plugin/#post-17077160)
 * Probably by calling a wp_update_post on every post

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

1 [2](https://wordpress.org/support/users/drlightman/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/drlightman/replies/page/3/?output_format=md)…
[16](https://wordpress.org/support/users/drlightman/replies/page/16/?output_format=md)
[17](https://wordpress.org/support/users/drlightman/replies/page/17/?output_format=md)
[18](https://wordpress.org/support/users/drlightman/replies/page/18/?output_format=md)
[→](https://wordpress.org/support/users/drlightman/replies/page/2/?output_format=md)