gautamarya
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] Your homepage cannot be indexed by search engines.??????Whoa!!
@slllobodan you just saved me from a ton of work.Thanks for help.
Forum: Plugins
In reply to: [Client Carousel] Where is shortcode ?Sorry, I found it.
It was in the carousel listing page.Forum: Fixing WordPress
In reply to: Class 'A2A_SHARE_SAVE_Widget' not foundResolved Only After I Updated the plugin to 1.6.9.
Forum: Plugins
In reply to: [WooCommerce] Template override of form-pay.php not working@lealian Thank you very much. I had the same problem.
Forum: Plugins
In reply to: [Contact Form 7] Not Sending mail via sendgridThanks, it helped me to understand and solve the issue.
@jrmihalick Thank you. It works for me.
Forum: Plugins
In reply to: [Flexible Slider] Encoding Problem.My site is using Danish language and other content of the site works fine. Accept the titles on the slide which is because of encoding I guess.
Any help would be greatly appreciated.
Forum: Plugins
In reply to: [WP Catalogue] 404 error when clicking on sub categoryFound Reason, working on solution.
I had a problem that when you click on the category it give you 404. After a couple of hours brain storming I found that only those categories show 404 which don’t have any product assigned or which have zero product.
I’m working on the solutions currently.
Thanks.
Forum: Plugins
In reply to: [WP Catalogue] 404 error when clicking on sub categorySame problem here. when I try to open this link.
https://50.63.84.111/development/demo_wp/wpccategories/media-device/
Forum: Fixing WordPress
In reply to: List all categories and subcategories in a nested listHi lazaroznmix,
Great help, I was looking for this solutions since long time.
However I’ve changed this code in function and changed some code also to suite my requirement.
I’m posting it here for future reference and/or for somebody like me.
Hope It helps.function getChildCategories($taxo_type){ $query_category = mysql_query("SELECT wp_terms.term_id,wp_terms.name, wp_term_taxonomy.parent FROM wp_terms INNER JOIN wp_term_taxonomy ON wp_terms.term_id = wp_term_taxonomy.term_id WHERE wp_term_taxonomy.taxonomy = '".$taxo_type."' ORDER BY name"); $data = array(); $index = array(); while ($row = mysql_fetch_assoc($query_category)) { global $index, $data; $id = $row["term_id"]; $parent_id = $row["parent"] === NULL ? "NULL" : $row["parent"]; $data[$id] = $row; $index[$parent_id][] = $id; } function display_child_nodes($parent_id, $level){ global $data, $index; $parent_id = $parent_id === NULL ? "NULL" : $parent_id; if (isset($index[$parent_id])) { if($level == 0){ echo "<ul>"; } foreach ($index[$parent_id] as $id) { if($level == 0){ echo "<li><h3>".$data[$id]["name"]."</h3>"; } if($level >= 1){ //echo "<li>".$data[$id]["name"]."</li>"; echo "<li>".$data[$id]["name"]; } //echo str_repeat("-", $level) . $data[$id]["name"] . "; echo "<ul>"; display_child_nodes($id, $level + 1); if($level != 1){ echo "</ul>"; } } if($level == 0){ echo "</ul>"; } } } display_child_nodes(0, 0); }
Basically I was trying achieve HTML structure like
<ul> <li> <h3> Network Cam. </h3> <ul> <li>AM Seriees <ul> <li>1080P 2MP IP Camera <ul> <li>BOX Camera</li> <li>Dome Camera</li> <li>PTZ Camera</li> <li>Waterproof Camera</li> </ul> </li> <li>960P 1.3 MP IP Camera <ul> <li>BOX Camera</li> <li>Dome Camera</li> <li>PTZ Camera</li> <li>Waterproof Camera</li> </ul> </li> </ul> </li> <li>TI Seriees <ul> <li>1080P 2MP IP Camera <ul> <li>BOX Camera</li> <li>Dome Camera</li> <li>PTZ Camera</li> <li>Waterproof Camera</li> </ul> </li> <li>960P 1.3 MP IP Camera <ul> <li>BOX Camera</li> <li>Dome Camera</li> <li>PTZ Camera</li> <li>Waterproof Camera</li> </ul> </li> </ul> </li> </ul> </li> </ul>
but it show
<ul></ul>
after the last child of the category. But for now the devil is gone. ??
Kudos to @lazaroznmixThanks.
@david Thanks for your reply, but still the same issue.
@anshul Thanks for the great plugin. I wanted to sort my category post in an order of custom field. so here is my short code that I’m using.
[cgview id=40 size=250×150 orderby=”meta_value_num” order=”asc”]
“meta_value_num” is the custom field I’ve added and I want my result to be sorted by this. But this is not working, it shows me the post with order of title in desc manners.
Can you please help me to figure out where I am going wrong?
Thank you,
GautamForum: Plugins
In reply to: [Custom Login] This plugin Broke my themeHi Austin,
First of all I’m very sorry for the understanding it wrongfully. I was in a hectic and in hurry so instead of asking other developer I just posted it.
THIS PLUGIN DON’T HAVE SUCH ISSUE. IT MY MISTAKE.
Thank you,
GautamForum: Everything else WordPress
In reply to: How can i Remove "?page_id=20" from URL@gerald Thank you for your suggestion, however my problem is solved by removing “?page_id=XX” from the widget file from where its come from and that string is static… ?? .
Thank you again….Forum: Fixing WordPress
In reply to: Random post in sidebar@alchymyth: Thanks a lot it solves my problem…
thank you.
gautam