- Go to Settings and search for formatter.
- Set the default formatter to Prettier

.icon { display: inline-block; min-width: 5px; min-height: 5px; background-position: center; background-size: contain; background-repeat: no-repeat; } .icon.icon-print { background-image: url('../images/icons/print.svg'); min-width: 20px; min-height: 20px; }
<i class="icon icon-print"></i>
// ========================================================================= // INSERT PAGE TO ANOTHER PAGE // ========================================================================= function page_partners() { $args = new WP_Query("page_id=285"); while($args->have_posts()) : $args->the_post(); the_content(); endwhile; }
If you regularly build sites with WordPress and test them against Google PageSpeed Insights, you’ll probably have encountered it complaining about async and defer on your scripts.
vnpm install @wordpress/scripts --save-dev
npm install
npm run start
Rename files during upload within WordPress
How to remove accents from uploaded filenames
If You have a Genesis Pro Lifetime subscription, there’s an annoying notification in the plugins section. Just paste the following snippet in the functions.php to remove the warning messages.
events-query.php
upcoming.php
past.php
Query WordPress Posts by Advanced Custom Fields