• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2764

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Premium Access
  • Log in

Free Genesis Tutorials

Support for installation & modification of the code in free & premium tutorials is provided for registered users.

Tutorials which take 1 hr or less are tagged free. Any work which takes more than 1 hr is only available for members.

Subscribe to the raw rss feed for posts in this category or Feedburner.

Subscription includes delivery of both free & premium tutorials.

Subscribe via e-mail

get_body_class

This free code checks the body classes and executes your code if the body class exists. In this case, the code executes on any page which

PHP Functions

Genesis Support For Yoast

3 files inside Genesis include code to support the Yoast SEO plugin. genesis > lib > functions > breadcrumb.php genesis > lib > classes

Redirect Comment Authors Based On Date

The 1st code snippet in the download folder redirects your comment authors to a specific page on weekends only. The 2nd snippet in the

Comments

Wellness Pro – Replace Front Page 1 Widget Area With Slider

This solution uses the Soliloquy slider to replace the front page 1 widget area so you can add captions to each image as seen in the demo

Slider Wellness Pro Theme

Link Single Posts In Same Category

The code in this tutorial enables you to add single post navigation which links posts in the same category. The code is fully

Pagination

Remove Leave a Comment Link From Genesis Post Info

The following PHP code enables you to remove the leave a comment link from posts like this : Copy & paste the code to the end of your

Entry Meta

Infinity Pro – Change Team Page From 4 To 3 Columns

This code modification enables you to modify the default Infinity Pro team class setting for displaying team members on the team page from

Infinity Pro Theme

Foodie Pro – Reposition Search Box Before Nav Menu

By default, the search form in Foodie Pro is added after the nav menu items like this. This solution enables you to add the search box

Foodie Pro Theme Nav Menu

Add Shortlink Anywhere In Genesis

Add the following code to the end of your child themes functions file You can add conditional tags to control which page types and posts

Authority Pro – Enable Shortcodes In Top Banner

To use shortcodes in Authority Pro > Customize > Authority Pro Settings > Top Banner Section, you'll need to modify the PHP code. Go to

Authority Pro Theme

Show Site Description After Header Image In Gallery Pro

This tutorial shows you how to display the site description ( tagline ) when a header image ( logo ) has been added. Generally, when you add

Gallery Pro Theme Site Description

Override WooCommerce archive-product.php Template File In Genesis

Based on the following statement published on the official WooCommerce website, you can't override the archive.product.php file in Genesis

WooCommerce

Add Custom Classes To Specific Post Numbers

This code snippet enables you to add custom classes to any posts in any archive type loop. In this example, we'll be adding a custom class

Authority Pro – Remove Social Menu From Specific Pages

This tutorial provides the steps to modify the code so you can conditionally remove the social menu from specific pages in Authority

Authority Pro Theme Nav Menu

Modify Read More Link Text In Genesis 2.7 +

You can use the genesis_more_text filter added in version 2.7.0 of Genesis to modify the default output for the more text used with

Read More

Add Background Image To Widget Area Using CSS

This CSS enables you to add a background image to any widget area in any theme. In this case the image has been uploaded to the WordPress

Background Image

Only Show Specific Pages or Posts On Home Page

This code enables you to select which single pages you want displayed on the front page of your WordPress site. It excludes all posts and

pre_get_posts

Include Single Pages With Posts In Home Page Loop

This code laters the main query for the home page loop to include single pages with posts. Add the PHP code to the end of your child

pre_get_posts

Set Posts Per Page For Any Archive Type

Use this code in your child themes functions file with a conditional tag to target a specific archive page type to set posts per

pre_get_posts

Disable Connection To WordPress.org On Local Installation

Speed up your local installation by disabling the connection to wordpress.org's server. [code] add_filter( 'pre_http_request',

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Go to page 5
  • Interim pages omitted …
  • Go to page 15
  • Go to Next Page »

Primary Sidebar

Code written by Brad Dalton specialist for WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.