• 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

HomeCode

Code

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
  • 267
wpseo2
0 comments
CodeTutorials

WordPress SEO Plugin Cannot Find an Image on JaW Gallery Page

If you use WordPress SEO Plugin (do not forget to turn the built-in plugin off via theme options->general settings->Use Built-in SEO) you can notice that when you share an image, it takes randomly (most likely an image with the biggest size) generated image. The JaW Gallery does not use any post content, so we had

  • April 11, 2016
  • 0
  • 131
exclude3
0 comments
Code

How to Exclude Elements for Image Effects

If you do not want to use that image effect on some parts of a page, e.g. on sidebar (first post widget), you can simply exclude that element (image effect). Open your browser debug stuff and find its class Then go to ../themes/gdaynews/js/ and open file jaw.utils.php on line 104 and add there that classes

  • April 8, 2016
  • 0
  • 116
wphooks
0 comments
CodeJaW HooksTutorials

Filter jaw_section_title

This filter is used in Section Bar. function my_section_title($title){ return " " . $title; } add_filter('jaw_section_title', 'my_section_title'); The result can look like this: List of all hooks you can find HERE

  • March 24, 2016
  • 0
  • 89
wphooks
0 comments
CodeJaW HooksTutorials

Filter jaw_cropped_text

This filter is used in post box. It’s the cutted description and title text of your post. By standard way it looks like this. function my_cropped_text($text){ return strtoupper($text); } add_filter('jaw_cropped_text', 'my_cropped_text'); The result can look like this: List of all hooks you can find HERE

  • March 24, 2016
  • 0
  • 68
wphooks
0 comments
CodeJaW HooksTutorials

Filter jaw_excerpt

This filter is used in post box. It’s the description text of your post. By standard way it looks like this. function my_excerpt($excerpt){ return str_replace("e", "-SECRET-", $excerpt); } add_filter('jaw_excerpt', 'my_excerpt'); The result can look like this: List of all hooks you can find HERE

  • March 24, 2016
  • 0
  • 58
wphooks
0 comments
CodeJaW HooksTutorials

Filter jaw_breadcrumbs_title

This filter is used in breadcrumbs title. By standard way is there just “Home”. function my_breadcrumbs_title($breadcrumbs_title){ return "My " . $breadcrumbs_title; } add_filter('jaw_breadcrumbs_title', 'my_breadcrumbs_title'); The result can look like this: List of all hooks you can find HERE

  • March 24, 2016
  • 0
  • 77
new option
0 comments
Codefor DevelopersTutorials

How to use your own options

We recommend to you to do all these changes in your Child Theme. Now we have Placed New Option in Theme Options. So how to bring it to life. Anywhere in your child theme just use this code to get the value: jwOpt::get_option('my_awesomeness', 'SOME_DEFAULT_VALUE'); so we can use it e.g. by this way: if(jwOpt::get_option('my_awesomeness', '0') ==

  • March 18, 2016
  • 0
  • 101
show
0 comments
Codefor DevelopersTutorials

How to create own shortcode

Also, we recommend to you, to do all these changes in Child Theme. So we’ve got this shortcode from RevoComposer [jaw_my_element title="" ...  ]. Add this code to your child theme’s function.php function jaw_my_element_func($atts, $content=""){ $atts = shortcode_atts( array( 'title' => '', 'my_switch' => '1' ), $atts ); echo '<div class="my-shortcode">'; echo 'My awesome shortcode can

  • March 18, 2016
  • 0
  • 59
show2
0 comments
Codefor DevelopersRevoComposerTutorials

How to add element to RevoComposer

In case of you want to add some elements to RevoComposer, you can use our filters in your Child Theme. Simply add this code to your child theme’s function.php function my_revocomposer_elements($elements){ $myelements = array(); $myelements[] = array( "name" => "Awesome Shortcode",//name it "desc" => 'Some description',//add description "id" => "build_my_element", //build_ preposition is required! "type" =>

  • March 18, 2016
  • 0
  • 146
  • 1
  • 2
  • 3
  • 4
Copyright © 2016 jawtemplates - WordPress Design Studio Disable responsivity