Free
How to Display Categories of Current Post
How to Display Tags of Current Post
How to add Cover to Storefront Homepage
How to Hide Storefront Homepage Title
Add Featured Image with a Function
Remove Storefront Page Title
Remove featured image from Storefront single post
Echo custom post type taxonomy name and slug with function
Force full-width layout on specific single page in Genesis
Show posts with descending order number
How to Show Total Number of Posts, Pages, or Custom Post Types
How do I list Custom Post Type’s Taxonomies
How to display different menu for logged-in users
Put this snippet in the functions.php
Universal Parallax in Genesis
Demo
Step 1
Download the javascript files, or install via npm
Step 2
Enqueue the JS files in your child theme’s functions.php
Step 3
Create the HTML structure in a the file names parallax.php
Your Child Theme/templates/home/parallax.php
Step 4
Add some line of SCSS
Step 5
Create the shortcode for the above created parallax.php file
Step 6
Put the shortcode [parallax] wherever You want to be shown the parallax background.
Change menu toggle breakpoint in Storefront
I created a child theme with Storefront for a hungarian chocolate manufacture called Sweetic.
When I was shrinking the browser window the standard navigation menu didn’t work the proper way:
I addad this snippet to SCSS to fix it:
Extend the free WooCommerce Wholesale Prices to show tax excluded price
While I was working on one of my projects I was wondering if is it possible to extend the features of the free WooCommerce Wholesale Prices plugin?
Regarding to my client’s request I need to display prices in the shop as tax excluded. So If You don’t want to pay for the premium add-on, that includes a bunch of other features that You don’t even need, here’s my snippet that solves this problem.
Remove the regular price if You are logged in as a wholesaler user role.
Remove tax included price for wholesalers in WooCommerce
Change breadcrumbs home text and link in Storefront
Change breadrumbs only on single product page
Read more in official WooCommerce documentation
How to use Genesis Custom Blocks
WP Engine released the Genesis Custom Blocks plugin, that’s going to be replace the famous Advanced Custom Fields plugin. Best for all, that it works not only with Genesis Themes, but will also you can use with any WordPress theme that supports Gutenberg Block Editor.
1) Install and activate Genesis Custom Blocks plugin
2) Create some custom fields
3) Create a folder in your theme named blocks and a template file with block-{slug}.php
Just copy and paste the following snippet in your template file
4) Let’s go ahead and add your just created block with Gutenberg wherever You want
5) Now You can edit each content field from the block editor
6) The content is going to be shown in the front end
7) After I added some styling to the content, it will be look like this
This is an SCSS code, so need to compile it to make it work.
Now you have nothing to do but drag and drop the widget wherever You want to be shown up this nice looking CTA section.