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

Possibility to show published date as well #8

Open
therj opened this issue Dec 19, 2019 · 0 comments
Open

Possibility to show published date as well #8

therj opened this issue Dec 19, 2019 · 0 comments

Comments

@therj
Copy link

therj commented Dec 19, 2019

Detail Requirement:

  • To be used with shortcode
  • Show 'Published On Dec 19, 2019' if not updated or updated within set gap. 'Published On' being the default text.
  • Otherwise show 'Updated On Dec 19, 2019'. 'Updated On' is the default text.

I think it is already possible for themes whose template is supported, WP Last Modified Info replaces the existing post date that comes from the theme.

I need to insert it via shortcode, it can be two shortcodes (published & modified) but only one should be visible based on settings.

Update:
I made it work via replacement Text or HTML Replacement. Minor problem I noticed is that it requires to match the exact number of spaces as well. May be we can clean up a bit on that.
Of course, placing publish date from plugin itself would have been much elegant.

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

No branches or pull requests

1 participant