Lise Kryger
Forum Replies Created
-
AuthorPosts
-
thanks a lot 🙂
This reply has been marked as private.Hmm strange it seems like I cant add a comment, it says I already did it – but nothing is shown.
Yes that looks good, but when I search it doesn’t take the sort_by=featured_desc doesnt’ affect the search result. I would expect that if I search on a search engine.
Another thing is that if I have a featured listing, I would expect to get something for that – meaning that when one of my clients pay for a featured listing, they expect to get a highlighted display and that they get first in result. Can I somehow change that by adding some php code in the functions.php like a hook or something that overrules the order by in the search.
I have seen an example where you use $wpdb->posts and change the “order by”, to title. But this one is probably located in the wp_postmeta, therefore I am not sure how to overrule the order by.
Is that possible?
Another thing – I have attached a piece of code you might find useful for your plugin. It creates a short code which checks the tags on a regular post and compares it to places tags. In that way it shows targeted places. This is very useful when you run a blog 🙂
Regards
PeterThis reply has been marked as private.Thanks! It work like a charm 🙂
This reply has been marked as private.This reply has been marked as private.Hi
Thanks a lot for the helpt – it helped a lot.
I still have a couple of issues though.
1. If I use “WPBakery Page Builder” on the page called “Find Angstbehandler” and add a row which wrappes my shortcode as the following code:
[vc_row][vc_column width=”1/1″][vc_wp_text][gd_notifications]
[gd_search]
[gd_loop_actions]
[gd_loop layout=2]
[gd_loop_paging][/vc_wp_text][/vc_column][/vc_row]
Then I get two set of content on my page. One working and one which doesn’t (check screencast https://www.screencast.com/t/fEv9ooxmm2)
But the shortcodes is only set once on the page. Is there a way to use WPBakery Page Builder with GeoDirectory – it would make styling a lot more flexible.2. If I try to use a short code for map instead of widget – it doesn’t seem to work.
I have tried the following
[gd_homepage_map width=100% height=300 scrollwheel=false] and [gd_listing_map width=100% height=300 scrollwheel=false] they only show the shortcode text. It could be very convenient as a short code, because then I could integrate it directly in my design setup on the page (Find angstbehandler
– https://slipangsten.dk/find-angstbehandler/?geodir_search=1&stype=gd_place&s=+&snear=&sgeo_lat=&sgeo_lon=#/)Regards
PeterThis reply has been marked as private.Doh – installed the wrong file – everything else I have installed is v.2.
Sorry for that – and thanks for the help
-
AuthorPosts