…html compression php_flag zlib.output_compression on ############################################Next, to set gzip compression into action, we’ll add these lines into the .htaccess file:############################################ # Inserting filter on all content SetOutputFilter DEFLATE # Inserting filter only on selected content types AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript # Tackling some Netscape 4.x problems BrowserMatch…
…HTML Elements With Web Components7 Non-raster Approaches for Making the “Hamburger” Menu IconSetting Up User Authentication in Laravel Using ConfidePHP 5.6: What's NewHow to Give Your Logo the “Slip Scroll” EffectBuilding an Instagram Based Portfolio With BootstrapProgramming with Yii2: Getting Started7 CSS Units You Might Not Know AboutUseful Shortcuts for…
…HTML. In my case, I've done that using the following steps.2.1. Adding Header ChildTo load the header that we passed as a child at 1.6:<?php echo $header; ?> 2.2 Warning BlockWarning Block is a div section which will display user warnings if any:<?php if ($error_warning) { ?> <div class="warning"><?php echo…
…HTML page called index.html. It should contain the following code:<!DOCTYPE html> <html lang="en"> <head> <link rel="icon" href="http://getbootstrap.com/favicon.ico"> <title></title> <link href="http://getbootstrap.com/dist/css/bootstrap.min.css" rel="stylesheet"> <link href="http://getbootstrap.com/examples/justified-nav/justified-nav.css" rel="stylesheet"> </head> <body> <div class="container"> <div class="masthead"> <h3 class="text-muted">Data Visualization App</h3> <ul class="nav nav-justified"> <li class="active"><a href="#">Home</a> </li> <li><a href="#">Source Code</a> </li> <li><a href="#">About</a> </li> </ul> </div> <!--…
…As web developers, almost every client we work with expects their site to have a mobile version of his or her website. And with the increasing number of variations of screen sizes and resolutions, it will be impossible or at least impractical to come up with a website for every…
…html // Setup arguments. $args = array( // Get the "product" post type. 'post_type' => 'product', // Setup the "meta query". 'meta_query' => array( array( // Get the "price" custom field. 'key' => 'price', // Set the price values. 'value' => array( 100, 200 ), // Set the compare operator.…
…HTML5 geolocation, the Google Places API, calendar free/busy times and email APIs such as Mailgun.For example, a service can quickly learn your favorite places for meetings and suggest places that are mutually convenient to both parties. It can automate reminder emails and provide links in these emails for common tasks,…
…html */ 2. Registering Post Types and TaxonomiesIf your knowledge base makes use of custom post types, then you'll need to register those. You do this by adding the register_post_type() function to your theme's functions.php file. My knowledge base will just be using posts with custom taxonomies, so I need…
…HTML and then replace some attribute values with some PHP variables and expressions. The following is the HTML code to create the two fields:<p> <label for="title">Title</label> <input class="widefat" id="title" name="title" type="text" value="WIDGET TITLE" /> </p> <p> <label for="message">Simple Message</label> <textarea class="widefat" rows="16" cols="20" id="message" name="message">message...</textarea> </p>To move from this to…
…html file instead which will open in a user's browser. You can use CSS to brand your readme file and make it easier to read.If you want to release your theme to the public via the WordPress theme repository, you will be expected to provide a readme.txt file as a…