freakyleaf
Forum Replies Created
-
Forum: Plugins
In reply to: [JSJ Code Highlight] Remove added body classes when plugin not in useHey Jorge!
Thanks for the reply! I tried your code:
function remove_jsj_code_highlight_body_class($class_array) { $new_class_array = array(); foreach($class_array as $key => $class) { if(!strpos($class, 'jsj_code_highlight')){ array_push($new_class_array, $class); } } return $new_class_array; } add_filter('body_class', 'remove_jsj_code_highlight_body_class');but I’m still getting the body classes showing up… Nothing untoward is happening (such as fatal errors or anything showing up in debug mode), but it’s as if the code wasn’t there at all!
Any help much appreciated!
To answer your question, I just like my HTML clean! 🙂
Forum: Plugins
In reply to: [JSJ Code Highlight] Tab to spaces literally inserting numbersYeah tabs are fine! settings are as follows:
- Theme is set as Monakai Sublime, although I’ve de-registered all plugin CSS files, and copied what I needed to my theme’s CSS file.
- I’m using ‘web fonts (no external fonts)’
- Have un-ticked ‘Include additional CSS styles developed for this plugin.’
- Tab replacement is currently off
I’ve tried checking ‘tab replacement’ numerous times, and have entered many different numbers, all producing the same result. I’ve used CSS, PHP, and Perl, and again, each produce the same result.
I’ve also used the plugin on two sites – one local and one live. The local one I disabled all other plugins, and switched the theme to Twenty Thirteen, as opposed to my custom-built one, but to no avail!
Forum: Plugins
In reply to: [JSJ Code Highlight] Not Coloring Line Numbers and BackgroundThanks for getting back…
For the short-term, I’ve disabled W3 Total Cache JS minification, and everything works great… I’ll look into a better solution if I get the time…
Many thanks! 🙂
Forum: Plugins
In reply to: [JSJ Code Highlight] Not Coloring Line Numbers and BackgroundHey Jorge!
I’ve deleted line 97, and the body classes are showing up just fine, but my code still isn’t styled… You can see what’s happening over at:
http://freakyleaf.co.uk/css-pseudo-elements-on-images/
The code should be displayed towards the bottom of the page under ‘The HTML:’ and ‘The CSS:’…
Any idea what the problem could be?
Many thanks! 🙂
Forum: Plugins
In reply to: [JSJ Code Highlight] JSJ Code Highlight error?I’ve just installed and am having exactly the same problem… Any news?
Forum: Plugins
In reply to: [P3 (Plugin Performance Profiler)] PHP and JS Errors in PluginSorry – link to screenshot is http://postimg.org/image/i9i4of1a7/
WP included the braket in the URL.
Thank you! 🙂
@Isterling03 I’m not sure to be honest! The link functionality is pretty much hard-baked into the code as far as I can see so it should just work! Which images are not link for you – the thumbnails or the main image?