<form class="reduce-form">
<fieldset>
<input type="text" name="firstname" placeholder="Enter first name" /><br/>
<input type="text" name="lastname" placeholder="Enter last name"><br/>
<input type="email" name="email" placeholder="Enter e-mail" /><br/>
<button type="submit">Submit</button>
</fieldset>
</form>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if ( ! function_exists( 'hippo_plugin_hook_info' ) ): | |
| function hippo_plugin_hook_info( $hook_name ) { | |
| global $wp_filter; | |
| $docs = array(); | |
| $template = "\t - %s Priority - %s.\n\tin file %s #%s\n\n"; | |
| echo '<pre>'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| add_theme_support( 'starter-content', array( | |
| // Content Section for Widgets | |
| 'widgets' => array( | |
| // Sidebar | |
| 'sidebar-1' => array( | |
| // Widget ID | |
| 'my_text' => array( | |
| // Widget $id -> set when creating a Widget Class |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if ( ! function_exists( 'your_theme_prefix_upb_grid_system' ) ){ | |
| function your_theme_prefix_upb_grid_system( $grid ) { | |
| $grid[ 'name' ] = esc_html__( 'Starter Grid', 'your_theme_textdomain' ); | |
| $grid[ 'allGridClass' ] = 'column'; | |
| $grid[ 'prefixClass' ] = 'col'; // twb col-md-6 | |
| $grid[ 'groupClass' ] = 'row'; // twb row |
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com, example2.com, and example1.com/images on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $args = array( | |
| 'posts_per_page' => -1, // List All page | |
| 'post_type' => 'page', | |
| 'meta_query' => array( | |
| array( | |
| 'key' => '_wp_page_template', | |
| 'value' => 'page-template.php', // Your page template name, If you have page template in a directory like: page-templates, then you should specify it like: page-template/page-template.php :) | |
| 'compare' => '=' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Upload vps-setup.sh file | |
| # open terminal and change permission like: chmod +x ./vps-setup.sh | |
| # ./vps-setup.sh | |
| # delete this file after setup :) | |
| COLOR_RESET="\033[33;0m" | |
| COLOR_RED="\033[33;31m" | |
| COLOR_GREEN="\033[33;32m" |