directory
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.This reply has been marked as private.
Thank you, Paolo.
November 16, 2014 at 1:45 am in reply to: How to Setup Geo Travel Home Page like WPGeoTheme Demo #21642Thank you, Russell. We have to have this framework first to make it work, right?
http://my.studiopress.com/themes/genesis/
Is it better than the GD Framework provided by Stiofan and Paolo? What are the advantages of using it? My main concern is compatibility issues in the long term.
Thanks, Guust. It’s working now.
This reply has been marked as private.Hi Guust,
Would you mind to verify if Stiofan was able to access media temple and see why the above code no longer works after the recent GD update?
This reply has been marked as private.Thank you, Guust.
Yes, I posted that code above so Stiofan is already aware of it. I will wait for his update.
The City, Region and Zip Code (code above) below the listing title in widget thumbnails disappeared after this update. The only thing showing up now is the comma between City and Region. Please see screenshot.
I noticed the Business Hours on the listing details sidebar also disappeared.
Sorry for the trouble Stiofan. I didn’t expect that sending your own access will be that cumbersome.
I sent you my own access and I hope it works this time.
My site seems to be back to normal after I updated the Business Hours plugin with Jeff’s new release today. One thing that is still missing is the City, State and Zip Code we added below the listing title.
Here’s our code that used to work:
/*
Display country region and city below the title
*/
add_action( ‘geodir_after_listing_post_title’, ‘country_listing’, 45 );function country_listing() {
global $post;
global $wp_query;$post_id = $wp_query->post->ID;
$post_city = geodir_get_post_meta($post_id, ‘post_city’, true);
$post_region = geodir_get_post_meta($post_id, ‘post_region’, true);
$post_country = geodir_get_post_meta($post_id, ‘post_country’, true);
$post_zip = geodir_get_post_meta($post_id, ‘post_zip’, true);echo trim($post_city.”, “.$post_region.” “.$post_zip);
}
Please let me know why the code is not working anymore if you can. Thank you in advance.
Thank you, Paolo.
This reply has been marked as private.This reply has been marked as private. -
AuthorPosts