Your cart is currently empty!
Author: Genx
How to fix pagination to be displayed vertically when using WooCommerce with cocoon theme
When the pagination is displayed vertically, buttons are difficult to press and the design is poor, so I looked into ways to set it horizontally. You can display it horizontally by going to Customize WordPress, going to Additional CSS, and inserting the code below.
.woocommerce-pagination .page-numbers {
height: auto;
width: auto;
}How to enable Gutenberg Editor in WooCommerce
If you put the code below in functions.php and save it, you will be able to use Gutenberg Editor with WooCommerce.
// Enable Gutenberg on Woocommerce function activate_gutenberg_product( $can_edit, $post_type ) { if ( $post_type == 'product' ) { $can_edit = true; } return $can_edit; } add_filter( 'use_block_editor_for_post_type', 'activate_gutenberg_product', 10, 2 ); // Turn on Gutenberg and enable taxonomy fields for woocommerce function enable_taxonomy_rest( $args ) { $args['show_in_rest'] = true; return $args; } add_filter( 'woocommerce_taxonomy_args_product_cat', 'enable_taxonomy_rest' ); add_filter( 'woocommerce_taxonomy_args_product_tag', 'enable_taxonomy_rest' );
Can AI-generated content be used in SEO?
Yes, AI-generated content can be used in SEO, and it has become an increasingly popular tool for digital marketers looking to optimize their websites and improve search engine rankings. Here are several ways AI-generated content can be leveraged for SEO:
(more…)How will the concept of SEO change after the advent of AI tech like ChatGPT?
The advent of AI technologies like ChatGPT is significantly influencing the field of Search Engine Optimization (SEO). Here are some key ways in which SEO is evolving in response to AI advancements:
(more…)[XServer] How to easily install WordPress
It is better to use XServer. XServer has an “Easy Install” feature that allows you to install WordPress with almost one button.
How to make WordPress compatible with Japanese
Just install the WP Multibyte Patch plugin.
How to check for unauthorized access to your WordPress site.
It is a good idea to install a plugin called SiteGuard WP Plugin. The main functions include login restrictions, capture function, plugin/theme checker, security diagnosis, login alert, etc., but I only use the “login alert”. When an administrator logs in, you’ll be notified by email, so you’ll know if there’s any unusual login activity.
How to include custom posts in post RSS in WordPress
Put the following code in functions.php. For example, if it is a slug for a custom post type called ‘product’ or ‘wpdmpro’, enter it as follows. Replace slug with your own custom post type slug.
/* Include custom posts in post RSS */ add_filter( 'pre_get_posts', 'my_custom_posts_rss' ); function my_custom_posts_rss( $query ) { if ( is_feed() ) $query->set( 'post_type', array( 'post', 'product', 'wpdmpro' ) ); return $query; }
The reason why the “いいねボタン・改” did not work on the XServer.
I now understand why the “いいねボタン・改” was not working properly on my site. The cause was that XPageSpeed was turned on in the server side settings of the XServer I was using. I turned everything off and it worked.