Giri
Forum Replies Created
-
AuthorPosts
-
I think I have fixed it. Could you give me the correct ftp details? I’ll apply the fix and you can test it.
Thanks
Hello Brian, I’m checking your issues.
I’ll let you know.
Thanks
This reply has been marked as private.As far as I know buddypress latest version is compatible with whoop.
You getting any error message?
Photo tab and slider uses fully qualified image url. Please tell me where you see relative images.
Give me the link to your page
Thanks
Which page is not working? I see everything working
You are welcome
You are welcome
Delete my old code and then Try this code.
function modify_geodir_dashboard_links($links) { if ( !is_user_logged_in() ) { return $links; } $post_types_array = geodir_get_posttypes( 'array' ); global $current_user; $post_types = geodir_get_posttypes(); //$post_types = array('gd_place'); $author_link = get_author_posts_url( $current_user->data->ID ); $author_link = geodir_getlink( $author_link, array( 'geodir_dashbord' => 'true' ), false ); foreach ($post_types as $post_type) { $add_listing_page = geodir_get_addlisting_link($post_type); $listing_link = geodir_getlink( $author_link, array( 'stype' => $post_type ), false ); $listing_link = apply_filters( 'geodir_dashboard_link_my_listing', $listing_link, $post_type, $current_user->ID ); $name = $post_types_array[$post_type]['labels']['name']; $singular_name = $post_types_array[$post_type]['labels']['singular_name']; $links = str_replace('value="'.$add_listing_page.'">'.$name.'</option>', 'value="'.$add_listing_page.'">'.$singular_name.'</option>', $links); $links = str_replace('value="'.$listing_link.'">'.$name.'</option>', 'value="'.$listing_link.'">'.$singular_name.'</option>', $links); } return $links; } add_filter('geodir_dashboard_links', 'modify_geodir_dashboard_links');
Hi Silks, Please contact GD business hours plugin author Jeff. That plugin override timing custom field, via this filter
geodir_filter_geodir_post_custom_fields
Which is why you have that problem. If you disable that plugin, it would work.
We have modified custom fields in last version. That why it broke GD business hours plugin
Hi there,
It looks like you added a filter
geodir_filter_geodir_post_custom_fields
to override fields somewhere. I couldn’t figure out where. I have checked your functions.php file.
Did you add custom code anywhere else?
Hi Deb,
We don’t have any edit listing page link in “My Dashboard” widget. Could you explain why you need it?
Are you talking about “My Listings” dropdown?
Ok Thanks,
I’m working on this issue. I’ll let you know how it goes.
I hope you are talking about “Add Listing” dropdown links in “My Dashboard” widget.
Please use this code in functions.php file.
Thanks
function modify_geodir_dashboard_links($links) { $post_types_array = geodir_get_posttypes( 'array' ); //$post_types = geodir_get_posttypes(); $post_types = array('gd_place'); foreach ($post_types as $post_type) { $add_listing_page = geodir_get_addlisting_link($post_type); $name = $post_types_array[$post_type]['labels']['name']; $singular_name = $post_types_array[$post_type]['labels']['singular_name']; $links = str_replace('value="'.$add_listing_page.'">'.$name.'</option>', 'value="'.$add_listing_page.'">'.$singular_name.'</option>', $links); } return $links; } add_filter('geodir_dashboard_links', 'modify_geodir_dashboard_links');
You are welcome..
-
AuthorPosts