When editing or adding text to a product in WooCommerce, the text at the top of the page appears in the product tabs, below the product image and price. The short description appears right under the title, next to the product image. This is where most people add product details. However, the longer description is what’s most obvious when editing. To simplify this, adding a specific code snippet to the functions.php file will remove the long description field, making it clearer where to add content. This is particularly helpful for clients managing their own stores.
Robin Snow
Embedding YouTube videos on WordPress site
Plugin for embedding youtube videos - https://wordpress.org/plugins/youtube-embed-plus/, to hide related videos at the end of playback, need to create api key, https://www.youtube.com/watch?v=VqML5F8hcRQ It works.
Edit Google Business Listing
https://charlesworks.com/send-feedback-to-google/
Increase width in dropdown menu
To avoid text wrapping in dropdown menus, try adding this to css: /* Increase width of drop-down menus */ @media screen and (min-width: 981px) { .sub-menu { min-width: 300px; } #top-menu li li a { width: 260px; /* Extra - Reduce padding on list items */ padding: 4px...
Send Feedback to Google
How to send us feedback in Google Maps We’re always looking for ways to improve Google Maps and would love to hear from you. Tell us what you like, what you don’t like, or about bugs you’ve found. If you think something should be removed for legal reasons, submit...
Remove extra bottom padding and margin on posts
/* Remove extra bottom padding and margin on posts */ .single .et_pb_post { margin-bottom: 0; padding-bottom: 0; } #left-area { padding-bottom: 0 !important; }
How To Fix WordPress Mobile Image Alignment & Text Wrap Problems
You need to add the margin snippet every time you align and image to right or left. <img class="alignright size-medium wp-image-2440" style="padding: 20px;" src="https://website.com/wp-content/uploads/2022/08/plank-pest-spiders-problems-223x300.jpg" alt=""...
Remove Default Selected State from WooCommerce Checkout Billing Fields
Please put this code in functions.php file. //default checkout state add_filter( 'default_checkout_billing_state', 'change_default_checkout_state' ); add_filter( 'default_checkout_shipping_state', 'change_default_checkout_state' ); function...
Removing the WooCommerce Product Long Description metabox
In order to remove the product long description metabox, simply add the following snippet to your website's functions.php file: function remove_pages_editor(){ remove_post_type_support( 'product', 'editor' ); } add_action( 'init', 'remove_pages_editor' ); Note: This...
Gravity Forms Styling for Submit Button
I was having trouble making a nice SUBMIT button on a Gravity Form. Looking for help out on the Internet had all kinds of purported solutions, some recommending getting additional plugins and so on. Luckily, I didn't need to add any plugins! We always want to avoid...