-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add customizable copyright info #16
Comments
oh - I'd forgotten about the top link. I have some shortcuts for adding extra features. I shall add the top link as well. I shall also add the default somehow. And maybe add a list of the shortcuts to the controls so they are not so hidden. |
A list of shortcuts would be helpful. As it would give the user some info on how to customize the content of the Credits Content. The main reason to add the default copyright would just be to help the user customize the content. If there is a helpful customization list then there might not be a need to add the default copyright into the box. |
Just pushed a bunch of improvements to this. There is now a section description that is automatically opened, that tells you the default value, and gives you all the available tags. I also fixed the setting so that you can click the footer and go to the correct customizer setting. |
Very well done! A few things... Adding something else in the Credits Content and then removing it does not bring back the default Credits Content. Correction it does so on refreshing the browser. "The default theme footer can be reproduced with: It would be good to be able to easily add a link as I could then create a Login link. |
Thanks - I copied and pasted the copyright one for the other items, then edited them, and totally missed that I had left one in. I don't think there's space to add the entire link with all the html to the default example. What do you think? Perhaps once there's an actual website I could make a docs page for the footer and include various examples with some demo html that people can copy and paste. Then I will link to that. In fact I'll add a ticket for that in the minute. For the link, you can add html in the box if you wish. I will also add a filter so that you can filter the content if you want to. |
Good idea to have docs. I am also thinking that there could be a custom copyright code in a child theme. Showing some variation. I am not sure what you mean about filter the content. |
Re: the filter, I will add So that you can do more elaborate things to the html if you want |
and remove a duplicate shortcut tag #16 (comment)
Not sure what that means. But I bet it is good..:) |
A simplistic example would be that you could do the following to make the whole footer content bold:
I will add some examples for this to the docs as well :) And I might call the example child theme Jeeves |
There's another filter that this is all tied to that bypasses the footer credits entirely. So you could do this with something like:
Or you could override the footer.php with a child theme, since footer.php is 99% credits. I'll need to document all this too. |
A few thoughts. Regarding the customizer credit contents area. Having a left and right area to what and where they want to add information. One could then for instance add credits info to the left and add the top link to the right. |
Since I want to keep the theme simple and lightweight I've decided not to add the separate left and right functionality to the footer credits box, however I will include an example of adding this feature to the docs so that it can be added with copy and paste. |
Sounds good to me..:) |
To override default footer credits
The text was updated successfully, but these errors were encountered: