impress-org / givewp

GiveWP - The #1 Donation Plugin for WordPress. Easily accept donations and fundraise using your WordPress website.
https://givewp.com/
GNU General Public License v3.0
339 stars 191 forks source link

Custom Slug #27

Closed mathetos closed 9 years ago

mathetos commented 9 years ago

ENVIRONMENT:


FEATURE REQUESTS: I know we can customize the end of the slug (e.g. domain.com/donation/custom-slug), but it wwould be nice if in the general settings or upon activation we could customize the /donation/ part or choose from a preset list. Some of the preset options could be.

donation give donate support fundraiser fundraising fundraise fund


GENERAL FEEDBACK:

REF:345giveReagan!fgh15

DevinWalker commented 9 years ago

Hmm. This is possible right now, but having them change the slug at activation is maybe going too far.

mathetos commented 9 years ago

I don't think he means the form slug, which is accessible, but the root /donation/ url. Meaning instead of \donation\form-slug they could have \campaigns\form-slug

DevinWalker commented 9 years ago

@mathetos that's possible right now, there's just no convenient UI. It's done programmatically.

DevinWalker commented 9 years ago

I don't like the idea of adding a UI for this... would cause more support and programmatically is cleaner.

DevinWalker commented 9 years ago

@mathetos assigning to you for the doc

mathetos commented 9 years ago

OK, I want to write a doc on "Give Globals" with this one included.

DevinWalker commented 9 years ago

Here's a good reference from EDD https://easydigitaldownloads.com/docs/section/developer-api/php-constants/

mathetos commented 9 years ago

:+1:

mathetos commented 9 years ago

Done: https://givewp.com/documentation/developers/give-php-constants/

Looks as if we don't currently have GIVE_MENU_POSITION . I like the way we implemented that in Maps Builder, with an additional setting in the Advanced tab. Might be nice to do that with Give as well.