Kevin Holdridge
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.February 20, 2020 at 11:24 am in reply to: Different presentation for standalone page with gd_listing shrtcode #531395
Thanks Alex, we’ll go with the CSS approach.
Hi Kiran
Thanks for your follow up, I appreciate it.
The site has been upgraded to v2 (reluctantly, I have to say), so I can no longer show you it in v1 state. Our v1 implementation was based on using the same custom usort function and calling it in listing-listview.php. Unlike with v2, however, v1 let you make an override copy of such core files in your theme folder so changes were not overwritten with every update. I have already had to reinsert our changes twice after GD2 updates overwrote them. I am a big fan of GD, but this does all feel like a step backwards I am sorry to say. I like the idea of moving to hooks and filters instead of local files for customisation, but I’m not yet seeing much documentation to help us to take advantage of that in practice. And much of the change of model feels to be making stuff harder rather than easier (e.g. can’t use custom templates in different parts of the system, you have to kludge with css to show/hide variations). Not trying to be negative, just honest feedback from an average user.
Yes, we are already using a variation of the snippet you referenced (https://wpgeodirectory.com/support/topic/search-for-2-cpts-not-working/#post-522151). That seems to work well to order the full set of results, but does not handle the additional reorder that we need at the level of individual pages of x results – which is what we have made the changes described above to achieve.
Tks
KevinThis reply has been marked as private.February 19, 2020 at 6:23 pm in reply to: Map marker not showing in back end when adding/editing a place #531251Thanks for investigating and fixing that, Alex. TBH, despite many hours of staring at these screens I had never even noticed that blue ‘advanced options’ button! I work on a wide screen, and the button is right-aligned so it’s outside my focus. Now I know 🙂
February 18, 2020 at 8:28 am in reply to: Map marker not showing in back end when adding/editing a place #530956This reply has been marked as private.February 17, 2020 at 11:31 pm in reply to: Map marker not showing in back end when adding/editing a place #530898This reply has been marked as private.The only way I can find currently to do this is to apply the usort straight after
$posts = $wp_query->posts;
in /plugins/geodirectory/templates/content-archive-listing.php
I’d prefer not to have to do this in core files. I can’t see any codex of hooks and filters for v2 yet. But I suspect there may be a way to hook into
geodir_before_listing_post_listview ??
Thanks, Alex. Any progress?
December 17, 2019 at 12:02 am in reply to: Detail template – add image triggered by category #521834Excellent, thanks, Alex. I hadn’t realised the badge was so flexible – means I’ve been able to do it just by playing with shortcodes in the GD Archive Item template.
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.Problem of only the first one or two thumbnails loading on search results page was due to some kind of conflict with the Kina Video Presenter plugin. Have resolved it by installing the ‘plugin organiser’ plugin and using it to change the load order so that Kina loads before GD – so GD overwrites any conflicting Kina JS. As there is no page on which both are needed, that is a satisfactory workaround.
This reply has been marked as private. -
AuthorPosts