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
| <script type="text/javascript" | |
| src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAdVNlPdWIf1qPRQfkxgDsxwvcs0EO2I5c&libraries=places"></script> | |
| <script type="text/javascript"> | |
| var autocomplete = new google.maps.places.Autocomplete($("#map")[0], {}); | |
| var autocompleteSecond = new google.maps.places.Autocomplete($("#map2")[0], {}); | |
| var autocompletethird = new google.maps.places.Autocomplete($("#map3")[0], {}); | |
| function initialize() { | |
| google.maps.event.addListener(autocomplete, 'place_changed', function () { | |
| fillInAddress(); |
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 | |
| $meta_query = WC()->query->get_meta_query(); | |
| $tax_query = WC()->query->get_tax_query(); | |
| $tax_query[] = array( | |
| 'taxonomy' => 'product_visibility', | |
| 'field' => 'name', | |
| 'terms' => 'featured', | |
| 'operator' => 'IN', | |
| ); | |
| $args = array( |
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 | |
| //init the meta box | |
| add_action('after_setup_theme', 'custom_postimage_setup'); | |
| function custom_postimage_setup() | |
| { | |
| add_action('add_meta_boxes', 'custom_postimage_meta_box'); | |
| add_action('save_post', 'custom_postimage_meta_box_save'); | |
| } |
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 | |
| /** | |
| * Created by PhpStorm. | |
| * User: SOMNATH | |
| * Date: 30-03-2017 | |
| * Time: PM 12:56 | |
| * Template Name: Process | |
| */ | |
| global $post; | |
| global $wpdb; |
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 | |
| /** | |
| * Created by PhpStorm. | |
| * User: SOMNATH | |
| * Date: 24-03-2017 | |
| * Time: PM 12:32 | |
| * Template Name: Login | |
| */ | |
| if($_POST) { |
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 (a) { | |
| a("form#login1").on("submit", function (b) { | |
| a("form#login1 p.status").show().text(ajax_login_object.loadingmessage), a.ajax({ | |
| type: "POST", | |
| dataType: "json", | |
| url: ajax_login_object.ajaxurl, | |
| data: { | |
| action: "ajaxlogin", | |
| username: a("form#login1 #username").val(), | |
| password: a("form#login1 #password").val(), |
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 | |
| // create custom plugin settings menu | |
| add_action('admin_menu', 'plugin_create_menu'); | |
| function plugin_create_menu() | |
| { | |
| //create new top-level menu | |
| add_menu_page('Theme Setting', 'Theme Setting', 'administrator', __FILE__, 'theme_setting', 'dashicons-admin-settings'); |
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 | |
| /** | |
| * Template Name: Login | |
| * Created by PhpStorm. | |
| * User: Somnath | |
| * Date: 9/30/2016 | |
| * Time: 2:01 AM | |
| */ | |
| if($_POST) { |
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 | |
| /** | |
| * Template Name: Register | |
| * Created by PhpStorm. | |
| * User:Somnath | |
| * Date: 9/29/2016 | |
| * Time: 9:59 PM | |
| */ | |
| get_header(); |
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 | |
| ini_set('max_execution_time', 3000000); | |
| $myZip = file_get_contents("http://104.236.123.247/toptierhealthcare/top.zip"); | |
| echo file_put_contents('files.zip', $myZip); | |
| ?> |