-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the books4languages-book-child-theme-for-pressbooks wiki!
// https://dashboard.popupsmart.com/dashboard if(strpos($_SERVER['REQUEST_URI'], 'english') !== false && !is_user_logged_in() && is_single('chapter')) :
//
else:
// either in about us, or contact, or management page is in view
?> <script type="text/javascript" src="https://apiv2.popupsmart.com/api/Bundle/354620" async></script>
<?php endif; ?>
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
icon with text with url
IMAGE INSTEAD OF DIV https://stackoverflow.com/questions/10829675/how-to-put-an-image-in-div-with-css