anandmongol
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] How to sorting and displaying products by sale/discount?Thank, may I know why it is not included in the woocommerce itself? I think it’s pretty common/necessary sort function for product display.
Figured out after playing here n there with plugin options
Figured out after playing here n there with plugin options
I fixed it myself, child theme’s function.php’s code is creating problem.
thanks anyway
Hi Predrag,
Thank you very much for the reply, is they any way to make the bulk smush automatic at certain time of the day. Plz advance.
Thanks,
ABHi,
Thank you very much for ur swift reply. Actually I am using the wpresidence theme.
https://themeforest.net/item/wp-residence-real-estate-wordpress-theme/7896392Whenever I uploads the images, I need to manually smush it using bulk smush.
Thank you very much for your help.Thanks,
ABForum: Fixing WordPress
In reply to: Displaying custom posts only if custom meta box date is not expiredHi,
Thanx for the suggestion, and it does work! :), but when I go to “next page” it is showing empty page, it seems generating empty placeholder when the $daysleft >= 0 criteria is not met. Any suggestion.
My idea is to show only custom posts which are not expired. not not displaying the expired posts at all, on the homepage area.
Thanx in advance
abForum: Fixing WordPress
In reply to: how can I show, only one month in date picker?Hi bdbrown,
I figure it out, actually it is native jquery UI datepicker and I put following code in the header section, and it is showing only one month.
$(function () { $('#datepicker').datepicker({ minDate: 0, maxDate: '+1M' }); });
thanxing for asking, have a great day!
best,
anandmongolForum: Themes and Templates
In reply to: Adding "Select your category" in the select list (category list)my bad, i just need to carefully follow the logic.
Thanx david, actually my site is coupon website, therefore after expiration date, actually there is no need of the featured image of the coupons as well as the post. Maybe WordPress is not meant for it.
AB,
Therefore it become quite manual, do delete the respective cropped images using plugin called Image Cleanup. Therefore I thought of maybe there is some hack that can delete the photos, when I delete the coupon posts.
Yes, when i delete the post, the images are not deleted in the media (i mean related images to the post), plus when i deleted them manually, there are many differently sized cropped images left in the upload folder on the server.
Thanx
Forum: Fixing WordPress
In reply to: Adding one default category and one from user by select option???thanx
By some monkey banging and some logic, it’s resolved by adding;
$cat['cat'] = 20;
Forum: Themes and Templates
In reply to: Adding "Select your category" in the select list (category list)Sorry for messed up code
<select class="selectpicker" name="coupon_cat" id="category"value="> <?php $args = array ('exclude'=> array(12)); $categories = get_categories($args); foreach($categories as $category) { ?> <option value="<?php echo $category->term_id;?>"> <?php echo $category->name;?></option> <?php } ? </select>
Forum: Fixing WordPress
In reply to: How to get the information from only one category and display itthank you sir!, works like a charm