• 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

HomeAuthor: admin
admin

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
menu-widget6
0 comments
CodeTutorials

How to add more Widget areas to menu.

You’ll have to change code of a JaW Menu plugin. Please open plugins\jaw-menu-gdaynews\menu\JawMenu.class.php between lines 17 – 22 $_widgets_area = array( 'widget-menu-area-1' => 'Widget menu area 1', 'widget-menu-area-2' => 'Widget menu area 2', 'widget-menu-area-3' => 'Widget menu area 3', 'widget-menu-area-4' => 'Widget menu area 4', ); change to: $_widgets_area = array( 'widget-menu-area-1' => 'Widget menu area

  • November 10, 2016
  • 0
  • 269
0 comments
Plugins

Post Offset in Categories

Do you have some latest posts in featured area of the category and don’t want to show it in regular list of category, so here is JaW plugin for this feature:  DOWNLOAD JaW Offset Category plugin   Install and activate it and go to Category edit and set Post offset by your needs.   Result will looks

  • November 1, 2016
  • 0
  • 130
wphooks
0 comments
JaW Hooks

Filter jaw_get_template_part

GDN version 2.1+ This filter is used in every template. You can change HTML output. function my_get_template_part( $html, $tmpl_name, $dir){ $html = ""; if($tmpl_name == "related-post" && $dir == "blog"){ jaw_template_set_var('box_title', esc_html__('Related Posts', "gdn-theme")); echo jaw_get_template_part('section_bar', 'simple-shortcodes'); $html .= '<div class="jaw-blog-wraper">'; $html .= "And now for some completely different"; $html .= '</div>'; } return $html;

  • October 31, 2016
  • 0
  • 148
install-t6
0 comments
Tutorials

How to set Custom Stock Ticker

1. Install and Activate “Custom Stock Ticker” plugin 2. Go to Relevad Plugins -> New Ticker 3.1. Name your Stock Ticker 3.2. Choose Classic template and click “Apply” 3.3. Set the settings like on this image 3.4. Add Stocks 3.5. Save Changes 3.6. Copy shortcode to your clipboard [stock-ticker name=”my ticker”] 4. Go to Theme Options ->

  • October 18, 2016
  • 0
  • 829
install8
0 comments
Tutorials

How to set Custom Stock Widget

1. Install and Activate “Custom Stock Widget” plugin 2. Go to Relevad Plugins -> New Widget 3.1. Name your Stock Widget 3.2. Choose Minimal template and click “Apply” 3.3. Set the settings like on this image 3.4. Add Stocks 3.5. Save Changes 3.6. Copy shortcode to your clipboard [stock-widget name=”my stock”] 4. Edit your homepage.

  • October 18, 2016
  • 0
  • 606
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
shortocdes-conditional
0 comments
Shortcode

Conditional Shortcodes

Conditional Shortcodes Appearance [jaw_is_single]Here you can put text or some other shortcodes, which will be shown only in a single post.[/jaw_is_single] [jaw_is_archive]Here you can put text or some other shortcodes, which will be shown only in an archive.[/jaw_is_archive] [jaw_is_front_page]Here you can put text or some other shortcodes, which will be shown only on home page.[/jaw_is_front_page]

  • October 12, 2016
  • 1
  • 94
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
mynews
0 comments
Tutorials

MyNews Feature

  • October 3, 2016
  • 0
  • 251
  • 1
  • 2
  • 3
  • 4
  • …
  • 15
Copyright © 2016 jawtemplates - WordPress Design Studio Disable responsivity