Show Last Updated date for Posts - Show Last Updated date 📅 for Posts

Show Last Updated date 📅 for Posts

Here is a simple code snippet that you can add to your theme functions.php file to show the “last updated” date in your posts. A new line will be added to the beginning of the post content if the last modified and published time is different:

after - How to add text after price in WooCommerce

How to add text after price in WooCommerce

To put a string after the price of WooCommerce product and cart pages, use the WooCommerce filters woocommerce_cart_item_price and woocommerce_get_price_html Add the following code to your active theme functions.php file. Make sure to change <span class=”price-suffix”>TEXT AFTER THE PRICE</span> with your text or HTML code. NEXT: How to Add text before the price in WooCommerce

How to Add Custom CSS Code to WordPress - How to Add Custom CSS Code to WordPress

How to Add Custom CSS Code to WordPress

Although you can change almost every aspect of WordPress themes, to design your site exactly how you want it, you may occasionally need to add some custom CSS. In WordPress 4.7, a new way to add CSS to your site was added inside the Customizer which you can find in Customize > Additional CSS. However, CSS … Read full article →