forked from argoproject/Argo
-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Break up largo_byline to make it more modular. #1126
Comments
aschweigert
added
status: in progress
and removed
status: in progress
in progress
labels
Jun 9, 2016
In the current version of the branch with this work, c98d8ac, inc/post-tags.php is 1003 lines long, with the following breakup, by my rough count:
Can we break this up somehow?
Mostly, this file is getting unorganized and unwieldy. |
Also:
|
This was referenced Jul 12, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now, it's a huge function: https://github.com/INN/Largo/blob/master/inc/post-tags.php#L84-L169
Make it a wrapper function around an action, maybe? The action would need to pass as arguments everything passed to
largo_byline
.The priorities of the actions on
largo_byline_action
should be separated by10
, to give us room to add new child theme actions in the middle, such as the twitter icon used in many child themes.The text was updated successfully, but these errors were encountered: