nht2007
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
This plugin not support AMP.
You can write (if amp endpoint) override yourchannel shortcode.Yes, but I don’t receiver any message from you
Forum: Plugins
In reply to: [Beaver Builder Page Builder - Drag and Drop Website Builder] TinyMCE button@hinampaksh wow, It’s worked.
Awesome, thank you so so muchForum: Plugins
In reply to: [Beaver Builder Page Builder - Drag and Drop Website Builder] TinyMCE buttonHey @ben Carlo
My shortcode:
// Lazy Shortcode function lazyimage_shortcode( $atts ) { // Attributes $atts = shortcode_atts( array( 'tieude' => '', 'url' => '' ), $atts, 'lazyimage' ); return '<img class="lazy loading" data-src="'.esc_html__($atts['url']).'" alt="'.esc_html__($atts['tieude']).'" title="'.esc_html__($atts['tieude']).'">'; } add_shortcode( 'lazyimage', 'lazyimage_shortcode' ); // Add TinyMCE button and plugin filters function lazyimage_tinymce_button() { if ( current_user_can( 'edit_posts' ) && current_user_can( 'edit_pages' ) ) { add_filter( 'mce_buttons', 'lazyimage_register_tinymce_button' ); add_filter( 'mce_external_plugins', 'lazyimage_tinymce_button_script' ); } } add_action( 'init', 'lazyimage_tinymce_button' );- This reply was modified 9 years, 1 month ago by nht2007.
Viewing 4 replies - 1 through 4 (of 4 total)