WordPress – Add a Custom User Avatar
In the discussion settings of WordPress sites a custom avatar can be placed that can be used by the users on your site when joining to place comments.
In the discussion settings of WordPress sites a custom avatar can be placed that can be used by the users on your site when joining to place comments.
There are times when you may need a shortcode to add the current page or post title somewhere on your site.
When using WooCommerce on a WordPress site, you can show the products on the shop page as a grid, but not all themes show the product’s short description.
The backend of a WordPress site has pages, post, etc. But on the pages, there is no area for writing a short description. This code adds that functionality.
The number of posts contained in each WordPress category (post count) can be displayed in the main menu when using categories as links.
There have been times where I’ve found that one of my sites was showing completely under another individual’s URL. They embedded my site in their frames.
By default WordPress compresses uploaded JPGs to 90% of their original quality, which can have undesirable results. This compression can be turned off.
When using WooCommerce on a WordPress site, the buttons on the shop-page, product-grid items says “add to cart”, but it can be changed to suit your needs.
In WooCommerce, when a guest customer checks out there will be a “Create an Account” checkbox, which is not checked by default. We can change the default.
When creating a popup in Elementor it can be given a button using the button widget for closing the popup. JavaScript can also be utilized to close it.
A “published date” shortcode can be created and placed in your functions.php document to be used in various places in your pages, posts, or site sections.
In the WordPress backend, on the admin bar, there has always been the “Howdy” text that greets you and leads to your account info. It can be customized.
The WordPress login page is fairly plane and has the WordPress logo. It can be customized to represent your company’s brand or the site itself.
If your site doesn’t use comments and you want to remove their menu items from showing in the back end, this can be done in your functions.php file.
Occasionally, you may want to temporarily hide update notifications for a WordPress site because you aren’t updating the plugin for some reason.
If you use the Barn2 WooCommerce Product Table plugin, there may be a reason you want to disable the column sorting.
If you don’t use Gutenberg to build your WordPress pages, you may want to disable blocks and restore the classic widgets in the backend of your site.
To enqueue a JavaScript file in WordPress, you use the wp_enqueue_script function in your theme’s functions.php file.
To enqueue a stylesheet in WordPress, you use the wp_enqueue_style function in your theme’s functions.php file.
By default WordPress will search all posts including pages. You may wish to have the search function only search posts, excluding pages in the results.