Giri
Forum Replies Created
-
AuthorPosts
-
I beleive this is what you are looking for.
Replace
{business_link_custom_field}
and
{buddypress_author_custom_field}
with original custom field html_var name. You can get that from your custom field form.
You may have to prepend
geodir_
in your html var name.
function modify_listing_field_biz_link($html, $variables_array) { global $post; if (geodir_is_page('listing')) { if ($post->geodir_website) { $html = '<a href="'.$post->geodir_website.'">Website</a>'; } } return $html; } add_filter('geodir_show_{business_link_custom_field}', 'modify_listing_field_biz_link', 10, 2); function modify_listing_field_buddy_author($html, $variables_array) { global $post; if (geodir_is_page('listing')) { if (class_exists('BuddyPress')) { $user_link = bp_core_get_user_domain($post->post_author); } else { $user_link = get_author_posts_url($post->post_author); } $author_data = get_user_by('id', $post->post_author); if ($user_link) { $html = '<a href="'.$user_link.'">'.$author_data->display_name.'</a>'; } } return $html; } add_filter('geodir_show_{buddypress_author_custom_field}', 'modify_listing_field_buddy_author', 10, 2);
Let me know how that goes.
Could you give us your site link? So i can give you custom css.
Your code should be like this.
function modify_breadcrumb_first_item($html) { return '<a href="' . home_url('/iowdirectory/') . '">' . __( 'Directory', 'geodirectory' ) . '</a>'; } add_filter('geodir_breadcrumb_first_link', 'modify_breadcrumb_first_item');
Hi Christina,
This has been fixed. But the code is waiting for stiofan’s review.
I’ll apply the patch on your site once he review the fix.
Thanks
Andi, Widget content are translated before inserting into the database. So
wrote a review for
translation would only work for new content.
Let me know.
Thanks
This reply has been marked as private.Hi Andi,
Recent activity widget uses buddypress textdomain. Thats why its not working. I have fixed that in our dev version.
Please wait till next version.
If you can’t wait till next version for some reason, please follow these steps.
Download this file.
https://gist.github.com/mistergiri/d73272fef726b24aa8ff70cc4a954640
Replace that file with this one
File:
wp-content/themes/geodirectory_whoop/whoop-widgets/buddypress/bp-recent-activity.php
Hopefully that should fix your issue.
Thanks
Hi Cyril,
Please try using this styles in
GeoDirectory > Design > Scripts > Custom CSS
https://gist.github.com/mistergiri/3ea1c3f3be4fcbd22d236ed37c1f4d89
Test it and let me know.
PS: Please disable any caching plugin when you test.
Thanks
This reply has been marked as private.Hi Oliver, I have got a reply from sharethis team that they fixed this issue.
It works fine in our demo site.
Please test your site.
Thanks
I have tested this issue in my local site. I don’t see any problem. So the problem must be from your theme or caused by one of your plugin.
Please switch to some other theme and test it. If that doesn’t solve the issue, then disable all 3rd party plugins and then test it.
If all those steps doesnt help you, then let us know. We will try our best to help you.
Thanks
Hey Guys,
I have discussed this with Stiofan.
He said something is failing in sharethis and the problem is not in our plugin.
I have mailed sharethis to help me resolve this issue.
I’ll let you know once we fix this issue.
Thanks
Hi there,
I have added the following styles in GD > Design > Scripts > Custom CSS code
#simplemodal-container .row.clearfix { margin-left: 0px; } @media only screen and (max-width: 480px) { #gd-basic-modal-content4 { height: 80%; width: 95%; margin: 0 auto; overflow-y: scroll; } }
I hope that solves your problem.
Please test it and let me know if you still have issues.
Thanks
I have added the following code in your GD > Design > Scripts > Custom CSS.
That fixed your header problem.
.registration.buddypress.sd-homepage .site-header { position: relative; background-color: #2f2f2f; }
Thanks
Hi Michael, I have added the search form as you asked.
Don’t uninstall “Code Snippets” plugin.
This is the code I added
add_action('dt_after_header', 'dt_custom_after_header'); function dt_custom_after_header() { echo do_shortcode("[gd_advanced_search]"); }
-
AuthorPosts