Ravikumar Patel
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Uploading large number of imagesHello As per says @contentiskey this one good plugin for bulk image upload.
1) “Add From Server” is a quick plugin which allows you to import media & files into the WordPress uploads manager from the Webservers file
2) Imsanity automatically resizes huge image uploads. Are contributors uploading huge photos? Tired of manually scaling? Imsanity to the rescue!
Forum: Fixing WordPress
In reply to: How to paginate a single pageHii Anespa,
When u have add long content of page use
<!--nextpage-->using this break a content on no page navigation is display on bottom page.
Thanks,
Ravi patelForum: Fixing WordPress
In reply to: Only playing 4 seconds of song?!Using html + media element u have auto start & stop.
Hi,Neha
Make change on hear path:woocommerce-catalog-enquiry\classes\class-wc-Woocommerce-Catalog-Enquiry-frontend.php
Add code for Email & phone validation.
Add this code after “if (email == ” || email == ‘ ‘)” this condition at line no 410.
if (!isValidEmailAddress(email)) { document.getElementById('msg_for_enquiry_error').innerHTML = '<?php echo __('Email is not valid', $WC_Woocommerce_Catalog_Enquiry->text_domain); ?>'; document.getElementById('woo_user_email').focus(); return false; } if(phone !=""){ if(!validatePhone(phone)){ document.getElementById('msg_for_enquiry_error').innerHTML = '<?php echo __('Phone is not valid', $WC_Woocommerce_Catalog_Enquiry->text_domain); ?>'; document.getElementById('woo_user_phone').focus(); return false; } }Add this fuction before function do_toggle() at near line no 500
function isValidEmailAddress(emailAddress) { var pattern = /^([a-z\d!#$%&'*+\-\/=?^_<code>{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_</code>{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i; return pattern.test(emailAddress); }; function validatePhone(Phone) { var filter = /^[0-9]{10}$/; if (filter.test(Phone)) { return true; } else { return false; } }Others suggestion use different class then “responsive” for popup when non technical person use your plugin in site “responsive” class to called responsive menu on first click in popup.
Regards,
Ravi patelForum: Fixing WordPress
In reply to: Security: Protect files embedded into posts that require a loginPlease Review this Answer
Forum: Fixing WordPress
In reply to: Wp_Query on tag based not getting post when use sign@marius Thanks, Now working.
$query = new WP_Query( array( 'category_name' => 'facebook+uncategorized' ) );Forum: Fixing WordPress
In reply to: Wp_Query on tag based not getting post when use sign@marius I have tested code with this as per u have define code not working.
$query = new WP_Query( 'category_name=facebook%2Buncategorized' );
(working)$query = new WP_Query( array( 'category_name' => 'facebok+uncategorized' ) );(Not working)
Forum: Fixing WordPress
In reply to: Wp_Query on tag based not getting post when use sign@stephencottontail : Thanks, I know all of techniques for code.
Today Just i learn to junior developer with this code using “+” sign so not getting posts.
So i post question because Review & test code by moderator and also change on site.
Forum: Fixing WordPress
In reply to: Wp_Query on tag based not getting post when use sign@stephencottontail : We have check category slug and have use “,”
post is getting but when use “+” not working this one supported in wordpress latest version.$query = new WP_Query( 'category_name=facebook,uncategorized' );(work)$query = new WP_Query( 'category_name=facebook+uncategorized' );(Not work)Forum: Fixing WordPress
In reply to: Pagination in my site is not workingOn this bones plugin so many issue. so check hear to any solution or use Wp-page-navi for this.
Forum: Fixing WordPress
In reply to: wp_options: Incorrect file format 'wp_options'Please check the
wp-config.phpfor database setting. Now on your site display warningError establishing a database connection
Forum: Fixing WordPress
In reply to: Can't turn off slideshowHii Nerdemamma,
Please explain more whats u wants. possible to add screen issue hear.Forum: Fixing WordPress
In reply to: How to remove Author Bio from postsHii we can see on code source which theme u have used. but u see post.php file on your theme there have fix author info.
Forum: Fixing WordPress
In reply to: How to create index for Splitting ContentFinally getting solution with using this one.
wp-table-of-paginated-contentsForum: Fixing WordPress
In reply to: How to create index for Splitting ContentThanks jon,
But we not want getting separate pages because of 35 pdf pages content all ready.Any others options without create separate post.