Simone
Forum Replies Created
-
AuthorPosts
-
Hello Nitin,
you had a virtual page missing (fixed with the GD Tool) but it wasnt the issue.
The issue happened because you activated the “GeoDirectory Advance Search Filters” addon on the Network admin, you have to activate all the addons in the subsite’s plugin sectionHello Nitin, please post your url and login details so we can have a look, thanks
SimoneHello, what you could do is to change the value for the Near field, so if someone just click the Search button, he will search for the near me, and if he wants to search elsewehere, he could type in the location. To do that, rename the attached file to listing-filter-form.php, create a folder named geodirectory in your child theme’s folder, and move the file in there.
This is what I see
Yes I agree, but I think somehow this depends on WordPress, I struggled with this issue many times over the years 🙁
Hello, I’ve reduced the width of the home content from the Geodirectory settings/Design and now you’re good to go.
Here’s what you can do:
-for whatsapp, create a Text custom field, and name the HTML variable to whatsapp , this will be filled when adding a listing.-open the functions.php inside your child theme and add this
add_action('geodir_after_social_sharing_buttons' , 'pinterest_whatsapp', 10); function pinterest_whatsapp(){ global $post, $wp_query, $preview, $geodirectory; $postid = $wp_query->post->ID; ?> <a style="margin-right: 10px;" href="//www.pinterest.com/pin/create/button/" data-pin-do="buttonBookmark" data-pin-color="red"><img src="//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_red_20.png" /></a> <!-- Please call pinit.js only once per page --> <script type="text/javascript" async defer src="//assets.pinterest.com/js/pinit.js"></script> <?php echo "<img src="http://YOURDOMAIN/whatsapp.png" height="25" width="25" >".geodir_get_post_meta($postid,'geodir_whatsapp',true); }
this will output the pinterest button and whatsapp in a row below the social sharing buttons (twitter+facebook+G+)
Upload an icon inside your website and post the complete url of the image where it says “http://YOURDOMAIN/whatsapp.png”
you can see it working live on my test website here http://test.simonetambasco.com/geodirectory/new/united-kingdom/greater-london/london/attractions/test-whatsapp/
Hello,
optgroup is not possible, I will put this feature on the “suggestion” listHello, where are you seeing this double comment? Ive put this to the attention of Stiofan
Hello, custom fields can be displayed in the sidebar, in the More Info tab, or in a specified tab (these info are in the custom field, when you expand it).
If you want to output it, for example a custom field named “test”, you can use this code:
geodir_get_post_meta($postid,'geodir_test',true);
and include it where you want in a function (assuming you knows some coding)
here you can find the documentantion about the hooks
http://docs.wpgeodirectory.com/category/dev/core-docs/hooks/I’ve checked the .po file and I confirm that, for example, the word ” in” and ” For:” in the strings, have a space at the beginning, (that you probably have removed when translating).
I think I understood what you were trying to say now..I was confused due to the URL. You’re talking about the header, and I assume it is due to a wrong translation in your strings, you maybe are missing a space in the word “voor”
I’ve notified stiofan so he might suggests something about it
hmmm, fast…depends on how quick are you to write the code 🙂
to post all the custom fields in a page, you need to manually print the custom fields in the area you want, I don’t know how knowledgeable are you with PHP, but, for example, to print out a custom field named “test”, you should write
geodir_get_post_meta($postid,'geodir_test',true);
etc..
but..if I go to listing, I see the url properly clean, without the /%EF%BB%BF after the cpt..
-
AuthorPosts