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

Reorganize template-tags.php #222

Closed
gregrickaby opened this issue Nov 10, 2016 · 1 comment
Closed

Reorganize template-tags.php #222

gregrickaby opened this issue Nov 10, 2016 · 1 comment
Assignees
Labels

Comments

@gregrickaby
Copy link
Contributor

There are three helper functions that could be moved to extras.php, such as:

_s_categorized_blog()
_s_category_transient_flusher()
_s_get_attachment_id_from_url()

@allisonplus
Copy link
Contributor

Branch: https://github.com/WebDevStudios/wd_s/tree/theme/template-to-extras

Moved the following from template-tags.php to extras.php:

  • _s_categorized_blog()
  • _s_category_transient_flusher()
  • _s_get_attachment_id_from_url()

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

No branches or pull requests

2 participants