Here is the link help please:
https://www.gamerrazzi.com/2014/08/how-cronus-has-upped-my-game-with-update/
Also, how do I add <div> and other HTML to be included inside the code box, too?
]]>Hey!
I only use JSJ Code Highlight on web dev blog posts, so have no need for the plugin to load any other time…
I use:
wp_deregister_style( 'jsj_code_highlight_client_style' );
wp_deregister_style( 'jsj_code_highlight-monokai_sublime_theme' );
to deregister the sylesheets, as I have added everything I need to my master stylesheet, and have also added:
if ( !(is_single() && in_category( 'web-development' )) ) {
wp_dequeue_script( 'jsjCodeHighlight-Highlight' );
}
to my theme’s function.php, so that the JS only loads on the relevant pages.
I was wondering if it’s also possible to remove the extra body classes that get added, when the plugin is not in use. I currently have:
jsj_code_highlight jsj_code_highlight-monokai_sublime jsj_code_highlight-web_fonts jsj_code_highlight-no-include_additional_styles jsj_code_highlight-add_line_numbers jsj_code_highlight-no-tab_replacement
on every page.
Any help greatly appreciated!
Many thanks!
]]>Hey!
Just tried to use the ‘Automatically replace tabs in your code with spaces’ function, but on the front-end, I get the following output:
<ul class="feature-boxes">
1<li id="evenings-out" class="feature-box">
11<div class="feature-title">
111<h2>Evenings Out</h2>
11</div>
11<img src="/img/screen_assets/pleasure/evenings_out.jpg">
When I change the numerical value, I get the corresponding number appear in the output (so 1 becomes 2 or 3)…
Any help greatly appreciated!
]]>I installed this plugin today because I liked the styles it offered. However once in use, no matter which visual theme I choose, the line numbers aren’t styled and neither is the background of the snippet. Any ideas what could be wrong?
]]>I have some problem when using JSJ Code Highlight. My page display warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘JSJCodeHighlight’ does not have a method ‘footer_actions’ in /home/u713626669/public_html/wp-includes/plugin.php on line 429. So how can I fix it?
Thanks for advance.