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 »

Code Snippets in PhpStorm

Go to Settings and start typing Live Template. On the right panel click on the + sign. Write your Abbreviation, Description, and Template Text. For instance, The Abbreviation is the Scom*, Description is Section Comment and Template Text is – /*—————————————————————- 01.$s$ —————————————————————–*/ $s$ is to set the cursor point and it’s done. Now write your …

Code Snippets in PhpStorm Read More »

VC Element Customization

Write the code in functins.php To add and remove param of VC Elements – [php] /*—————————————————————- VC Elements Customization —————————————————————–*/ // After VC Init add_action( ‘vc_after_init’, ‘vc_after_init_actions’ ); function vc_after_init_actions() { //*******************// // VC TEXT REMAPPING // //*******************// // Remove Params if ( function_exists( ‘vc_remove_param’ ) ) { vc_remove_param( ‘vc_row’, ‘el_class’ ); } // Add …

VC Element Customization Read More »

How to fix “There are no HTTP transports available” on Uniserver?

I was facing a terrible problem to install any plugin or theme in my WordPress localhost web server. When I clicked to install a plugin it was showing “There are no HTTP transports available….”. I am using Uniformserver as the localhost server. Let’s see how we fix the issue – Go to  folder → UniServerZ → core …

How to fix “There are no HTTP transports available” on Uniserver? Read More »