pssarangal
Forum Replies Created
-
Forum: Plugins
In reply to: [Content Grid Slider] Blurred images in sliderHello Commandanti,
This may happen due to some issue on your website, may be jquery issue or anything else.. As you mentioned this plugin works properly on another website ao definetly ita issue with your website.thanks
pssarangalForum: Plugins
In reply to: [Content Grid Slider] add iconsHello Adriana,
you can add images from feature image option while creating a new slide.. If this option isn’t showing up on slide, go to screen option and make sure you have checked feature image option. Hope this helps.
thanks
pssarangalForum: Fixing WordPress
In reply to: Facing problems with Taxonomy term ID storageokay I got a little bit..
I am writing a custom code for drag-drop re-ordering of custom post type I have created. Say I have created custom post type ‘players’ and it has taxonomy ‘player_info’. It has two categories lets say ‘batsman’ and ‘bowlers’. In my settings page I want to show a select box containing these two categories. When user selects particular category, form gets submits and then it shows respective posts to that category. I am passing term_id as value to select box. I am using sql query like following.<?php $args = array('taxonomy' => 'player_info','hide_empty'=>false); $cats=get_categories($args); echo "<form action=# method=post><select id=select_player name=select_player onchange='this.form.submit()'>"; echo "<option value=''>Select type</option>"; foreach($cats as $cat){ echo "<option value=\"".$cat->term_id."\" "; if($_POST['select_player'] == $cat->term_id) echo " selected"; echo ">".$cat->name."</option>"; } echo "</select></form>"; global $wpdb; if(isset($_POST['select_player'])){ $select_player=$_POST['select_player']; if(!empty($select_player)) $p_info = $wpdb->get_results("SELECT * FROM $wpdb->posts p INNER JOIN $wpdb->term_relationships tr ON p.id=tr.object_id AND tr.term_taxonomy_id=$select_player WHERE p.post_type='players' AND post_status='publish' ORDER BY p.menu_order"); else $p_info = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_type='players' AND post_status='publish' order by menu_order"); } if(empty($p_info)){ die("no record found"); } ?>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
My problem is, on some websites this code is working, and on some websites its not working. It is giving ‘no record found’. On my site where it was not working, when I traverse through the database, I found that every term id was stored as +2 to its original value.
Forum: Plugins
In reply to: [WooCommerce Upload My File] Upload Form Not ShowingHi..
In my case also, ‘Upload Files’ is not working. I checked the option of upload files on specific product page, then make changes in plugin’s setting page. But after order completion, still there is no upload images form appeared..Forum: Plugins
In reply to: [Content Grid Slider] increase cgs icon size in the description areaHey xeres… As the plugin author’s sets the fixed size for the images, i found another solution for this problem. What you can do is first you have to remove all images for ‘content grid slider’ for uploads, then change ‘add_image_size’ function according to your needs and then upload feature images again. What i am trying to say is first we have to define function then we have to upload images for your query. This solution works for me. Hope it helps.. ^-^
Forum: Plugins
In reply to: [Content Grid Slider] increase cgs icon size in the description areaHey i traverse the code and found a solution to your problem even mine. Right now what you can do is, open content-grid-slider.php and change ‘add_image_size’ function according to your needs. This size has been set for better layout i think so.
Hope this helps.