Show Header When Not In Iframe

I solved this by adding the header php code, and the setting it with display none as below: #main-header { display:none; } Then using JQuery I added the following: <script> if(self==window.top) { $( “header#main-header” ).css( “display”, “inherit” ); $( “div#mce_height” ).css( “margin-top”, “100px” ); } </script> This detects if it is in an iframe, and … Read more

My footer has disappeared but only on my home page

So what ended up happenign was I was working with an older hand made theme and the main wordpress hadn’t been updated in a while. After updating the <php the_excerpt_reloaded(35, ‘<p><b><i><u><em><strong><blockquote><a><ol><ul><li>’, ‘content’, TRUE, 0); ?> they had in the index.php file was obsolutelt as Pieter Goosen stated. I then had to find out how I … Read more

Make a widget to my footer

Your theme appears to be loading its “footer” via code hooked into the wp_footer action, since there is no other obvious code that would do it. Of course, this is based on the limited code you have posted. This means that you should be able to remove and replace the footer code used by the … Read more

Links in footer section

I have improved your code to a new version as i have found that you have used text “AGB” out of anchor tag Updated Code $html=””; $html .= ‘<div class=”zerif-copyright-box”>’; $html .= ‘<a class=”zerif-copyright” href=”http://themeisle.com/themes/zerif-lite/”‘.$attribut_new_tab.’ rel=”nofollow”>’.__(‘AGB’,’zerif-lite’).'</a>’; $html .= ‘<a class=”zerif-copyright” href=”” “‘.$attribut_new_tab.’ rel=”nofollow”> Impressum</a>’; $html .= ‘</div>’; $html .= ‘</div>’; echo $html; Hope this helps!

Add files to wordpress admin panel footer

You can use $pagenow global variable for this, which would obviously return widgets.php when in widgets dash. If you want to enqueue CSS/JS by paths: add_action( “admin_enqueue_scripts”, “wpse_250923_enqueue_scripts” ); function wpse_250923_enqueue_scripts() { global $pagenow; // check for widgets if ( “widgets.php” !== $pagenow ) return; // nothing to do here // enqueue CSS wp_enqueue_style( “my-css-handle”, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)