v2
is there any custom css that would display the address as the arrow indicates. In v1 I had custom css to display address, I tried entering it in the customize theme section and received an error message. Can’t find anyplace else for customer css?? I would like the result to be a one line address.
}
add_filter(‘sd_details_output_address’, ‘modify_sd_details_output_address’);
function modify_sd_details_output_address() {
global $post;
$sd_address = ‘<div class=”sd-address”>’;
if (isset($post->post_address) && $post->post_address) {
$sd_address .= apply_filters(‘sd_detail_address’, $post->post_address, $post);
}
if (isset($post->post_city) && $post->post_city) {
$sd_address .= ‘<br/>’ . apply_filters(‘sd_detail_city_name’, $post->post_city, $post);
}
if (isset($post->post_region) && $post->post_region) {
$sd_address .= ‘, ‘ . apply_filters(‘sd_detail_region_name’, $post->post_region, $post);
}
if (isset($post->post_zip) && $post->post_zip) {
$sd_address .= ‘, ‘ . apply_filters(‘sd_detail_zip’, $post->post_zip, $post);
}
$sd_address .= ‘</div>’;
return $sd_address;
}
Thanx