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

Advanced Link: Ability to Disable either 'Post' and/or 'Term' for the Link Type #88

Open
bwmatter opened this issue Oct 28, 2021 · 0 comments

Comments

@bwmatter
Copy link

Is your feature request related to a problem? Please describe.
I have a field where the client needs to be able to add External Links with Text for a link to display on the front end.
ex. <a href="https://externalurlhere">Text to show here</a>

I want to eliminate the option for them to add "Post" or "Term" links in this section as it would not be appropriate for this field.

Describe the solution you'd like
Either of the following solutions:

  1. Ability in the Field Group editor for the 'Filter by Post Type' and 'Filter by Taxonomy' to select an option for each that would disable them.
  2. Ability through a filter to exclude any of the 2 types i.e. 'Post' and/or 'Term'

Describe alternatives you've considered
I have thought about just creating a 'Group' field with a 'URL' field and a 'Text' field, but that seemed like overkill.
I have also thought about adding CSS to hide those types, but that is my last resort.

Additional context
None

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

No branches or pull requests

1 participant