Giri
Forum Replies Created
-
AuthorPosts
-
Hi Kairei,
My Apologies.
For #371711 I discussed with stiofan at that time and he told me he would help me later since he was busy with some other stuff.
But me and stiofan forgot about it completely, due to thread inactivity.
Let me assign this to stiofan.
Thanks
You are welcome 🙂
Hello Robert,
I have added the following custom code in Whoop options > quick code
#mobile-navigation-left ul li a:hover { background: transparent !important; } #mobile-navigation-left ul li ul.sub-menu li a:hover { background: #4a6fa7 !important; color: #fff !important; } .whoop-login-btn { border: 1px solid #B64425; background: #e34f43; background-image: -webkit-linear-gradient(#ff4f43 4%,#e34f43 5%,#c84f43 100%); background-image: linear-gradient(#ff4f43 4%,#e34f43 5%,#c84f43 100%); } .whoop-login-btn:hover { color: #fff; }
Hope everything ok now.
Thanks
Hi cora,
The translation strings look fine.
However your file name seems wrong.
it should end with fr_FR instead of en_FR. I’m not quite sure.
Check here.
http://www.i18nguy.com/unicode/language-identifiers.html
Let me know.
Thanks
You are welcome.
Hi cora, You need to upload .po file. not .mo file.
I guess you can’t upload .po file too for security reasons. So please zip the .po file and then upload.
Thanks
Hi James,
Use this code to add the cat above reviews.
add_action('geodir_before_review_list', 'custom_geodir_before_review_list'); function custom_geodir_before_review_list() { global $preview, $post; if (!$preview) { $post_type = $post->post_type; $post_tax = $post_type . "category"; $post_cats = $post->{$post_tax}; } else { $post_type = $post->listing_type; $post_tax = $post_type . "category"; $post_cats = isset($post->post_category) ? $post->post_category[$post_tax] : $post->{$post_tax}; } if (is_array($post_cats)) { $post_cats = implode(',', $post_cats); } $cats_arr = array_filter(explode(",", $post_cats)); $cat_icons = geodir_get_term_icon(); $cat_links = '<div class="sd-detail-cat-links"><ul>'; foreach ($cats_arr as $cat) { $term_arr = get_term($cat, $post_tax); $term_icon = isset($cat_icons[$cat]) ? $cat_icons[$cat] : ''; $term_url = get_term_link(intval($cat), $post_tax); $cat_links .= '<li><a href="' . esc_url($term_url) . '"><img src="' . esc_url($term_icon) . '">'; $cat_links .= '<span class="cat-link">' . esc_attr($term_arr->name) . '</span>'; $cat_links .= '</a></li>'; } $cat_links .= '</ul></div> <!-- sd-detail-cat-links end --> </div> <!-- sd-detail-info end -->'; echo apply_filters('sd_details_output_cat_links',$cat_links); }
Use this CSS to hide default cat section
.sd-detail-details .sd-detail-cat-links { display:none; }
You can place custom links inside My Dashboard widget using geodir_dashboard_links filter
add_filter('geodir_dashboard_links', 'custom_geodir_dashboard_links'); function custom_geodir_dashboard_links($dashboard_link) { $account_link = 'Enter your url here'; $dashboard_link .= '<li>'; $dashboard_link .= '<i class="fa fa-user"></i>'; $dashboard_link .= '<a href="'.$account_link.'">'; $dashboard_link .= __('Edit Profile', 'gdbuddypress'); $dashboard_link .= '</a>'; $dashboard_link .= '</li>'; return $dashboard_link; }
Yes Cora, you need to make a copy of -en-US.po with name -en-FR.po You need to add your translation strings in -en-FR.po file.
You need to do this in your computer and upload it to your server. Not in github.
Thanks
Check here.
You need to translate those strings
Thats weird. It worked while using inspect element
Can you try this one code instead?
.sd .geodir_category_list_view li.gridview_onefourth { margin: 0 9px 0 0 !important; } .sd .geodir_category_list_view li.gridview_onefifth { margin: 0 8px 0 0 !important; }
Thanks
Try adding important tag
.sd .geodir_category_list_view li.gridview_onefourth { margin: 0 12px 0 0 !important; } .sd .geodir_category_list_view li.gridview_onefifth { margin: 0 11px 0 0 !important; }
.sd .geodir_category_list_view li.gridview_onefourth { margin: 0 12px 0 0; width: calc(25% - 12px); } .sd .geodir_category_list_view li.gridview_onefifth { margin: 0 11px 0 0; width: calc(20% - 12px); }
You are welcome 🙂
Hi Richard,
I see this code.
#mceu_29 { display: none !Important; }
Thats what hiding the desc box.
Remove that code.
Thanks
-
AuthorPosts