An open API service indexing awesome lists of open source software.

https://github.com/sir-daniel/post-last-update-date-block

A simple WordPress block to display the last update date of a post. Usable in Gutenberg and Site Editor.
https://github.com/sir-daniel/post-last-update-date-block

wordpress wordpress-block wordpress-plugin

Last synced: 4 months ago
JSON representation

A simple WordPress block to display the last update date of a post. Usable in Gutenberg and Site Editor.

Awesome Lists containing this project

README

        

=== Post Last Update Date Block ===
Contributors: nicolamustone
Tags: block, gutenberg, date, post, update
Requires at least: 6.1.0
Tested up to: 6.4.2
Requires PHP: 7.0
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A simple WordPress block to display the last update date of a post. Usable in Gutenberg and Site Editor.

== Description ==

The Post Last Update Date Block plugin adds a new block to the Gutenberg editor, allowing users to display the last update date of posts.
This block is useful for websites that frequently update their content, offering readers insight into the most recent modifications of the posts.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/` directory**, or **install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Use the block by adding it to your post in the Site Editor or Gutenberg editor.

== Frequently Asked Questions ==

= Can I customize the date format? =

Yes, the date format can be customized in the block settings.

= What options does the block have? =

You can customize the color, background, color of the link, if it should link to the post or not, typography options, padding, margin, and with.
You can additionally select the date format, and specify the content to show before the date.

= Is the block compatible with all themes? =

The block should work with most themes, but styling might vary based on the theme's design.

= I added the block to a page (template) but it does not show, why? =

The block only works on posts at the moment.

== Screenshots ==

1. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from
the /assets directory or the directory that contains the stable readme.txt (tags or trunk). Screenshots in the /assets
directory take precedence. For example, `/assets/screenshot-1.png` would win over `/tags/4.3/screenshot-1.png`
(or jpg, jpeg, gif).
2. This is the second screen shot

== Changelog ==

= 0.1.0 =
* Release

== Learn More ==

Find more snippets, tutorials, and news about WordPress and WooCommerce on my blog at https://nicolamustone.blog.