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

Feature Request: Custom Template Tags for Post Content #822

Open
DeadSuperHero opened this issue Jul 25, 2024 · 0 comments
Open

Feature Request: Custom Template Tags for Post Content #822

DeadSuperHero opened this issue Jul 25, 2024 · 0 comments

Comments

@DeadSuperHero
Copy link

DeadSuperHero commented Jul 25, 2024

What

If a WordPress Post Type has a custom field, allow that field value to be used as a template tag in Post Output settings.

Why

In thinking about how we can use WordPress to interact more natively with the Fediverse, it would benefit us to use a different field other than the article excerpt when we post a Note.

We are thinking of using a custom field to store free-fork text, which could be used in the Note body before the link. So, instead of using ap_excerpt in the body, we would use social_intro or something like that instead. That would get included in the Note body that gets federated out.

How

I don't know too much about the internals of WordPress yet, but maybe there's a way to make field values accessible to the Post Content Editor?

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