Resolved

Help

Ultra Theme started by piotroq Mar 8, 2018 5 replies
Andrew Misplon Puro Mar 8, 2018 · 10:50 pm #8984

Hi piotroq

If you haven’t edited any theme files other than the header then you can switch to any other theme, delete Ultra and reinstall it.

Alternatively: https://themes.svn.wordpress.org/ultra/.

All theme files are overwritten in the theme update process so it’s best to customise from a child theme.

piotroq Mar 8, 2018 · 10:59 pm #8985

Thank You Andrew. You Are The Best! 🙂 I repair it.

Best regards

Andrew Misplon Puro Mar 8, 2018 · 11:03 pm #8987

Awesome 🙂

What were you trying to add with Headers and Footers? Have you sorted that out?

piotroq Mar 8, 2018 · 11:10 pm #8988

I added manually to header.php from the server, script pop-up and push ad notification. Everything works.

Thank you very much.

Andrew Misplon Puro Mar 8, 2018 · 11:17 pm #8989

The challenge with editing the header is that if you aren’t using a child theme and you update Ultra you’ll lose all your edits. Consider using Code Snippets plugin rather. Add a new snippet, opt to run the snippet on front end only and add a function like:

function ultra_child_scripts() { ?>
	<script>
	</script>
<?php }
add_action( 'wp_head', 'ultra_child_scripts' );

I haven’t tested that and you’d need to insert your script but you get the idea. You can write a function and hook into the wp_head action hook.

Code Snippets

6 posts