WordPress

How to Move Comment Textarea Bottom in WordPress

To move the Textarea field of comment form in WordPress, write the code in functions.php [php] function neon_move_comment_field_to_bottom( $fields ) { $comment_field = $fields[‘comment’]; unset( $fields[‘comment’] ); $fields[‘comment’] = $comment_field; return $fields; } add_filter( ‘comment_form_fields’, ‘neon_move_comment_field_to_bottom’ ); [/php]

How to Get Back Sublime Text 3 Menu

Sometimes we hide sublime text editor’s top menu. But there is no graphical option get back the menu. The task you have to do to get the menu is – Ctrl + Shift + P Then type– VM or vman you will see: View: Toggle Menu Select it and press enter. Finish!

How to call jQuery in WordPress Plugin

  define( ‘AITASI_URL’, plugin_dir_url( __FILE__ ) ); add_action( ‘wp_enqueue_scripts’, ‘aitasi_script_load’ ); if ( ! function_exists( ‘aitasi_script_load’ ) ) { function aitasi_script_load() { wp_enqueue_script( ‘backstretch-script’, AITASI_URL . ‘/js/jquery.backstretch.min.js’, array( ‘jquery’ ), ‘1.0’, true); } }

How to Fix – The plugin generated xxx characters of unexpected output during activation?

After activation plugin, it shows– The plugin generated 362 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin. Let’s see to find the error. 01. creates log file error_activation.txt in your plugin folder. 02. Add this code to …

How to Fix – The plugin generated xxx characters of unexpected output during activation? Read More »

CodeStar Typography Field Implementation

Too enqueue Google fonts ,write the code in your main functions.php – [php] if ( ! function_exists( ‘cs_wp_enqueue_scripts’ ) ) { function cs_wp_enqueue_scripts() { $enqueue_fonts = array(); $google_fonts = array(); $google_fonts[] = cs_get_option( ‘maintenance_main_typography_one’ ); $google_fonts[] = cs_get_option( ‘maintenance_main_typography_two’ ); if ( ! empty( $google_fonts ) ) { foreach ( $google_fonts as $font ) { …

CodeStar Typography Field Implementation Read More »