Mitch Canton
Forum Replies Created
-
AuthorPosts
-
Hmm, that’s disappointing, out of curiosity, why not enable in admin?
Especially considering I can’t get the front end to work right.
I have tried several valid facebook URLs, clicked import, and each time I get ‘required field’ error on each of the fields. See attached.
They are valid URLs, and I have the facebook app enabled (Facebook Access Token Active, expires: Never).
Since I’m just now testing this, maybe I’m missing something? Guidance?
Thx.
Hey Paolo,
Thanks for those links, good idea, I’ll check them out.
Only thing is I don’t necessarily want that revised number for ALL archives, just some specific ones.
So I was thinking, if I dropped that shortcode on a new wp page, and the created a redirect link from the url to that page, would that create any problems?
So the url
url/listingurlprefix/tags/tagname
would redirect to the new wp page that had the shortcode
[gd_listings post_type=”gd_place” layout=4 tags=”tagname” post_number=”80″ list_sort=”featured”]Are there are problems that I may not have thought of if I try to do it this way?
Thanks!
Hey Kor,
I got it. We use Plugin Organizer (fantastic plugin!) to eliminate plugin conflicts, and with WPGD I need to activate that plugin and a url filter based on the URL that WPGD creates for archives e.g. /go-local and category archives e.g. go-local/dental/
In creating this filter for selectively activating plugins, I had set in as /go-local/*/*/
which is why the /go-local/categoryname/listingname worked, but the others did not.
By changing this url filter to /go-local/ and selecting all children (instead of the /*/*/ format) it worked!
Thanks for your timely assistance and for looking into this.
Have a great day!
This reply has been marked as private.Ironically, the findlatitude site geocode process is down today. So in searching for an alternative, I just found this post and tried it. Very cool service. What a great find, thanks much for sharing.
Could you please make it where tags=” ” would work like you have for category.
When is ‘next version’ to be released?
Thanks.
Not a trouble at all. I’ll put something together for a review. I appreciate the support you have provided.
Have a great day.
Got it. I noticed after placing the code that the Listings were also sorted alpha A-Z within each category, but since ALL of the listings currently have 0 reviews, that’s likely why.
I’ll add some reviews to test.
Excellent support. Thanks again. Enjoy your weekend!
I tested this quickly so I could reply before you left.
It works perfectly. 🙂 The category order displayed in the widget is alpha A-Z, and of course works in all configurations (top, side, dropdown).
When I was originally testing WPGD, in reviewing the forums, this is the type of support that led me to the decision to purchase an annual subscription to the full plugin program.
You are awesome, thanks.
One quick question: Can I assume that if I leave out the second filter, the sort *within* the category (the company listings themselves) will still be based on the number of reviews?
Have a fantastic weekend.
Thanks, I’m not saying it’s a ‘bug’ per se. I just think it’s a flaw in the design to not allow for sorting of the category labels in the widget.
So would I be able to replace ‘review_count’ in the widget code with something related to an “alpha sort of the category” (obviously not the right term) 🙂 to derive a revised sort of those category labels?
Thank you for your follow-up. Have a good day.
I understand. However, you say ‘best of only sort by ratings’ – when there are ZERO ratings and ANY of the categories, it HAS to be sorting the display of categories by something??
And if it is sorting by something, there has to be a way to modify that.
It seems like just making some simple tweaks to someplace like line 183:
$terms = geodir_sort_terms($a_terms, 'review_count');
or 190:
'order_by' => 'high_review'
or 312:
$view_all_link = add_query_arg(array('sort_by' => 'rating_count_desc'), get_term_link($first_term, $first_term->taxonomy));
or 661:
$view_all_link = add_query_arg(array('sort_by' => 'rating_count_desc'), get_term_link($term));
to change like review_count in line 183 to be something alpha related would work?
If I’m willing to go in and make the changes, simply providing me with the term I need for an ‘alpha’ sort and confirming the location doesn’t seem like it would be too much to ask.
Thank you.
Yes, I remember that discussion, but I felt it unresolved.
As I mentioned, I have ZERO reviews in any of the 30 categories. So it CAN’T be sorting by number of reviews. There MUST be some secondary sort mechanism, since ALL of the categories have the same number of reviews.
I’m simply looking for how to change that sort order, even if I need to try and tweak the code to do so.
Can you not provide any assistance on what I should look to do?
Thank you.
Ok, I understand. Two follow-up questions.
1) How is the secondary sort structure right now? By post ID number? By that I mean, if I choose Featured as the sort, it lists the Featured listings first, then lists all of the others… they seem to be in a reverse post id sort? Correct?
2) Then if I wanted to place the ‘Featured’ group of listings query on the top part of the page, then have a regular alpha sort of the listings in a second query below it, how would I do that?
Thanks.
Thanks guys, excellent support. I’m new here, but great impression so far. 🙂
I pulled that – function my_enable_shortcodes_in_cf($html,$location,$cf) – code from my custom WPGD plugin, and the fields that *were* rendering shortcodes stopped working. So I’m not really sure, but it seems to still need it? (We have 1.6.10 installed).
(edit) I just triple-checked with and without that function code, and it works with the code active and does not with the code removed.
I totally agree with your comment about shortcodes being added by users.
Is the admin-only setting something that precludes the display of shortcode in the Detail Page Sidebar? I tried two fields, one admin-only=yes, one=no, but neither displayed the shortcodes in the Sidebar (although they did display in the tabs). Both were set to show in both places in the ‘Show in what locations’ box.
What needs to happen to get shortcodes to display in the detail page sidebar too?
Thanks for your timely replies and your access on the weekend. Have a great day.
-
AuthorPosts