• 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: hook

hook

wphooks
0 comments
JaW Hooks

Actions jaw_before_usermanagement and jaw_after_usermanagement

This action is used above/below MyNews User manager page. Changable avatar. Firstly install this plugin: https://wordpress.org/plugins/wp-user-avatar/ function my_change_avatar(){ echo '<div class="change-avatar">'; echo do_shortcode('[avatar_upload]'); echo '</div>'; } add_action('jaw_before_usermanagement','my_change_avatar'); The result can look like this:   Change user’s Name/Pasword/… . Firstly install this plugin: https://wordpress.org/plugins/wp-user-avatar/ function my_change_pass(){ echo '<div class="change-pass">'; echo do_shortcode('[clean-login-edit]'); echo '</div>'; } add_action('jaw_before_usermanagement','my_change_pass'); The result

  • December 8, 2016
  • 0
  • 116
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
JaW Hooks

Action jaw_mobile_menu_wrapper

This action is used next to mobile menu bar function my_custom_mobile_menu_button(){ echo 'echo '<a href="SOME_URL">BUY NOW</a>'; } add_action('jaw_mobile_menu_wrapper', 'my_custom_mobile_menu_button'); The result can look like this: List of all hooks you can find HERE

  • September 9, 2016
  • 0
  • 96
wphooks
0 comments
JaW Hooks

Filter jaw_gallery_box_default_name

This filter is used in JaW Gallery Simple, Vertical and Horizontal. You can change its default name, which is simple GALLERY. function my_custom_gallery_title($title){ return "custom name"; } add_filter('jaw_gallery_box_default_name', 'my_custom_gallery_title'); The result looks like this: List of all hooks you can find HERE

  • June 6, 2016
  • 0
  • 65
wphooks
0 comments
JaW Hooks

Action jaw_after_menu_wrapper

This action is used after the menu wrapper. function jaw_landing_page_buy_button() { echo "<a class='btn jaw-landing-page-buy-button' href='http://themeforest.net/item/goodstore-woocommerce-theme/7314327?ref=jawtemplates' style='position: absolute; top: 23px; right: 0px; border: 2px solid white; color: white; z-index: 1px; padding: 5px 40px;'><span style='font-weight: bold;'>BUY NOW</span></a>"; } add_action('jaw_after_menu_wrapper', 'jaw_landing_page_buy_button',0); The result can look like this: List of all hooks you can find HERE

  • April 29, 2016
  • 0
  • 114
wphooks
0 comments
CodeJaW HooksTutorials

Action jaw_gallery_after_list_photos

This action is used after list of photos in a single gallery function my_custom_gallery_after_listphoto() { echo '<p>I am right here :)</p>'; } add_action('jaw_gallery_after_list_photos', 'my_custom_gallery_after_listphoto'); The result can look like this: List of all hooks you can find HERE

  • October 5, 2015
  • 0
  • 67
wphooks
0 comments
CodeJaW HooksTutorials

Action jaw_gallery_before_list_photos

This action is used before list of photos in a single gallery function my_custom_gallery_before_listphoto() { echo '<p>I am right here :)</p>'; } add_action('jaw_gallery_before_list_photos', 'my_custom_gallery_before_listphoto'); The result can look like this: List of all hooks you can find HERE

  • October 5, 2015
  • 0
  • 46
wphooks
0 comments
CodeJaW HooksTutorials

Action jaw_gallery_after_main_photo

This action is used after main photo in a single gallery function my_custom_gallery_after_photo() { echo '<p>I am right here :)</p>'; } add_action('jaw_gallery_after_main_photo', 'my_custom_gallery_after_photo'); The result can look like this: List of all hooks you can find HERE

  • October 5, 2015
  • 0
  • 45
wphooks
0 comments
CodeJaW HooksTutorials

Action jaw_gallery_before_main_photo

This action is used before main photo in a single gallery function my_custom_gallery_before_photo() { echo '<img src="SOME_URL" alt="NAME_OF_IMAGE" />'; } add_action('jaw_gallery_before_main_photo', 'my_custom_gallery_before_photo'); The result can look like this: List of all hooks you can find HERE

  • September 29, 2015
  • 0
  • 63
wphooks
0 comments
CodeJaW HooksTutorials

Action jaw_gallery_after_title

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

  • September 29, 2015
  • 0
  • 48
  • 1
  • 2
  • 3
Copyright © 2016 jawtemplates - WordPress Design Studio Disable responsivity