This tutorial provides shows how to implement a temporary workaround for making Bloom, the email opt-in plugin by Elegant Themes work in Oxygen.

Warning: This method involves editing a file inside the Bloom plugin. Obviously this is not a recommended practice and will need to be done each time Bloom gets updated.

With Oxygen active, when Bloom is activated you will be greeted with something like:

Empty needle in /Users/sridharkatakam/Local Sites/oxygen/app/public/wp-content/plugins/bloom/core/functions.php on line 647

Step 1

Edit /wp-content/plugins/bloom/core/functions.php.

Change

if ( 0 === strpos( $core_path, $theme_dir ) ) {
    $url = get_template_directory_uri() . '/core/';
} else {
    $url = plugin_dir_url( __FILE__ );
}

to

$url = plugin_dir_url( __FILE__ );

Save and close the file. That’s it.

Details

The following in /wp-content/plugins/oxygen/component-framework/component-init.php are the main points of interest:

add_filter("template_directory", "ct_disable_theme_load", 1, 1);

and

add_filter("template", "ct_oxygen_template_name");

Need help implementing a tutorial in your site or want to hire me for custom work?

HIRE ME

Find the article helpful and wish to donate?

DONATE

Comments

For adding code blocks wrap the code in three backticks. Markdown should work.
Provide a URL of your site/webpage if something is not working.
magnifiercross
>
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: