anders
Forum Replies Created
-
AuthorPosts
-
Awesome, thank you!
I was just wondering if there is a ready way to retrieve/access the current city as a variable in code? …I believe you could use geodir_get_current_location -function with V1
Thank you Alex!
1.
Can you please give an example how I can retrieve/access the current city as a variable in code? …that I can use when constructing/setting conditionals for my custom breadcrumb?
I have searched but not found anything on this for V22.Do you have plans for upgrading Directory starter with breadcrumbs or is the general recommendation to find an external parter for theme?
Thanks!
Ok,
I might try the filters that Yoast has built in to see how far I get with that.
I can report here if I have any progress.…is there any theme you can recommend?
Thanks!
Hi again,
Unfortunately Yoast breadcrumbs doesn´t work very well.
I have placed [wpseo_breadcrumb] shortcaode in my gd-details and gd-archive -pages.-The CPT category is not visible on archive pages
-For both archive and details the full Country/Region/City path is visible but we have checked “Hide country part of url for LISTING, CPT and LOCATION pages”Under Yoast I have marked our gd_place CPT under “gd_placecategory” for “Content type archive to show in breadcrumbs for taxonomies”
Under GeoDirectory permalinks, we have this setting:/%cpt_slug%/%category%/%city%/%postname%/
but our gd_place details Yoast breadcrumbs look like this:
Home » “gd_place” » country » region » city » category » “postname”Thanks!
Thank you Alex, sounds good!
I will try Yoast again and let you know how it goes here
Thank you Kor,
Yes I have tried that earlier and from what I recall, Yoast is not completely compatible with WPGeodirectory in that taxonomies are not visible, on archive pages?
Now, I’m pretty sure this could be fixed with a little customization however before I set out do that, I would appreciate if you could just please answer the following questions:1. You say “try Yoast breadcrumbs in the meantime”, does that mean breadcrumbs are planned for Directory starter? and in that case when?
2. Do you recommend Yoast for SEO purposes when building WPGeodirectory sites? It seems to me like you have done a solid job with SEO already with WPGoedirectory alone?
I’m very comfortable with Yoast and have used it a lot on other sites but I don’t want to install it for that reason
…especially if it means I will have to customize it to make it work with WP Geodirectory (like with breadcrumbs)Thanks!
Ok, thank you!
Thank you Alex,
Yes, and I have unchecked WP settings > Discussion > Allow people to post comments
Before I use css to hide I just wanted to make sure this is not a v2 bug?
Is it the intended behaviour to show “no comments” if reviews are disabled?
“Disable review stars without disabling comments.”…I want to disable comments, reviews and favourites
If it´s not possible without using css to hide things then I will use css, but I wanted to doublecheck firstThanks!
Thank you Alex,
Yes, I know how to hide this with CSS.
But I don´t understand the logic behind only having the option “Disable review stars without disabling comments.”
Why is it not possible to disable both reviews and comments from settings?
I wanted to make sure this is not a bug and that I´m not missing something
…and only use css to hide things when there is no other option.Thanks!
This reply has been marked as private.Hi Stiofan
Yes, I want to remove comments also.
But If I check that box then “No Comments” appear instead of reviews.
even though I have unchecked Settings > Discussion > “Allow people to post comments on new articles ” ?/Thanks!
Ok, thank you Guust!
Thank you Stiofan, that sounds great!
Perhaps you could publish a small example on how to best use it?
Thanks again!
Thank you Alex and Kiran!
Yes, I tried that first and I agree it´s very easy and works really well too.
The main reason I was looking for an alternative way is that I was hoping I could set a condition to only display the tab when the listing -shortcode contains posts to show.Thanks!
-
AuthorPosts