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 | |
/** | |
* Template Name: Full Width | |
* | |
* Gets all posts that are missing default meta value, and gives them a default meta value. | |
* Add this file to your theme then add a page with this template. | |
* | |
* IMPORTANT: | |
* Visit that page and keep refreshing until you see no more posts left. | |
* Each page load adds the new post meta, so the loop count drops by the posts_per_page count each time. |
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
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
root /your/root/path; | |
index index.html; | |
server_name you.server.com; |
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
/** | |
* A function that converts a number to another based on a weighted conversion function. | |
* @function applyConversion | |
* @param {number} responseCode | |
* @return {number} responseMessage | |
*/ | |
/** | |
* Creates a function that applies the weighted conversion between two ranges. | |
* @param { number } oldMin The old range minimum value |
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
<form method="POST" action="https://api.pizza.com"> | |
<label for="name">Name</label> | |
<input id="name" name="name" /> | |
<label for="email">Email</label> | |
<input id="email" name="email" type="email" /> | |
<fieldset> | |
<legend>Pizza toppings</legend> | |
<input id="cheese" name="toppings" value="cheese" type="checkbox" /> |
OlderNewer