Stiofan O'Connor
Forum Replies Created
-
AuthorPosts
-
Thanks for the info, please check now.
Stiofan
All the location vars should be usable in wpseo, if you are having problems pleas egive exaple pages of the problems and also please confirm you are not using a beta version of WP?
Thanks,
Stiofan
Hello,
Thanks for spotting this, i have fixed this and i have also applied the fix to your site already.
Thanks,
Stiofan 🙂
hello, yes you can do something like this, let’s say for example your custom field is calles “geodir_facebook_name” we would add this code to your theme functions file:
add_action('geodir_details_main_content', 'add_my_custom_field_fb_name', 22); function add_my_custom_field_fb_name(){ global $post; //check the field is set and has a value if(isset($post->geodir_facebook_name) && $post->geodir_facebook_name){ echo "<h2>".$post->geodir_facebook_name."</h2>"; } }to adjust where it is out put just increase the number, so try 33 if you want it below the image slider etc..
Thanks,
Stiofan
November 12, 2015 at 2:11 pm in reply to: When adding coupon, discount does not appear unless page is refreshed #59811The ajax response is successful however it also contains this “”
which is breaking the JSON, it looks liek you are somehow trying to add a styleshet the wrong way, you need to fix this and it will work.
Thanks,
Stiofan
Please see the notes here: https://wpgeodirectory.com/release-of-v1-5-4/
(if you have no update notifications for addons, try replacing the lowest A-Z addon manually via FTP and then check for updates again, usually this will be Advanced search addon)Stiofan
There are a few ways to do it, you can make a file in ur child theme called comments.php OR you can add a file in ur child theme called geodirectory/reviews.php
You can then copy a normal template to the file or use the one in geodirectory-functions/reviews.php
in there you will see a callback for “geodir_comment” this is the function that loops through the comments, you can copy the GD function to your child theme and rename it my_geodir_comment and change the callback name and then you can edit every aspect of the comments.
If you need further examples just let me know.
THanks,
Stiofan
Hi Darren,
Thanks for spotting this, we changed if from a input to a button for functionality reasons, if you theme compatability css is standard, u can change it to this:
.geodir-sidebar-left{float:left}select,textarea{border-style:solid;border-width:1px}.top-menu li > div{visibility:visible}.geodir-chosen-container-single .chosen-single{height:auto}ul li#menu-item-gd-location-switcher ul{width:222px}ul li#menu-item-gd-location-switcher ul li{padding-right:0!important}#mobile-nav li#mobile-menu-item-gd-location-switcher li a{padding-left:10px;padding-right:10px}#menu-item-gd-location-switcher dd,#mobile-menu-item-gd-location-switcher{margin-left:0}#menu-item-gd-location-switcher dd a{display:block}.geodir-chosen-container .chosen-results li.highlighted{background-color:#eee;background-image:none;color:#444}#mobile-nav li.mobile-nav-item li a:before{content:'';margin:0}#mobile-nav li.mobile-nav-item li a{padding:10px;width:auto}.geodir-listing-search{text-align:center}.geodir-search{float:none;margin:0}.geodir-search select,.geodir-search .search_by_post,.geodir-search input[type="text"],.geodir-search button[type="button"], .geodir-search input[type="button"],.geodir-search input[type="submit"]{display:inline-block;float:none}.geodir-cat-list ul li,.map_category ul li{list-style-type:none}.wpgeo-avada .page-title ul li:after{content:''}.top_banner_section{margin-bottom:0}.geodir-category-list-in{margin:0;padding:15px}.geodir_full_page .geodir-cat-list .widget-title{margin-top:0}.geodir_full_page .geodir-cat-list ul li{padding-left:0}.geodir-loc-bar{border:none;margin:0;padding:0}.geodir-loc-bar-in{padding:15px 0}.geodir_full_page section.widget{margin-bottom:20px}.sidebar .geodir-loginbox-list li{margin-bottom:10px;padding-bottom:10px}.sidebar .geodir-loginbox-list li a{display:block}.sidebar .geodir-chosen-container .chosen-results li{margin:0;padding:5px 6px}.sidebar .geodir-chosen-container .chosen-results li.highlighted{background:#eee;background-image:none;color:#000}.sidebar .geodir_category_list_view li.geodir-gridview{display:inline-block;margin-bottom:15px}.wpgeo-avada.double-sidebars #main #sidebar{margin-left:3%}.wpgeo-avada.double-sidebars #main #sidebar-2{margin-left:-100%}.wpgeo-avada.double-sidebars #content{float:left;margin-left:0}.geodir_full_page section.widget{margin-bottom: 0px;} .sidebar .widget .geodir-hide {display: none;}the rule we are adding is really this if you need to ad it to the end
.geodir-search button[type="button"] { display: inline-block; float: none; }Thanks,
Stiofan
November 11, 2015 at 4:20 pm in reply to: navigation – stay on previus selection when back home #59698Are you a paid member? or TT user?
Stiofan
That should not be a problem, please provide wp-admin credentials and i’ll take a look.
Thanks,
Stiofan
November 11, 2015 at 2:08 pm in reply to: navigation – stay on previus selection when back home #59690Hi That is an old post that is obsolete, you should not have any problems if you are a free user and dont have multilocations installed?
Stiofan
We dont have an exact eta, but within a month.
Stiofan
We will be releasing a few themes and child themes soon 😉
Stiofan
Hi Helga,
OK the last part follows a bit of a strange array structure, i will show some examples below
Array ( [gd_placecategory] => 9,y:#8,y:#14,y:#10,y,d: )Array ( [gd_placecategory] => 9,y,d:#8,y:#10,y:#14,y: )Array ( [gd_placecategory] => 9,y,d: )basically they are split on the “:” the “,d” sets the default and anythig after the first requires a # at the start.
Doing it this will will save a lot of other calls to get category icons etc.
Thanks,
Stiofan
This addon had the wrong version number, i have updated it now, it should work next time.
Stiofan
-
AuthorPosts