Google Tag Manger – no-script Code Not Found
Google Tag Manger – no-script Code Not Found
Google Tag Manger – no-script Code Not Found
What about <?php if ( is_home() ) { ?><div id=”banner”>my content</div><?php } else { ?><div id=”banner”>not-home banner/div><?php } ?>
You can use the body class filter to add, edit, remove classes from the body class. Here’s what the function will look like: function edit_body_classes($classes) { // Add conditionals here… return $classes; } add_filter(‘body_class’, ‘edit_body_classes’); Looks like there’s plenty of Documentation in The Codex
Maybe you have a cache issue, from my end everything work fine, I have the padlock, and when I look to the source, it show https. Good luck !
You can check if is_singular page/post and then use global $post to get the post ID outside the loop. Also for the modified date you should use get_the_modified_date instead because you’re already echoing. <?php if(is_singular()): ?> <?php global $post; ?> <meta name=”date” content=”<?php echo get_the_date( ‘m-d-Y’, $post->ID ); ?>”> <meta name=”revised” content=”<?php echo get_the_modified_date( ‘m-d-Y’, … Read more
I’ve found your problem. You’ve inserted video from facebook on your page with facebook init script. Find the place where you insert this video and change uk_UA to en_US there.
You can create pages header and footer. In your header.php and footer.php, you just need to call the fields using the ID of the page you created. Check the documentation If you need to make that editing, available in the fron-end, you can use acf_form. Check the documentation
Look at the documentation for the_custom_logo(): Displays a custom logo, linked to home. So it’s doing what it’s supposed to. If you want to do anything other than that, you can get the ID of the logo image using get_theme_mod( ‘custom_logo’ ). Then you can do whatever you want to it, such as just outputting … Read more
Yes, you can hook determine_current_user. This is how WordPress calls the existing code that processes authentication cookies: add_filter( ‘determine_current_user’, ‘wp_validate_auth_cookie’ ); add_filter( ‘determine_current_user’, ‘wp_validate_logged_in_cookie’, 20 ); e.g. see the implementations of those in wp-includes/pluggable.php. Your filter should return the user ID of the user you want to authenticate as once you’ve processed the headers. That … Read more
The WCAG Guidelines state (emphasis mine): To facilitate navigation and understanding of overall document structure, authors should use headings that are properly nested (e.g., h1 followed by h2, h2 followed by h2 or h3, h3 followed by h3 or h4, etc.). This implies that the reason they should be in the right order is so … Read more