Lauren Randolph
Forum Replies Created
-
AuthorPosts
-
November 7, 2017 at 4:12 pm in reply to: Google Analytics Widget Errors – (401) Invalid Credentials #404495
Thanks.
This goes in your functions.php file in your child theme.
/**
* Change cluster image icons path
*/function set_map_cluster_icons_path($imagePath) {
$imagePath = get_stylesheet_directory_uri() . ‘/assets/images/cluster-markers/n’;
return $imagePath;
}
add_filter( ‘geodir_marker_cluster_image_path’, ‘set_map_cluster_icons_path’ );In this example the files would be in the child theme directory under /assets/images/cluster-markers and be prefixed with the letter “n”. Then just name the files, n1.png, n2.png, etc. You can use any prefix, but you might want to change it to bust the cache if you tested it with the original files in there or are editing them to see what they look like. To edit the original ones, just unzip the plugin and grab the png files out of there.
It looks like it’s a setting in the Multilocations add-on.
https://wpgeodirectory.com/docs/multilocations/
Though it still doesn’t explain why some detail page’s home link point to the site root and some back to the location page.
October 24, 2017 at 5:02 pm in reply to: Google Analytics Widget Errors – (401) Invalid Credentials #402364This reply has been marked as private.Thanks. Yes, that coded isn’t needed anymore, the breadcrumbs and titles on the location pages are now working. I’ve just completely disabled the Foreverwedding plugin and it fixed all the issues.
This reply has been marked as private.Ok, I got it working.
SELECT * FROM
posts
WHERE
post_type
= ‘hotels’; Resulted in two drafts from a CPT with the slug ‘hotels’ from the theme’s plugin. I removed the function that was registering the CPT in functions.php.
Ok, think I might have narrowed it down, and maybe you guys could suggest the best way to organize this.
So there’s the “Listing url prefix” on the Permalink tab. That’s set to: hotels
There’s “GD Home page” which was set to: hotels (now it’s set to search)
And then there’s the settings in the GD CPT addon, which has a slug of: hotelsRight now I am not able to save an empty value in the “Listing url prefix”, is that an issue? Or will it just be replaced with the CPT slug?
Now I have the GD Home page set to search, the hotel listing’s url are /hotels/.. instead of /search/hotels/..
With the /search/ missing from the url to the listing, it’s confusing. If you look at the breadcrumbs to /hotels/ and never back to /search/ (the GD Home Page).
It seemed like it was working as expected when all the three values were set to the same slug, but the pagination ended up breaking sometime over the last update.
What’s the best way to set this up where the GD Homepage is a secondary page?
Huh… that post just got submitted. Is it hitting a spam filter?
Are these pages cached? I tried posting something and it’s not updating the page. I attempted to resubmit and it says it’s duplicate. Just wanted to make sure that my previous post was submitted. 🙂
This reply has been marked as private.It seems like the pagination is working now. Do you know what the issue was?
This reply has been marked as private.Just updated the add-ons manually and the pagination 404 errors are still occurring. It had been working, so it looks like it’s a new issue, possible after the recent Geo-directory update a few days ago.
WP Easy Updates is installed, but it looks like it’s not updating.
-
AuthorPosts