Available Filters and actions in the GavernWP WordPress theme framework

Last Updated:
Category:
Gavern Framework

Full description How to use the Filters and Actions can be found here.

List of filters available in GavernWP framework:

For theme parts:

  • gavern_thumbnail_caption filter for function which generates featured image caption (placed in gavern/helpers/helpers.layout.fragments.php)

For social links (every social link can be changed by the filter – all social filters are placed in gavern/widgets.social.php file):

  • gk_social_fb_link
  • gk_social_gplus_link
  • gk_social_twitter_link
  • gk_social_rss_link

For the title:

  • gavern_blog_name use to filtered the theme blog name (placed in gavern/helpers/helpers.layout.php file)
  • gavern_blog_desc use to filtered the theme description (placed in gavern/helpers/helpers.layout.php file)

For the Theme logo:

  • gavern_logo_html filter for function which generates the logo of the theme (placed in gavern/helpers/helpers.layout.php file)

For metatags:

  • gavern_meta_description filter for function which generates the template metatags – description (placed in gavern/helpers/helpers.layout.php file)
  • gavern_meta_keywords filter for function which generates the template metatags – keywords (placed in gavern/helpers/helpers.layout.php file)

For Open Graph tags:
filters for functions which generate the template Open Graph tags – title, image, type, description, URL and custom (all placed in gavern/helpers/helpers.layout.php file)

  • gavern_og_title
  • gavern_og_image
  • gavern_og_type
  • gavern_og_description
  • gavern_og_url
  • gavern_og_custom

For the breadcrumb:
filters for functions which generate the breadcrumb output (all placed in gavern/helpers/helpers.layout.php file)

  • gavern_breadcrumb
  • gavern_breadcrumb_home

For the GK News Show Pro widget: filters for functions which generate GK News Show Pro output -title, article text, article featured image, information about article, readmore button, title link and text (all filters placed in gavern/widgets.nsp.php file)

  • gk_nsp_art_title
  • gk_nsp_art_text
  • gk_nsp_art_image
  • gk_nsp_art_info
  • gk_nsp_art_readmore
  • gk_nsp_link_title
  • gk_nsp_link_text

For the GK Tabs widget:
filters for functions which generate GK Tabs output – tab title and content (all filters placed in gavern/widgets.tabs.php file)

  • gk_tabs_tab
  • gk_tabs_content

For example, to change “Meet Gavern WP” to “Home” in breadcrumb use following filter:

function my_breadcrumb_home( $home ) {
return 'Home';
}
add_filter('gavern_breadcrumb_home', 'my_breadcrumb_home');
Available Filters and actions in the GavernWP WordPress theme framework 5.005 (100.00%) 2 votes

This article was first published

Villa Belluci - View our NEW theme
×

Tutorials & tips delivered regularly

Expand your purchase with regular tutorials and tips to making your site better, direct to your email.