-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Antonio D edited this page Apr 11, 2020
·
19 revisions
Welcome to the books4languages-book-child-theme-for-pressbooks wiki!
Future code:
Hide Summary secction
Summary and other extended content is only available to registered users.
<style> .textbox.textbox--summary{ display: none; } </style>Activate for a specifical page // wp-print integration hide exercises global $post;
if( false !== strpos( $post->post_name, 'print' ) ) { // Do Things ?>
<style> .textbox .textbox--exercise{ display: none; } </style>https://developer.wordpress.org/reference/functions/is_user_logged_in/
- https://stackoverflow.com/questions/53422512/hide-element-with-specific-css-selector-in-wordpress/53422668
- https://wordpress.stackexchange.com/questions/107532/hide-a-div-that-is-part-of-all-pages-on-one-specific-page
Insertar códigos CSS y JavaScript en
o antes de .ContactForm 7 https://code.tutsplus.com/articles/optimizing-contact-form-7-for-better-performance--wp-31255