• Skip to main content
  • Skip to primary sidebar

WordPress, Genesis Framework and Storefront customization tutorials

  • Archive
    • Free
    • Premium
  • Blog
  • About
  • Contact
  • Newsletter
  • Membership
  • Login
Home » Free

Free

Prettier doesn’t format the code

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

Filed Under: Free

Use SVG Icons – the correct way

.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>

Filed Under: Free Tagged With: CSS, SVG

Insert page in to another page

// =========================================================================
// 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;
}

Filed Under: Free

Tab Panel with JavaScript

Filed Under: Free Tagged With: JavaScript

ACF Option Pages with Repeater Group and File

SCSS

Filed Under: Free

Hamburger menu for WordPress custom theme

View Demo

Filed Under: Free Tagged With: CSS, JavaScript, PHP

Enqueue Scripts Asynchronously in WordPress

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.

v

Filed Under: Free

@wordpress/scripts

The official WordPress JavaScript tool

npm install @wordpress/scripts --save-dev

Reference

package.json

npm install

Changing file entry and output of build scripts

Watch and compile

npm run start

Import JavaScript

Filed Under: Free

Automatically set image Alt-Text during upload in WordPress

Filed Under: Free Tagged With: SEO

File Renaming on Upload without plugin in WordPress

Rename files during upload within WordPress

How to remove accents from uploaded filenames

Filed Under: Free

Remove Genesis Admin Warnings

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.

Filed Under: Free

Register and Display Option Pages for Post Object, Repeater

Filed Under: Free

ACF Query Upcoming and Past Events

events-query.php
upcoming.php
past.php

Filed Under: Free Tagged With: ACF

ACF Repeater & Post Object & Options Pages

Filed Under: Free

Option Page template for Advanced Custom Fields

Filed Under: Free

Accordion for ACF Repeater Field

PHP

JS

SCSS

Filed Under: Free Tagged With: JavaScript, PHP, SASS

Hide Free Shipping Notice of Current User is WholeSale Customer

Filed Under: Free Tagged With: WooCommerce

Shadow Divider with CSS

divider

Filed Under: Free Tagged With: CSS

Add Custom Fields to Rest API

Filed Under: Free

Query Posts by Custom Fields in WordPress

Query WordPress Posts by Advanced Custom Fields

Filed Under: Free Tagged With: ACF

  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Interim pages omitted …
  • Go to page 17
  • Go to Next Page »

Primary Sidebar

Gabor Flamich

Hi! I'm Gabor.
I write tutorials on WordPress and WooCommerce.

MacBook

12 Essential Snippets for Genesis Developers

Subscribe to my Newsletter to view my basic collection of Genesis snippets that I use for my projects!

Sign Up for Free
  • Facebook
  • GitHub
  • Instagram
  • LinkedIn
  • Twitter
  • YouTube
UpdraftPlus Premium

Tags

ACF Ajax Analytics API Bootstrap Breadcrumb category CPT CSS fetch Genesis Google Maps Gutenberg HTML Isotope JavaScript jQuery loop Map Menu Parallax PHP SASS SEO SQL Storefront SVG tab tag manager tags Taxonomy Tool upsell Webpack Wholesale WooCommerce WordPress WPML

Disclosure: Some of the links in this site are affiliate links. I will be paid a commission if you use this link to make a purchase.

  • Privacy Policy / Terms of Service
© 2023 WP Flames - All Right Reserved