Disable WooCommerce Marketing menu
Add the following code to the functions.php of your active theme.
add_filter( 'woocommerce_marketing_menu_items', '__return_empty_array' );
This will remove the following Marketing menu added in WooCommerce 4.0


Add the following code to the functions.php of your active theme.
add_filter( 'woocommerce_marketing_menu_items', '__return_empty_array' );
This will remove the following Marketing menu added in WooCommerce 4.0


We already shared how to add excerpt support for pages and change excerpt length for different categories. In this article we will discuss, how to change default value of post excerpt length in WordPress without using a plugin. The default WordPress excerpt limits your post to 55 words but sometimes 55 words aren’t enough to…

Couple of months ago, I was looking for a simple WordPress plugin to use on one of my client’s website to accept PayPal donations. I was looking for an easy and flexible way to add a PayPal donation button in posts content without hardcoding links everywhere. There are a couple of interesting plugins I found…

https://millionclues.com/wordpress-tips/git-github-basics/

Pages are one of WordPress’s built-in Post Types. You’ll probably want most of your website Pages to look about the same. But sometimes, though, you may need a specific Page, or a group of Pages, to display or behave differently. This is easily accomplished with custom Page Templates. WordPress allows you to create custom page…

By OutsourcedContent — on August 27, 2017 <?php echo apply_filters( ‘the_content’, wp_trim_words( strip_tags( get_post_field(‘post_content’, $recent[“ID”]) ), 55 ) ); ?> where$recent[“ID”]is of the ID of the post. If you are already querying the post and already have a WP_Post object, you can simply use this: <?php echo apply_filters( ‘the_content’, wp_trim_words( strip_tags( $recent[“post_content”] ), 55 )…

WordPress comes with a number of default widgets which allow blog owners to easily add some basic features to their website and one of them is Recent Posts widget. This particular widget, as the name suggests, displays a number of most recent blog posts in WordPress widgetized sidebar. It’s very easy to use, simply drag…
