Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude posts from Nearby List #800

Closed
actionmatt opened this issue Jan 15, 2018 · 4 comments
Closed

Exclude posts from Nearby List #800

actionmatt opened this issue Jan 15, 2018 · 4 comments

Comments

@actionmatt
Copy link

When using the [geo_mashup_nearby_list] shortcode is it possible to exclude posts within a certain distance? I can't find any parameters in the list that would do that, but it would be great if we could.

Alternatively, we'd like to be able to exclude certain post-types (rather than just categories) - but again that doesn't seem to be possible?

Thanks for a great plugin!

@cyberhobo
Copy link
Owner

It looks like the map_post_type parameter should work with a comma separated list of post types to include. If that does the trick let me know and I'll add it to the documentation.

@actionmatt
Copy link
Author

actionmatt commented Jan 16, 2018 via email

@cyberhobo
Copy link
Owner

Great, I've updated the [Tag-Reference] to document that.

Your options for the distance are to hide the span via CSS or customize the nearby-list.php template.

@actionmatt
Copy link
Author

actionmatt commented Jan 18, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants