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

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Action Hooks

The tutorials in this archive contain code which enables you to hook in new content, function calls and other code using action hooks which are the 1st parameter when using add_action in a custom function.

Genesis Hook Template Tag or Function Call After Widget

This code enables you to hook a function after the last widget in any widget area. Your function or content will output within the widget

Action Hooks

Genesis Hook Before Widget Title

The genesis_before_{$id}_widget_area hook enables you to hook content before the widget title, within the widgets div. All you need to do

Action Hooks

add_action

add_action is a function which you'll see in WordPress, Genesis & other theme files. You've probably seen code in a file which looks

Action Hooks PHP Functions

New Genesis 2.0 HTML 5 Loop Hooks & How To Use Them

You will need to add HTML 5 support to your Genesis child theme in order to make these new hooks work. On top of this, the old XHTML

Action Hooks

Using The 3rd Parameter With Action Hooks – Priority For Positioning

Once you've got your head around basic custom functions, you'll probably run into code that uses the same hook and need to add a third

Action Hooks

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems