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

action

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

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

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_items_name

This filter is used in JaW Gallery Simple and Horizontal. You can change its default item’s name, which is simple Items (Items are applicated if gallery contains photos and videos) or Photos (Photos are applicated if gallery contains only photos). function my_custom_gallery_items_name($title){ return "images"; } add_filter('jaw_gallery_box_default_items_name', 'my_custom_gallery_items_name'); The result looks like this: List of all

  • June 6, 2016
  • 0
  • 63
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
wphooks
0 comments
CodeJaW HooksTutorials

Action jaw_gallery_before_title

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

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