-
Announcing the Release of Change & Hide Login URL for WordPress
I’m excited to share that I’ve just released Change & Hide Login a lightweight WordPress plugin designed to improve your site’s security and usability. Why I built it By default, WordPress uses the familiar wp-login.php and wp-admin URLs for logging in and accessing the admin area. While convenient, this also makes your site more predictable… Continue reading
-
Default Alt Text
I’m excited to share the release of my latest WordPress plugin: Default Alt Text — now available for free on the WordPress Plugin Directory. What Problem Does It Solve? In WordPress, when you add images without specifying alt text, they render on the front end without this important attribute. That’s not ideal for: But manually… Continue reading
-
Change Admin Logo
Hello Frieds, My one more plugin approve by WordPress. Below is the link for my new plugin. Continue reading
-
Featured Image Add in Admin Column
Hello Frieds, My one more plugin approve by WordPress. Below is the link for my new plugin. Continue reading
-
WordPress Ajax Function
jQuery(document).ready(function() { jQuery(“select[name=’hcategory’]”).change(function() { var parentCAT = jQuery(this).val(); var ajaxurl = “”; var group_ID ; if ( parentCAT == “3”) { var group_ID=221; } else if ( parentCAT == “4”) { var group_ID=587; } else { var group_ID=848; } jQuery.ajax({ url: ajaxurl, type: ‘POST’, data: { action: ‘forGet_Subcat’, parentCAT: parentCAT, group_ID: group_ID }, success: function(response)… Continue reading
-
Fetch data using ajax
jQuery(‘.product-view’).click(function(){ jQuery(“.loding-img”).show(); jQuery(“.view-option”).slideToggle(“fast”); jQuery(‘.vehicalview’).html(jQuery(this).attr(‘data-value’)); post_url = “/ajax/angleviewajax.php”; var myproduct = jQuery(“.modelProduct”).text(); var vehicleID = jQuery(“.vehicleID”).text(); var productView = jQuery(“.vehicalview”).text(); var catselect = jQuery(‘.productCategory’).text(); var vehicalcolor = jQuery(‘.vehicalcolor’).text(); var productfendercolor = jQuery(‘.productfendercolor’).text(); jQuery.ajax({ type: ‘POST’, url: post_url, data: {myproductajax:myproduct,vehicleIDajax:vehicleID,productviewajax:productView,mycatselectajax:catselect,vehicalcolorajax:vehicalcolor,productfendercolorajax:productfendercolor}, dataType : ‘json’, success : function(data) { jQuery(“.modelSearchList”).html(data.message); jQuery(“.modelSearchList”).show(); jQuery(“.loding-img”).hide(); if(data.productcategory == “decals” && data.producrtAngle == “right-left”… Continue reading
-
Form
if ( ‘POST’ == $_SERVER[‘REQUEST_METHOD’] && !empty( $_POST[‘action’] ) && $_POST[‘action’] == ‘addvehicle’ ) { if($_POST[addvehicle] == “Add Vehicle”){ if($_POST[‘vehicle_licence_plate’] != “” && $_POST[‘action’] == “addvehicle”){ global $wpdb; $emails = $wpdb->get_results( “SELECT `post_title` FROM `wp_posts` WHERE `post_type` = ‘vehicle’” ); foreach ($emails as $email){ if($_POST[‘vehicle_licence_plate’] == $email->post_title){ echo “false”; exit; } } echo “true”;… Continue reading
-
Meta Box
add_action(‘init’, ‘surgeon_register’); function surgeon_register() { $labels = array( ‘name’ => _x(‘Surgeon’, ‘post type general name’), ‘singular_name’ => _x(‘Surgeon Item’, ‘post type singular name’), ‘add_new’ => _x(‘Add New’, ‘Surgeon item’), ‘add_new_item’ => __(‘Add New Surgeon Item’), ‘edit_item’ => __(‘Edit Surgeon Item’), ‘new_item’ => __(‘New Surgeon Item’), ‘view_item’ => __(‘View Surgeon Item’), ‘search_items’ => __(‘Search Surgeon’), ‘not_found’… Continue reading