This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_shortcode('em_vedio',function($atts){ | |
| $atts = shortcode_atts(array( | |
| 'firstname' => 'Hasanuzzaman', | |
| 'lastname' => 'Shozib', | |
| 'tilte' => 'Just for testing title' | |
| ),$atts,'em_vedio'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jQuery(document).ready(function ($) { | |
| $(".scroll").click(function (event) { | |
| event.preventDefault(); | |
| $('html,body').animate({scrollTop: $(this.hash).offset().top}, 1200); | |
| }); | |
| }); | |
| /** | |
| * @uses : have to add .scroll |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // remove all style for woocommerce template | |
| define('WOOCOMMERCE_USE_CSS', false); | |
| //woocommere custom looping | |
| <section id="recent"> | |
| <h1>Recently Added</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- loop page --> | |
| <div id="content" role="main"> | |
| <nav class="woocommerce-breadcrumb" > | |
| <a class="home" href="http://localhost/woocommerce">Home</a> / Shop | |
| </nav> | |
| <h1 class="page-title">Shop</h1> | |
| <p class="woocommerce-result-count"> | |
| Showing all 4 results</p> | |
| <form class="woocommerce-ordering" method="get"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| comment_form( $args ); | |
| $args = array( | |
| 'fields' => apply_filters( | |
| 'comment_form_default_fields', array( | |
| 'author' =>'<p class="comment-form-author">' . '<input id="author" placeholder="Your Name (No Keywords)" name="author" type="text" value="' . | |
| esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' />'. | |
| '<label for="author">' . __( 'Your Name' ) . '</label> ' . | |
| ( $req ? '<span class="required">*</span>' : '' ) . | |
| '</p>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jQuery(document).ready(function() { | |
| var GreetingAll = jQuery("#GreetingAll").val(); | |
| jQuery("#PleasePushMe").click(function(){ jQuery.ajax({ | |
| type: 'POST', | |
| url: my_ajax_script.ajaxurl, | |
| data: { | |
| action: 'get_my_option', | |
| GreetingAll: GreetingAll, | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * The core plugin class file | |
| * | |
| * Defines the functions necessary to register our custom taxonomies with | |
| * WordPress. | |
| * | |
| * @link http://code.tutsplus.com/series/the-beginners-guide-to-wordpress-taxonomies--cms-706 | |
| * @since 1.0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_action('admin_head', function(){ | |
| global $typenow; | |
| //only post type post and page | |
| if(! in_array($typenow, array('post','page'))) { | |
| return; | |
| } | |
| add_filter('mce_external_plugins', function( $plugin_array){ | |
| $plugin_array['dummytext_plugin'] = plugins_url( '/js/tinymce-plugin.js', __FILE__ ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @media only screen and (max-width: 1100px) and (min-width: 981px) { /* content widht: 960px */ | |
| } | |
| @media only screen and (max-width: 980px) { /* content widht: 690px */ | |
| } | |
| @media only screen and (max-width: 767px) { /* content widht: 400px */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var navHeight = 0; //use valut for sticky menu height | |
| $(document).on("scroll", onScroll); | |
| $('#main-menu ul a[href*="#"]:not([href="#"]), #sidr a[href*="#"]:not([href="#"]').on('click', function (e) { | |
| if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { | |
| e.preventDefault(); |