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

generate a static copy of the website footer html

I managed to do it like this: define(‘WP_USE_THEMES’, true); require( ‘../wp-load.php’ ); // Register all scripts and styles do_action(‘wp_enqueue_scripts’); // Execute footer hooks do_action(‘get_footer’); // output the js wp_print_footer_scripts(); wp_footer(); It also outputted the enqueued CSS files, so I tweaked it by making a helper function function dequeue_scripts_or_styles($slug) { wp_dequeue_style( $slug ); wp_deregister_style( $slug ); … Read more