Maria Alejandra Paccioreti
Forum Replies Created
-
AuthorPosts
-
It Works!
i am new with wordpres and dont know exactly how HOOKS works…
Thank you very much!
Maria Alejandra
i found the function geodir_show_listing_info($fields_location = ”)}
in ..geodirectory/geodirectory-functions/custom_fields_functions.phpi edit the code from line 2359:
$html = ‘<div class=”geodir_more_info ‘ . $geodir_odd_even . ‘ ‘ . $type[‘css_class’] . ‘ ‘ . $type[‘htmlvar_name’] . ‘” style=”clear:both;” 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 ($preview) {
$html .= stripslashes($post->$html_var) . $addition_fields . ‘</p></div>’;
} else {
if ($post->post_address) {
$myStringLS = $post->post_address;
$myArrayLS = explode(‘,’, $myStringLS);
$html .= ‘<span itemprop=”streetAddress”>’ . $myArrayLS[1] . ‘ ‘ . $myArrayLS[0] . ‘</span><br>’;
}
if ($post->post_zip) {
$html .= ‘ <span itemprop=”postalCode”>’ . $post->post_zip . ‘ </span>’;
}
if ($post->post_city) {
$html .= ‘<span itemprop=”addressLocality”>’ . $post->post_city . ‘</span><br>’;
}
$html .= ‘</div>’;
}but, is there some child-theme or a place where i can customize the function without touching the core files? and how can i do that?
Thank you very much
Maria Alejandra Paccioretti
Hi
i am just starting to use the social importer plugin, after dev facebook config i can (as admin) take places from Facebook.
I need that as well my visitors have the posibility to add listings (places and events) from facebook (i tested it and works only as admin), i think i need to ask facebook for more permissions, which permissions should i ask?Thank you very much
Maria Alejandra
ok, now is clear GD Checkbox is a special Checkbox with only one posible value, is not the usual HTML Check Box.
I wanted to use the HTML Checkbox because the customization would be easier than multiselect, but is ok
this Plugin is really good, i have test many from the markt and GD is the best Plugin, and support as well, really fast
Thank you very muchyes i have seen the multiselect i the solution is very close to that what i need, but actually i need only the functionallity like a normal Checkbos, as well then would be easier for me the customizing with CSS.
Thanks -
AuthorPosts