Single Post Preset
Make or modify your own presets with detailed settings of posts on your blog.
Make or modify your own presets with detailed settings of posts on your blog.
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
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
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
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
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') ==
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
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" =>
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',
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.