Abhishek Modi
Forum Replies Created
-
AuthorPosts
-
Yes Paolo Multi Region & Multi City Both are enabled.
Thanks
I know Gusst we can merge locations, can correct from backend. But Here issue is its taking any word as a location whether its exist or not in Database. I have my custom locations and i don’t want Map Autosuggest.
It would be great if we disable search or it will Show custom location in search rather than disappear or any charcter or word as a Region/City.
Thanks
sorry for the inconvenience caused.
Thanks
October 3, 2015 at 2:36 pm in reply to: Create Better Structured Data in Testing Tool Results #55605This reply has been marked as private.Perfect Guust that did the trick. But its working when we add old code as well. Something like this:
span[itemprop="addressLocality"] { display: none; } span[itemprop="addressRegion"] { display: none; } span[itemprop="postalCode"] { display: none; } span[itemprop="addressCountry"] { display: none; } span[itemprop="addressLocality"] + br{display:none;} span[itemprop="addressRegion"] + br{display:none;} span[itemprop="postalCode"] + br{display:none;} span[itemprop="addressCountry"] + br{display:none;}
Thanks a Lot Guust this is what i want 🙂
Thanks Guust, I have tried already everything and it is hiding itemprops as well but with blank space left.
PFA Images. First Image without Display:none and
Second image display:none to itemprops. Here is the code:span[itemprop="addressLocality"] { display: none; } span[itemprop="addressRegion"] { display: none; } span[itemprop="postalCode"] { display: none; } span[itemprop="addressCountry"] { display: none; }
Why blank is there even on display:none;
Thanks
Apologies ignore the Last Reply, Posted by Mistake.
Thanks
October 2, 2015 at 7:51 pm in reply to: Create Better Structured Data in Testing Tool Results #55526Hi, Got the function to remove hentry class from gd post types and its working fine, Now No Errors. But its working on pages also and removed the entry page Title, As this pages dependent on WordPress structure.
Here is the code:
add_filter( 'post_class', 'remove_hentry_function', 20 ); function remove_hentry_function( $classes ) { if( ( $key = array_search( 'hentry', $classes ) ) !== false ) unset( $classes[$key] ); return $classes; }
Thanks
Hi, Got the function to remove hentry class from gd post types and its working fine, Now No Errors. But its working on pages also and removed the entry page Title, As this pages dependent on WordPress structure.
Here is the code:
add_filter( 'post_class', 'remove_hentry_function', 20 ); function remove_hentry_function( $classes ) { if( ( $key = array_search( 'hentry', $classes ) ) !== false ) unset( $classes[$key] ); return $classes; }
Thanks
October 2, 2015 at 7:00 pm in reply to: Create Better Structured Data in Testing Tool Results #55521Hi Stiofan, Is there a way we can remove hentry completely from the Structured data or Google will stop considering on listing detail pages. I don’t think there is any reason to use hentry in structured data, As Geodirectory is for listing types, Restaurant listing, product listings. So we are nowhere related to it.
Thanks
Ya as far i know it will be visible to google as its there but hide on pages.
http://stackoverflow.com/questions/8903526/is-it-ok-to-hide-microdata-with-css
Also i’m very sure about the technique as the planet biggest site of food also doing the same(zomato). If you check there detail listing pages did the same.
Actually its looking quite awful, also it is taking too much space in listing pages. Previously i removed from site but that also remove the structured data also that Google reads. This time i’m sucessful but with blank space left.
Thanks
October 2, 2015 at 4:25 pm in reply to: Create Better Structured Data in Testing Tool Results #55506This reply has been marked as private.Thanks a lot Paolo it worked perfectly, only thing } is missing in end.
Have a Good Day 🙂
This reply has been marked as private.This reply has been marked as private. -
AuthorPosts