Title: Lai Xuancheng's Replies | WordPress.org

---

# Lai Xuancheng

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Doubt about Divi theme builder in footer and polylang](https://wordpress.org/support/topic/doubt-about-divi-theme-builder-in-footer-and-polylang/)
 *  [Lai Xuancheng](https://wordpress.org/support/users/lai32290/)
 * (@lai32290)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/doubt-about-divi-theme-builder-in-footer-and-polylang/#post-12536759)
 * Hi there, I’m also having the same question, in my case I’m creating Post Single
   template and I’m adding “Contact Me” section in the end of the content but I 
   need the title of the section be translatable.
 * Is there any way to do this?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Elementor Website Builder - more than just a page builder] change template instance](https://wordpress.org/support/topic/change-template-instance/)
 *  [Lai Xuancheng](https://wordpress.org/support/users/lai32290/)
 * (@lai32290)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/change-template-instance/#post-12061941)
 * hey [@northernfutures](https://wordpress.org/support/users/northernfutures/),
   thanks for sharing!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Post type como parte de outro post type](https://wordpress.org/support/topic/post-type-como-parte-de-outro-post-type/)
 *  [Lai Xuancheng](https://wordpress.org/support/users/lai32290/)
 * (@lai32290)
 * [7 years ago](https://wordpress.org/support/topic/post-type-como-parte-de-outro-post-type/#post-12008997)
 * Dependendo do que for, sera que não vale a pena criar uma taxonomia? assim ele
   funcionaria como as categorias.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Avoid showing same text in multiple loops](https://wordpress.org/support/topic/avoid-showing-same-text-in-multiple-loops/)
 *  [Lai Xuancheng](https://wordpress.org/support/users/lai32290/)
 * (@lai32290)
 * [7 years ago](https://wordpress.org/support/topic/avoid-showing-same-text-in-multiple-loops/#post-12007081)
 * I’m so sorry, you’re right, there’s a bit of issue in the code, please try this
   one:
 *     ```
       <?php query_posts('post_type=wear&meta_key=sold&meta_value=yes'); ?>
       <?php if (have_posts()): ?>
       	<p>I'd like this presentation to be showing one time if there is the sold</p>
   
       <?php while (have_posts()) : the_post(); ?>
       	<h1>Yes, there is some sold</h1>
       <?php endwhile; ?>
   
       <?php else : ?>
       	<h1>No sold available</h1>
       <?php endif; ?>
       ```
   
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Avoid showing same text in multiple loops](https://wordpress.org/support/topic/avoid-showing-same-text-in-multiple-loops/)
 *  [Lai Xuancheng](https://wordpress.org/support/users/lai32290/)
 * (@lai32290)
 * [7 years ago](https://wordpress.org/support/topic/avoid-showing-same-text-in-multiple-loops/#post-12006524)
 * If you want to show a message if have posts, maybe you can change the code to
   be like this:
 *     ```
       <?php query_posts('post_type=wear&meta_key=sold&meta_value=yes'); ?>
       <?php if (have_posts()): ?>
       	<p>I'd like this presentation to be showing one time if there is the sold</p>
       <?php endif; ?>
   
       <?php while (have_posts()) : the_post(); ?>
       	<h1>Yes, there is some sold</h1>
       <?php endwhile; ?>
   
       <?php else : ?>
       	<h1>No sold available</h1>
       <?php endif; ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to filter the blog posts I edited in April, 2019](https://wordpress.org/support/topic/how-to-filter-the-blog-posts-i-edited-in-april-2019/)
 *  [Lai Xuancheng](https://wordpress.org/support/users/lai32290/)
 * (@lai32290)
 * [7 years ago](https://wordpress.org/support/topic/how-to-filter-the-blog-posts-i-edited-in-april-2019/#post-12006496)
 * Hey [@rossross](https://wordpress.org/support/users/rossross/) , you can use 
   [WP Last Modified Info](https://wordpress.org/plugins/wp-last-modified-info/)
   to add <b>Last Modified</b> column in your Post page. And delete it if you’re
   not longer need it.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Como enviar Datos a una Base de datos en WordPress](https://wordpress.org/support/topic/como-enviar-datos-a-una-base-de-datos-en-wordpress/)
 *  [Lai Xuancheng](https://wordpress.org/support/users/lai32290/)
 * (@lai32290)
 * [7 years ago](https://wordpress.org/support/topic/como-enviar-datos-a-una-base-de-datos-en-wordpress/#post-12006221)
 * Hola [@monitoronline](https://wordpress.org/support/users/monitoronline/) , creao
   que tu puede crear un Custom Post Type para guardar los datos. Entonces tu puede
   utilizar WordPress API para insertar.
 * Sorry if you can’t understand me, I’m doing my best to speak Spanish.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Elementor Website Builder - more than just a page builder] Not able to change mobile responsible breakpoint](https://wordpress.org/support/topic/not-able-to-change-mobile-responsible-breakpoint/)
 *  Thread Starter [Lai Xuancheng](https://wordpress.org/support/users/lai32290/)
 * (@lai32290)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/not-able-to-change-mobile-responsible-breakpoint/#post-11808340)
 * As I tested yesterday, this bug seems affect only edition mode, breakpoints are
   working fine in the real view.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Elementor Website Builder - more than just a page builder] the_content() is getting null in Preview Debug](https://wordpress.org/support/topic/the_content-is-getting-null-in-preview-debug/)
 *  Thread Starter [Lai Xuancheng](https://wordpress.org/support/users/lai32290/)
 * (@lai32290)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/the_content-is-getting-null-in-preview-debug/#post-11551141)
 * Hi [@cavalierlife](https://wordpress.org/support/users/cavalierlife/) , after
   a whole day working, I figured out the problem was because of missing `wp_footer()`
    -  This reply was modified 7 years, 4 months ago by [Lai Xuancheng](https://wordpress.org/support/users/lai32290/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Elementor Website Builder - more than just a page builder] Meta_query is not working on Custom Query Filter](https://wordpress.org/support/topic/meta_query-is-not-working-on-custom-query-filter/)
 *  Thread Starter [Lai Xuancheng](https://wordpress.org/support/users/lai32290/)
 * (@lai32290)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/meta_query-is-not-working-on-custom-query-filter/#post-11269237)
 * I just resolved the problem!
    Meta query is an array containing arrays and not
   only one array (you can set multiple queries). So it should be:
 *     ```
       $meta_query = [ [
           'key' => 'codigo_de_barra',
           'value' => $searchStr,
           'compare' => '=',
       ] ];
       ```
   
 * Solution comes from: [https://wordpress.stackexchange.com/questions/330524/meta-query-is-not-working-on-elementor-custom-query-filter](https://wordpress.stackexchange.com/questions/330524/meta-query-is-not-working-on-elementor-custom-query-filter)
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [wp_list_categories returns always descendants, how to show always all categories](https://wordpress.org/support/topic/wp_list_categories-returns-always-descendants-how-to-show-always-all-categories/)
 *  [Lai Xuancheng](https://wordpress.org/support/users/lai32290/)
 * (@lai32290)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/wp_list_categories-returns-always-descendants-how-to-show-always-all-categories/#post-9768409)
 * I’m not sure that I understood your question, but I tried this code on the my`/
   category/car`
 *     ```
       $categories = wp_list_categories();
       print_r($categories);
       ```
   
 * And it’s returning all categories that I have.
    -  This reply was modified 8 years, 10 months ago by [Lai Xuancheng](https://wordpress.org/support/users/lai32290/).
    -  This reply was modified 8 years, 10 months ago by [Lai Xuancheng](https://wordpress.org/support/users/lai32290/).
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [register_post_type is not supporting thumbnail](https://wordpress.org/support/topic/register_post_type-is-not-supporting-thumbnail/)
 *  Thread Starter [Lai Xuancheng](https://wordpress.org/support/users/lai32290/)
 * (@lai32290)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/register_post_type-is-not-supporting-thumbnail/#post-9768400)
 * [@swansonphotos](https://wordpress.org/support/users/swansonphotos/), Thanks 
   for the tips, I didn’t add `add_theme_support`, now is working! thank you so 
   much!
    -  This reply was modified 8 years, 10 months ago by [Lai Xuancheng](https://wordpress.org/support/users/lai32290/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Footer do not show on Google Chrome](https://wordpress.org/support/topic/footer-do-not-show-on-google-chrome/)
 *  [Lai Xuancheng](https://wordpress.org/support/users/lai32290/)
 * (@lai32290)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/footer-do-not-show-on-google-chrome/#post-9753134)
 * It’s seems working for me:
 * ![](https://i0.wp.com/i.imgur.com/MELUhYm.jpg)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Footer do not show on Google Chrome](https://wordpress.org/support/topic/footer-do-not-show-on-google-chrome/)
 *  [Lai Xuancheng](https://wordpress.org/support/users/lai32290/)
 * (@lai32290)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/footer-do-not-show-on-google-chrome/#post-9753122)
 * Could you post some part of code? I’ll try to help you
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [register_post_type is not supporting thumbnail](https://wordpress.org/support/topic/register_post_type-is-not-supporting-thumbnail/)
 *  Thread Starter [Lai Xuancheng](https://wordpress.org/support/users/lai32290/)
 * (@lai32290)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/register_post_type-is-not-supporting-thumbnail/#post-9748208)
 * Probably I didn’t add the theme to support thumbnail! good idea! I’ll check it
   at home.

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

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