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

Footer copyright block #34761

Closed
getdave opened this issue Sep 11, 2021 · 2 comments
Closed

Footer copyright block #34761

getdave opened this issue Sep 11, 2021 · 2 comments
Labels
New Block Suggestion for a new block [Package] Block library /packages/block-library

Comments

@getdave
Copy link
Contributor

getdave commented Sep 11, 2021

What problem does this address?

Many sites adopt the pattern of putting something like Copyright {Author / Company name} 2021 in their footer.

To avoid the need to update this manually every year, in classic themes most developers would use PHP to programatically output the correct year.

With Site Editing there is no way to do this without creating a custom block.

What is your proposed solution?

Given the ubiquity of the pattern should we offer a core/copyright block?

@getdave getdave added New Block Suggestion for a new block [Package] Block library /packages/block-library labels Sep 11, 2021
@Sandstromer
Copy link

A footer copyright block feels a bit too narrow in focus to me.

IMHO a more general "Site Info" block would be great.
This could pull in such things as Site Title, Tagline, custom text, current date (with format options to display e.g. just the year etc.), current theme name/author and so on.

Similar to how the Social Icons block works, select something like a "Site Info" block and add/order the pieces you want.

@mtias
Copy link
Member

mtias commented Sep 13, 2021

Closing as duplicate of #18895 and #33475.

@mtias mtias closed this as completed Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Block Suggestion for a new block [Package] Block library /packages/block-library
Projects
None yet
Development

No branches or pull requests

3 participants