• 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

Homefor Developers

for Developers

singlepostpreset
0 comments
for DevelopersTutorials

Single Post Preset

Make or modify your own presets with detailed settings of posts on your blog.

  • April 18, 2016
  • 0
  • 279
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
New options
0 comments
CodeJaW HooksTutorials

How to add new items to Theme Options

In case of you want to add some options to Theme Options, you can use our filters in your Child Theme. Simply add this code to your child theme’s function.php function my_themeoptions_menu($menu){ $menu['myoptions'] = array('submenu' => 0, 'name' => 'My Options', "icon" => "jaw-icon-king"); return $menu; } //add section to left menu in Theme Options add_filter('jaw_themeoptions_menu',

  • March 18, 2016
  • 0
  • 108
wp_transfer
0 comments
for Developers

How to tansfer your sites using WP Clone plugin

If you want to transfer your site from one wordpress installation to another, you can use WP Clone plugin for do that. Transfer of wordpress sites are common, when you’re creating your sites on some dev (test) server and when the sites are builded, you want to move it into production server.

  • November 20, 2015
  • 0
  • 224
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
Copyright © 2016 jawtemplates - WordPress Design Studio Disable responsivity