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 | |
/** | |
* Custom class for WP_Membership routines. | |
* | |
* | |
* @package WP_Membership | |
* @since WP_Membership 0.1 | |
*/ | |
if(realpath(__FILE__) === realpath($_SERVER["SCRIPT_FILENAME"])) |
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
#quick-view { | |
display: flex; | |
height: 100%; | |
justify-content: flex-end; | |
flex-wrap: wrap; | |
position: relative; | |
-ms-overflow-style: -ms-autohiding-scrollbar; | |
.qv-product-images { | |
width: 60%; | |
height: auto; |
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
**/node_modules | |
**/node_modules/** | |
.DS_Store | |
config.codekit | |
*.log | |
.htaccess | |
# Ignore everything in the root except the "wp-content" directory. |
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
{ | |
"name": "knight_digital_starter", | |
"version": "1.0.0", | |
"author": "Knight Digital <[email protected]>", | |
"scripts": { | |
"autoprefixer": "postcss -u autoprefixer -r static/dist/css/*", | |
"scss": "node-sass --output-style compressed -o static/dist/css static/src/scss", | |
"lint": "eslint static/src/js", | |
"uglify": "mkdir -p static/dist/js && uglifyjs static/src/js/*.js -m -o static/dist/js/app.js && uglifyjs static/src/js/*.js -m -c -o static/dist/js/app.min.js", | |
"imagemin": "imagemin static/src/img static/dist/img -p", |
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_filter('gform_confirmation_anchor', '__return_false'); | |
?> |
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
# Install wordpress | |
wp core download && wp core config --dbname=wordpress_test_db --dbuser=root && wp core install --url=http://localhost/wp-cli/ --title=Wordpress --admin_user=admin --admin_password=admin [email protected] | |
# Install and activate Plugins | |
wp plugin install wordpress-importer --activate && wp plugin install contact-form-7 --activate | |
# Generate Posts | |
curl http://loripsum.wpwolf.com | wp post generate --post_content --count=10 | |
# Activate a theme |
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 | |
/* | |
* Plugin Name: AA Test Plugin | |
* Plugin URI: http://wordpress.org/extend/plugins/test | |
* Description: Testing all kinds of things! | |
* Author: Richard Archambault | |
* Version: 1.0 | |
* License: GPL2+ | |
*/ | |
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 (!class_exists('Tax_CTP_Filter')){ | |
/** | |
* Tax CTP Filter Class | |
* Simple class to add custom taxonomy dropdown to a custom post type admin edit list | |
* @author Ohad Raz <[email protected]> | |
* @version 0.1 | |
*/ | |
class Tax_CTP_Filter | |
{ |
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
/** | |
* Using display: table-cell to evenly determine widths. You can add an arbitrary number of <li> | |
*/ | |
ul { | |
padding: 0; | |
display: table; | |
width: 100%; | |
table-layout: fixed; |
NewerOlder