functions.php mistakenly deleted

To fix your site, you should get another functions.php. As such, you can get that from your most recent and operational backup and upload it unto the location of the mistakenly deleted one. In case you don’t have a backup, your last option will be to download a fresh copy of your theme; once that … Read more

I have some doubts regarding how to implement child theme

The first function should be there in your parent theme functions.php file. Parent Theme Code <?php if ( ! function_exists( ‘my_theme_enqueue_scripts’ ) ) { function my_theme_enqueue_scripts() { add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ ); function my_theme_enqueue_styles() { wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ ); } } ?> Child Theme Code Now place the following code in your child theme. … Read more

Any specific reason why images do not show on site?

It seems to me that the URL is wrong for the images (HREF). Most like you are modifing or adding content to the site directly from the server while accessing it from http://localhost/. Based on your screenshot, the error message you’re getting on the workstation refers to “localhost/wordpress/content/uploads….” where localhost is the server, BUT in … Read more

Using custom JS plugins with WordPress?

Welcome (I’m new myself, too). First and foremost, I highly recommend setting up a Child Theme for your Divi installation; that way any modifications you make won’t be overwritten when Elegant Themes do an update. That said, the best way at this is to use WordPress’ native en queuing system. In your functions.php file, add … Read more

Two (or more) looks, with one set of content

I’ve done something pretty simmilar once where I had 2 websites that shared most of their content and had differing color schemes. Here’s how I would approach this challenge Use Multisite and child themes in the following way: Website 1: This holds the content and acts as the main theme (e.g. Red). This is just … Read more