Stiofan O'Connor
Forum Replies Created
-
AuthorPosts
-
Can u give it a try now, i have made a slight change.
Thanks,
Stiofan
Checkbox example:
i see the problem, the widget code is called after we remove the query filters. I dont see a immediate solution but i will work on it soon.
Thanks,
Stiofan
Hi Andi,
There is not way via setting but you could add a parameter to the page url and hide each section with css depending on the url params.
Thanks,
Stiofan
Hi Edward,
I need to know the url too 🙂
Stiofan
Hi Joel,
Your server is sending a http user agent that is different than 99.9999% of servers, i have made a slight change to the software validation function to resolve this, you should be abel to update now.
Thanks,
Stiofan
I too am unsure of your desired outcome but this function might help you, you can identify GD pages with it: https://wpgeodirectory.com/codex/codex/geodirectory_functions/geodir_is_page/
Thanks,
Stiofan
The special offers in its own tab requires its own hook
add_filter('gd_special_offers_content','my_enable_shortcodes_in_cf',10,1);You CAN enable shortcodes on any type of field, the example i gave you was for a text field, this would be for textarea AND text input
function my_enable_shortcodes_in_cf($html,$location,$cf){ // this line will enable it for all text inputs $html = do_shortcode( $html ); return $html; } // Enables for textarea add_filter('geodir_custom_field_output_textarea','my_enable_shortcodes_in_cf',15,3); Enabled for text input add_filter('geodir_custom_field_output_text','my_enable_shortcodes_in_cf',15,3);Thanks,
Stiofan
Hi Jasper,
This is really two issues so i will treat it as such.
#1. To use the geolocation features you now (mostly) need a SSL certificate so your site uses HTTPS, most browsers made this change a few months ago. Please see here: https://wpgeodirectory.com/adding-a-ssl-certificate-to-your-website/
#2 The problem with your licences not activating is due to 1and1 servers in the EU, i have wasted many hours on this to no avail, the problem is with the hosting and not with us.
To know what the problem is i have told you we need a “traceroute” from their server to our website address wpgeodirectory.com, this is a simple thing any technician should be able to do but they can’t seem to provide it. I contacted the UK 1and1 support and their servers seem to work fine, i don’t know German or any other language so i can’t communicate properly with the EU 1and1 support and the UK support can’t access the EU customers accounts.
TLDR; this is not our fault and 1and1 are useless…Thanks,
Stiofan
October 22, 2016 at 10:34 am in reply to: import / export ERROR: Could not create cache directory #289590Thanks for the info, i checked in your wp-config.php and from the comments it looks like u or some dev have been having problems with this in the past with WordPress file system, i have added this line to that file and it seems to work:
define( 'FS_METHOD', 'direct' );Please check and confirm.
Thanks,
Stiofan
New payment system should be released next week. You will be able to invoice for anything, but if invoicving for multiple listings you would have to manually set them published/draft.
Stiofan
Hi Jeff,
It looks like the ftp account is just to an empty folder, sometimes when you create a new ftp account it makes its own empty folder for it, you would need to change the starting folder to public_html or similar. Please let me know when done.
Thanks,
Stiofan
Hi Andy,
Please see here: https://wpgeodirectory.com/docs/location-manager-shortcodes/
Thanks,
Stiofan
This code will remove it for gd_places: function _my_disable_reviews_cpt($tabs){ global $post; if(isset($post->post_type ) && $post->post_type=='gd_place'){ $tabs['reviews']['is_display'] = 0; } return $tabs; } add_action('geodir_detail_page_tab_list_extend','_my_disable_reviews_cpt',10,1);Thanks,
Stiofan
October 21, 2016 at 4:29 pm in reply to: Latest release doesn't have shortcode function in sidebar #289304Just this code:
function enable_shortcodes_on_geo_listings($html, $variables_array=array()){ return apply_filters('the_content', $html); } add_filter('geodir_show_geodir_testing_html','enable_shortcodes_on_geo_listings',10,2); add_filter('geodir_show_geodir_shortcodes','enable_shortcodes_on_geo_listings',10,2); add_filter('geodir_show_geodir_special_offers','enable_shortcodes_on_geo_listings',10,2); add_filter('gd_special_offers_content','enable_shortcodes_on_geo_listings',10,1);This line makes the special offers tab work
add_filter('gd_special_offers_content','enable_shortcodes_on_geo_listings',10,1);this line
add_filter('geodir_show_geodir_shortcodes','enable_shortcodes_on_geo_listings',10,2);you had the wrong htmlvar name, you had geodir_show_geodir_html_shortcodes instead of geodir_show_geodir_shortcodes.
The theme update should not affect it.
Stiofan
-
AuthorPosts