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

Add Gutenberg Block(s) to render Bylines for Full Site Editing #74

Open
mogmarsh opened this issue Oct 26, 2022 · 1 comment
Open

Add Gutenberg Block(s) to render Bylines for Full Site Editing #74

mogmarsh opened this issue Oct 26, 2022 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers javascript Requires understanding JavaScript

Comments

@mogmarsh
Copy link
Contributor

mogmarsh commented Oct 26, 2022

User Story

As an admin using Full-Site Editing, I want to be able to use Byline Manager bylines in a block theme.

Acceptance Criteria

  • Create a Gutenberg block for use in full-site editing that displays author data from Byline Manager instead of standard WordPress authors.
  • Make this block available in the same contexts as the core author block, such as in the post template and query loop blocks, so it can be used on single pages and post listings.
  • Ensure there is support for setting attributes to allow the user to leverage all of the options currently available in https://github.com/alleyinteractive/byline-manager/blob/production/inc/template-tags.php.
@rpasillas
Copy link
Contributor

There was a discussion in #opensource to clarify this ticket: https://alleyinteractive.slack.com/archives/C03JT2JT1RU/p1716411318219459

The summary:

  • A new issue, Filter the core author block to replace its data with the data from byline manager  #346 has been created that will precede this one. It will essentially hijack the core author block to display the data from the byline manager via a PHP filter.
  • This issue will be to override the core author block's settings to reflect its data being overwritten by the byline manager. So as to not create confusion in the core author block's UI.
    • The Author, Show Avatar, Avatar Size, Show Bio, Link Author Name to author page fields should all be wired up to show data from the byline manager.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers javascript Requires understanding JavaScript
Projects
None yet
Development

No branches or pull requests

3 participants