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

The "posted_on" function is obtuse and not functional unless rewritten #770

Closed
oliverharrison opened this issue Oct 15, 2021 · 0 comments · Fixed by #774
Closed

The "posted_on" function is obtuse and not functional unless rewritten #770

oliverharrison opened this issue Oct 15, 2021 · 0 comments · Fixed by #774
Assignees

Comments

@oliverharrison
Copy link
Contributor

This is a staple of pretty much every site; all blog posts either display the author (byline), the date/time posted, or both. The current function works but isn't intuitive at all.

Further, you can't use it to display either/or the date or author; you simply get the entire string as written.

Preferably, this would accept some parameters to allow display of the date and byline separately.

coreymcollins pushed a commit that referenced this issue Dec 30, 2021
* Started on refactor of posted_on

* Working on date function

* Adds post_date and post_author functions

* Remove other dev function

* Updates comments for new functions

* Remove unneeded ob_start() from date function

* Adds search.php file to theme root

* Remove header from search.php

Co-authored-by: Oliver Harrison <oliver@positivebias.com>
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

Successfully merging a pull request may close this issue.

1 participant