Go to Settings->Highlight and Share in the Dashboard and you’ll find the Advanced settings where you can enter a JS class.
In your case, add: blgbox
Thanks for replying so fast Ronald, but this isn’t working unfortunately http://prntscr.com/l2ppcj 🙁 i’ve also tried to add class midlebox, but still not appearing..
-
This reply was modified 7 years, 8 months ago by
milendch.
It looks like the JavaScript isn’t running. Can you check your footer.php file for this?: https://codex.ww.wp.xz.cn/Function_Reference/wp_footer
Oh thank you so much. It was because of that!
Amazing support and plugin. Will certainly leave you 5* 🙂
Hey Ronald. I am having some troubles with the plugin again. For some reason it stopped working a few days ago without changing anything.
Example URL -> http://modatadev.wpengine.com/7-ideas-to-improve-the-efficency-of-weekly-sales-management/
-
This reply was modified 7 years, 6 months ago by
milendch.
@milendch,
Can you add this to an mu-plugin or similar?
<?php
/* Add JS IDs */
add_filter( 'has_js_ids', 'has_override_js_ids' );
function has_override_js_ids( $content = array() ) {
if ( !is_array( $content ) ) $content = array();
$new_arr = array( 'blog-metadata' );
$content = array_merge( $content, $new_arr );
return $content;
}
Hey. I have added that on mu-plugin.php, but nothing changed..
Do you have a wp-content/mu-plugins/ directory that you placed that file into?
Okay, that looks correct. Can you try clearing your WP Engine cache?
Yes, i have just done that, but it’s still not working 🙁
Can you try removing this line from your theme? It’s causing a JS error and may be preventing HAS from loading.
$(document).ready(function(){
$('[data-toggle="tooltip"]').tooltip();
});
Yes it is working now. Thank you so much again for the support. You are great!
You may want to adjust your APP ID in the settings as it doesn’t work with Faceboook sharing yet.
Thanks for the heads up. I will check that.