ninetienne
Forum Replies Created
-
Forum: Plugins
In reply to: [Gridable - The Missing Grid Content Editor] FiltersThis is great. You’re awesome. I’ll give it a shot, when I have some free time and post back. Thank you very much!
Oh, thank you very much. I do understand the reason behind this and would like to thank you to provide an option to disable it.
Forum: Plugins
In reply to: [Gridable - The Missing Grid Content Editor] FiltersSounds great!
Thanks a lot ??
Forum: Plugins
In reply to: [Gridable - The Missing Grid Content Editor] FiltersSounds great, but the
body_class
filter doesn’t pass a parameter and we need the integer of the column size, otherwise we won’t be able to changegridable--col hand-span-3
to simplycol-3
.Well, I’m not a good coder anyway ??
Forum: Plugins
In reply to: [Gridable - The Missing Grid Content Editor] FiltersThanks for the update! I managed to dequeue the standard Gridable stylesheet and change the row class.
However, changing the column class seems a little bit more complicated.
I would like to change
gridable--col hand-span-3
to simplycol-md-3
.I tried the
gridable_sh_col_classes
filter, but the available$size
seems to contain not the integer, but an array.So this won’t work:
add_filter( 'gridable_sh_col_classes', 'custom_gridable_classes' ); function custom_gridable_classes( $size ) { $classes = array( 'col-md-', $size ); return $classes; }
Instead this will work:
add_filter( 'gridable_sh_col_classes', 'custom_gridable_classes' ); function custom_gridable_classes( $sizes ) { // Implode array. $size = implode( '', $sizes ); // Remove all non-numeric characters, so that we get the size of the column as integer. $size = preg_replace( '/[^0-9]/', '', $size ); // Save the only class as array. $classes = array( 'col-md-' . $size ); // Return the array. return $classes; }
Looks dirty ??
I wish we could change the class names of columns with a simple string (or an array, like in my first example).
Thanks anyway!
- This reply was modified 8 years, 1 month ago by ninetienne.
- This reply was modified 8 years, 1 month ago by ninetienne.
Forum: Plugins
In reply to: [Post Views Counter] Filter for default settingsI’ve just tested it, and it’s working fine. Thanks a lot!
Forum: Plugins
In reply to: [Post Views Counter] Filter for default settingsThank you so much!
Forum: Plugins
In reply to: [Post Views Counter] Filter for default settingsSeems like a solution.
Could you please provide some more details, how to update the post_views_counter_settings_display option? It’s a serialized array, and I’m afraid to mess it up.
Thanks a lot!
Forum: Plugins
In reply to: [WP Instagram Widget] Instagram did not return a 200 after 4.6 WP updateSame issue here ??
OK, agreed ??
I think it’s safe to allow shortcodes from admin users only.
Thanks, anyway.
Hi Julien,
I’ve installed WP Code Highlight.js plugin and it’s working fine when inserting a [code] shortcode in the ticket body (first message), however Awesome Support seems to strip out the shortcodes from the tickets messages (answers), so we're no longer able to use [code]. However pre and code html tags are working fine.
I would still prefer Awesome Support not to strip out the shortcodes.
Is it possible?
OK, I got it.
You have to edit and save in Text (not Visual) tab of the WYSIWYG.
Forum: Plugins
In reply to: [Awesome Support - WordPress HelpDesk & Support Plugin] Hide dashboard@julien, done!
Forum: Plugins
In reply to: [Awesome Support - WordPress HelpDesk & Support Plugin] Hide dashboardMany thanks, Julien!
Awesome Support indeed ??