• Home
  • Quick Start
    • Color Schemes
  • Documentation
    • Shortcodes
    • JaW Hooks
    • Screenshots of ThemeOptions
  • Tutorials
  • Forum
  • Contact
Log In

  • Home
  • Quick Start
    • Color Schemes
  • Documentation
    • Shortcodes
    • JaW Hooks
    • Screenshots of ThemeOptions
  • Tutorials
  • Forum
  • Contact

HomeTag: meta

meta

wphooks
0 comments
JaW Hooks

Action jaw_postbox_X

This action is used for content of post boxes. function my_init(){ remove_action("jaw_postbox_vertical", array("jwRender", "postboxMeta"), 15, 1); add_action("jaw_postbox_vertical", array("jwRender", "postboxMeta"), 9, 1); } add_action('init', 'my_init', 10); The result can look like this: function my_postbox(){ echo "Something special here"; } add_action("jaw_postbox_vertical", "my_postbox", 11, 1); The result can look like this: List of all hooks you can find HERE

  • October 17, 2016
  • 0
  • 121
wphooks
0 comments
JaW Hooks

Filter jaw_meta_categories

GDN version 1.4+ This filter is used in Meta Category. You can change category items in meta.   function my_meta_categories($categories){ foreach($categories as $key => $category){ if($category->parent > 0){ unset($categories[$key]); } } return $categories; } add_filter( 'jaw_meta_categories', 'my_meta_categories',10 ); In meta will be shown only main categories (not childs)   List of all hooks you can

  • October 3, 2016
  • 0
  • 111
wphooks
0 comments
CodeJaW HooksTutorials

Action jaw_after_single_meta

This action is used after meta tags in a single post function my_custom_meta(){ echo '<img src="SOME_URL" alt="NAME_OF_IMAGE" />'; } add_action('jaw_after_single_meta', 'my_custom_meta'); The result can look like this: List of all hooks you can find HERE

  • September 25, 2015
  • 0
  • 71
Copyright © 2016 jawtemplates - WordPress Design Studio Disable responsivity