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

Let’s discuss: permalink generation scheme #682

Open
1 task done
Tracked by #744
carstingaxion opened this issue Jun 10, 2024 · 6 comments
Open
1 task done
Tracked by #744

Let’s discuss: permalink generation scheme #682

carstingaxion opened this issue Jun 10, 2024 · 6 comments
Milestone

Comments

@carstingaxion
Copy link
Collaborator

carstingaxion commented Jun 10, 2024

Is your enhancement related to a problem? Please describe.

I’d like to suggest a change to the current scheme, GatherPress uses to create permalinks for events.

Currently the plugin generates permalinks based on the default %post_name%, which can be ok as a default. But maybe is not.

One thing I’ve been doing with most of the websites, that use any kind of calendar, was changing the generated links to be more accessible to humans and perform better from a SEO perspective. I’d like to change the generation-scheme to be %post_name%-on-%event_date%-in-%venue(_city)%.

May it be a setting with UI or just a well-documented filter, both would suit my needs.

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@travispflanz
Copy link

I'm in the process of migrating a few Meetup groups away from Meetup - as well, I am a WordPress Meetup organizer in Kansas City - I am VERY happy to come across this plugin!

I've been a Meetup user for about 14 years and have used it for many different types of groups. I'd love to give input about various use-cases and UX input for ease of use for all types of users. I've helped organize Meetup groups with a vast range of tech savviness among my fellow group organizers and fellow group members.


As I started playing around with GatherPress last night, one of the first things that came to mind was the slug. My group that I'm most eager to move away from Meetup is a social club for area dog lovers. Our members range literally from 18 years old to 82 years old. We get together to do any and all things with our dogs and all things dog-related.

All of that said, we like to keep event details mostly private except for members (though hiding individual blocks based on login/logout is a different topic). We keep it more private because years ago we went through a weird many-months-long stretch where random guys who didn't own dogs kept showing up to try to "pick up" women in the group.

Part of the group's privacy is using simple/generic event titles, such as "3 Mile Hike" or "Dog Park Get-together" with only the date and the title visible to the public. All the details, date/time, location, RSVPs, etc. only viewable by logged in registered club members.

Given this this use-case, I'd like to see a global permalink option for GatherPress. We would use either %post_name%-%event_date% OR %post_name%-%post_id% to add more privacy. A global option would allow each website owner to be able to easily decide which route is best for them.

@mauteri
Copy link
Contributor

mauteri commented Aug 7, 2024

@carstingaxion @travispflanz @patriciabt Maybe we consider a Permalink section in Events->Settings. This could be an area to defined all permalinks for GatherPress. Ticket 722 could be completed here as well. So this can handle not only the slug issue we are having, but the whole permalink structure for events, venues, and topics. This could be very similar to the WordPress Permalinks section with listings of available tags ot make the UI simple. Thoughts?

@carstingaxion
Copy link
Collaborator Author

Take a look at https://github.com/thefuxia/t5-rewrite @mauteri
(This is the plugin I mentioned during the huddle)

which does a lot of, what GatherPress needs.

Unfortunately I was wrong with the buttons for the rewrite tags. But it adds a contextual help-tab with the new rewrite tags.

IMG_0205

This plugin is more than 10 years old; for sure GatherPress can do better.

Test it in Playground

@mauteri mauteri added this to the 0.31.0 milestone Aug 17, 2024
@carstingaxion
Copy link
Collaborator Author

Thank you for your detailed feedback @travispflanz!

Even that I’m late responding here, I’ve thought about your words many times since you commented over here. Your use case makes a lot of sense and I was happy to read a different perspective to broaden my view.

As long as the GatherPress team is working on a suitable solution for many people (#826), you might make use of WordPress core private & password-protected post stati, which should work the same with events & venues, as they do with posts & pages. (But, unfortunately I haven’t tested this, just guessing)

For a more granular control I highly recommend the Block visibility plugin. As the author @ndiego is also a WordPress core contributor you can expect the same smooth integration into the Admin-UI that GatherPress is gaining for, too.

@mauteri
Copy link
Contributor

mauteri commented Sep 7, 2024

@carstingaxion is this one still relevant now that we completed #722?

@carstingaxion
Copy link
Collaborator Author

carstingaxion commented Sep 14, 2024

@carstingaxion is this one still relevant now that we completed #722?

No, I don't think so @mauteri.

While the mentioned #722 changes the post types permalink BASE slug, this issue is about changing the auto-generated $post->post_name, aka the slug of the post behind the BASE.

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

No branches or pull requests

3 participants