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
| /** | |
| * Conditional function to check if post belongs to term in a custom taxonomy. | |
| * | |
| * @param tax string Taxonomy to which the term belons | |
| * @param term int|string|array Attributes of shortcode | |
| * @param _post int Post id to be checked | |
| * @return BOOL True if term is matched, false otherwise | |
| */ | |
| function pa_in_taxonomy($tax, $term, $_post = NULL) { |
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
| <div id="pattern" class="pattern"> | |
| <form role="search" method="get" id="searchform" action="" method="post" class="f searchform"> | |
| <label class="is-vishidden">Search the site</label> | |
| <input type="search" placeholder="Search the site" name="s" id="s" /> | |
| <input type="submit" class="btn search-submit" id="searchsubmit" value="Search"> | |
| </form> | |
| </div> |
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
| <html> | |
| <title> </title> | |
| <head></head> | |
| <body> | |
| <header> | |
| <div class="main"></div> | |
| <div class="sidebar"></div> | |
| </header> | |
| </body> | |
| <footer></footer> |
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
| <h1>Fancy Form</h1> | |
| <form> | |
| <fieldset> | |
| <legend> Classic Inputs</legend> | |
| <p>First we'll start off with some classic textinput fields for single lines, passwords and multiline-text. These have been around for a long time and form a backbone for most webforms.</p> | |
| <p> | |
| <input type="text" id="textinput" /> | |
| <label for="textinput">Input (text)</label> | |
| </p> | |
| <p> |