This is an anchor-linked version of the excellent, amazing original opus magnum by Michael Tandy.
Counterexample: Royal Opera House, Covent Garden, London, WC2E 9DD, United Kingdom.
Counterexample: 1A Egmont Road, Middlesbrough, TS4 2HT
| <?php | |
| namespace storyteller; | |
| /** | |
| * This is a class designed to be used in WordPress Plugins and Themes where for | |
| * whatever reason, the designer wishes to track a huge ammount of per-user data | |
| * and keep it well ordered and accessable. | |
| * | |
| * I am posting this in an incomplete state; in the hope that further developers | |
| * might have ideas that will finish the project for the good of the community. |
| <?php | |
| /* | |
| * Problem | |
| * ------- | |
| * | |
| * I needed a set of undefined size of card layouts on a 5x5 grid that were | |
| * rotationally unique from each other. This data had to be as CSV lines in a | |
| * file. | |
| * |
| $wp_customize->add_setting( 'themecheck_checkbox_setting_id', array( | |
| 'capability' => 'edit_theme_options', | |
| 'sanitize_callback' => 'themeslug_sanitize_checkbox', | |
| ) ); | |
| $wp_customize->add_control( 'themeslug_checkbox_setting_id', array( | |
| 'type' => 'checkbox', | |
| 'section' => 'custom_section', // Add a default or your own section | |
| 'label' => __( 'Custom Checkbox' ), | |
| 'description' => __( 'This is a custom checkbox input.' ), |
| <?php | |
| interface ISingleton { | |
| public static function getInstance(): ISingleton; | |
| } | |
| abstract class Singleton implements ISingleton { | |
| private static $_instances = []; | |
| final private function __construct () {} |
This is an anchor-linked version of the excellent, amazing original opus magnum by Michael Tandy.
Counterexample: Royal Opera House, Covent Garden, London, WC2E 9DD, United Kingdom.
Counterexample: 1A Egmont Road, Middlesbrough, TS4 2HT
This is an anchor-linked version of the excellent, amazing original opus magnum by Michael Tandy.
Counterexample: Royal Opera House, Covent Garden, London, WC2E 9DD, United Kingdom.
Counterexample: 1A Egmont Road, Middlesbrough, TS4 2HT
| <?php | |
| /** | |
| * Plugin Name: BP Add Page | |
| * Plugin URI: https://webdevstudios.com | |
| * Description: Example on adding a page to BuddyPress profiles | |
| * Author: WebDevStudios | |
| * Author URI: https://webdevstudios.com | |
| * Version: 1.0.0 | |
| * License: GPLv2 | |
| */ |
| <?php | |
| /** | |
| * -------------------------------------------------------------- | |
| * Contact Form To Email Demo | |
| * Copyright (C) 2015 Lord Matt <lordmatt.co.uk> | |
| * | |
| * This program is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU General Public License | |
| * as published by the Free Software Foundation; either version 2 | |
| * of the License, or (at your option) any later version. |
| // Add to your theme's comments.php | |
| <?php | |
| $comment_args = array( | |
| 'class_submit' => 'btn btn-default submit', | |
| 'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) . '</label> <textarea id="comment" name="comment" class="form-control" cols="45" rows="8" aria-required="true" required="required"></textarea></p>', | |
| 'fields' => array( | |
| 'author' => '<p class="comment-form-author">' . '<label for="author">' . __( 'Name' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' . | |
| '<input id="author" name="author" class="form-control" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . $html_req . ' /></p>', | |
| 'email' => '<p class="comment-form-email"><label for="email">' . __( 'Email' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' . | |
| '<input id="email" name="email" class="form-control" ' . ( $html5 ? 'type="email"' : 'type="text"' ) . ' value="' . esc_attr( $commenter['comment_auth |
| """This module contains all of the necessary PyGame components for | |
| running a simplified game loop. | |
| Use it for test cases on PyGame-related code. | |
| """ | |
| import sys | |
| import pygame | |
| from pygame.locals import * | |
| # Import additional modules here. |