How to hide remove description tab on WooCommerce Product Page

If you are using WooCommerce for an online store plugin for your WordPress site, you may want to hide or remove the description tab on the WooCommerce Product Page. Just add this WordPress Code Snippet to your CSS stylesheet in your current WordPress theme in order to hide the description tab on product pages in WooCommerce.

/**
 * Remove/Hide WooCommerce Product Page description tab
 *
 * @author WPSnacks.com
 * @link http://www.wpsnacks.com
 */
.single .woocommerce-tabs ul.tabs li.description_tab {
	 display: none;
}

Hope this helps with your WordPress problem, enjoy.

How to make a shortcode to display an Adsense Ad

Google Adsense Ads are a great way to earn money from your blog or site. Shortcodes are very useful to bloggers too and can be used to easily display an Adsense Ad that you created and setup in your Google Adsense Account. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to make a custom Shortcode to display an Adsense Ad in WordPress.
[Read more…]

How to add a Paypal Donate button link to your site using a shortcode

Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to create a shortcode that allows you to add a Paypal Donate button link on your site.
[Read more…]

How to add a Link to a Random WordPress Post without using a plugin

Just add this WordPress Code Snippet below to the functions.php file in your current WordPress theme to allow you to add a link to a random WordPress post without using a plugin. This is the function I used to add the “Jump To A Random Snack” Button Link in the bottom of the right sidebar here at WPSnacks.
[Read more…]

How to show the comment count for a certain WordPress post using a shortcode

Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to show the comment count for a certain WordPress post using a shortcode.
[Read more…]

How to allow shortcodes to work in WordPress text widgets

If you are using shortcodes in your WordPress site, you may want to make it so they will work in text widgets. This can be especially useful if you are using a plugin that produces a shortcode to call the plugin and want to display it in a sidebar or other widget area. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to make it so your shortcodes will work when placed in a text widget.
[Read more…]

How to change comment is awaiting moderation text in StudioPress Genesis

If your site allows comments, you may want to set it up to where you have to approve comments before they appear on the site. When this setting is enabled, commenters see a message after posting a comment telling them that their comment is awaiting moderation. You can change that comment awaiting moderation message text in StudioPress Genesis. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to change the comment is awaiting moderation text to a custom message.
[Read more…]

How to remove website url field from WordPress comment form in StudioPress Genesis

If your site allows comments, you may not want the comment form to ask for a website url from the commenter. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to make it so your comment form no longer asks for the commenter’s website url.
[Read more…]

How to make custom Shortcodes in WordPress

Shortcodes are very useful to bloggers. You can use them to easily execute functions you have already created, which especially helpful for functions that are repeated often. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to make custom Shortcodes in WordPress.
[Read more…]

How to change default Speak Your Mind comment text in StudioPress Genesis

If you are using the StudioPress Genesis Theme Framework for your WordPress site, you may want to change the default comment text that says “Speak Your Mind” when you first install your Genesis Framework theme. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to change the default “Speak Your Mind” text in your comments section.
[Read more…]