Joy
Forum Replies Created
-
AuthorPosts
-
Hi, I have checked my site, but I don’t see any change at all in this functionality. Can you please clarify on what issue was fixed? Thank you.
How do I expand the size of the photo to be above the listing name, star reviews, and favorite button? I’d like it to appear the same way as the widgets on the content home page demo appears.
LOL, I figured it out. If anyone else is interested in adjusting the address layout, here’s the code, place in your child theme function.php file:
add_filter('geodir_show_post_address', 'geodir_change_address_order' , 100 , 2) ; function geodir_change_address_order($html , $vars) { global $post, $preview, $wpdb; $field_icon=''; if (strpos($field_icon,'http') !== false) {$field_icon_af = '';} elseif($field_icon==''){$field_icon_af = '<i class="fa fa-home"></i>';} else{$field_icon_af = $field_icon; $field_icon='';} if(!$preview) { $html = '<p class="" style="clear:both;" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">'; $html .= '<span class="geodir-i-location" style="'.$field_icon.'">'.$field_icon_af; $html .= ' '; $html .= '</span>'; //print_r($_POST); if($post->post_address){ $html .= 'Address:<br><span itemprop="streetAddress">'.$post->post_address.'</span><br>';} if($post->post_city){ $html .= '<span itemprop="addressLocality">'.$post->post_city.', </span> ';} if($post->post_region){ $html .= '<span itemprop="addressRegion">'.$post->post_region.'</span> ';} if($post->post_zip){ $html .= '<span itemprop="postalCode">'.$post->post_zip.'</span><br>';} if($post->post_country){ $html .= '<span itemprop="addressCountry">'.$post->post_country.'</span><br>';} $html .= '</p>'; } return $html ; }
Thank you very much, this works well. However, it also removed the ‘Address’ label. How can I add that back in? Thank you.
I ended up removing both of the share boxes since I replaced with the Kleo social sharing. If anyone is interested in removing the share boxes, add the following to your child style.css file:
.geodir-details-sidebar-social-sharing { display: none; } .geodir-details-sidebar-sharethis { display: none; }
Nevermind, I found support on this from the Kleo forums. If anyone else is interested and is using the Kleo theme. This is the function:
add_action('geodir_details_main_content', 'add_social_sharing', 35); function add_social_sharing() { get_template_part( 'page-parts/posts-social-share' ); }
Also, how can I place something between the listing gallery and information boxes? I am using the Kleo theme and would like to place their social share function in between if possible – as well as remove the sharing sideboxes.
Thank you.
I tried to restart my computer and cleared the cache but I’m seeing the same effect. How can I remove/edit the sideboxes? From what I see I am only able to adjust the widgets below the listing information – how can I adjust the shareboxes above to use an alternate sharing option?
This reply has been marked as private.Very strange. I still don’t see them and I’ve cleared the cache and viewed on three different computers. It shows up fine on my mobile device though.
Can the “share” icon be adjusted at all?
This reply has been marked as private.Sure, but the picture is a screenshot of your own demo site. I’ll send my creds in the following message. Thank you.
Thank you very much. I look forward to an update.
How do I change the default profile icon tabs to use the font awesome icons instead?
The latest update of the multi-rating add-on seems to have corrected the 404 issue.
However, the reviews still do not connect to the profile pages.
-
AuthorPosts