Hello,
first I want to thank you for this wonderful theme.
I’m wondering if it’s possible to get onclick content in the footer (I couldn’t find something like this in the widgets either)?
I would like to put my disclaimer and the privacy policy into the footer and to let the user open it with onclick.
You can see an example here: http://www.kolle-rebbe.de/
Click on Impressum / Datenschutz.
I found this jquery method (http://www.elmastudio.de/programmierung/webseiten-elemente-mit-jquery-auf-und-zusliden/) online but I’m wondering if it would brake the theme code.
Thanks for your help
Hi Alexander
I’m not sure but you could definitely give it a try.
Put this under Appearance > Custom CSS:
Put this into the interface provided by this plugin: https://wordpress.org/plugins/header-and-footer-scripts/
Put this into Appearance > Theme Settings > General: Site Information Text:
We’re not doing the tutorial step one as WordPress has jQuery running already.
Let us know how it goes.
You could also try a plugin to do this job:
https://wordpress.org/plugins/wp-showhide/
Hello Andrew,
thanks for your fast response.
The custom CSS somehow affected the whole site, not just he footer.
The plugin is very nice. I tried 5 or 6 yesterday but none was as good as this. With some adjustment or this additional plugin:
https://wordpress.org/plugins/better-wordpress-showhide-elements/
http://akenn.org/projects/wp-showhide/
it fits my needs perfectly.
Thanks for your help!
Awesome, glad that worked. You can think of your development process as:
Theme Settings
Plugins
Custom CSS
Child Theme/Custom Development
As you down the list the work gets harder. So if you can achieve functionality with a plugin that’s always a win.
All the best!