Hi @bigfish512,
Sorry for the inconvenience caused to you.
Spectra plugin is block based page builder and is created on the base of the Gutenberg which is WordPress default editor. However, if you want to load Spectra assets, you can try the solution mentioned here: https://wpspectra.com/docs/assets-api-third-party-plugins/
Have a nice day!
hi,
i put the code to enqueue Spectra assets in functions.php of my Spectra One child theme but the block element still has no style.
add_action('wp_enqueue_scripts', 'enqueue_scripts_by_post_id');
function enqueue_scripts_by_post_id() {
// Create Instance. Pass the Post ID.
$post_assets_instance = new UAGB_Post_Assets(2);
// Enqueue the Assets.
$post_assets_instance->enqueue_scripts();
}
did i do something wrong? please have a look at the page here
Hi @bigfish512,
Sorry for the inconvenience caused to you.
I request you open a support ticket from here:https://wpspectra.com/support/ so that our support dev can check your site configuration and assist you.
Have a nice day!