I hereby claim:
- I am m-e-h on github.
- I am marty (https://keybase.io/marty) on keybase.
- I have a public key whose fingerprint is 6CFA 69B1 E531 5D22 ED81 7670 60BC CAA2 9C94 BC3B
To claim this, I am signing this object:
| { | |
| "name": "abc", | |
| "version": "1.0.0", | |
| "description": "A starter theme for WordPress.", | |
| "main": "index.js", | |
| "scripts": { | |
| "build": "npm-run-all --parallel scss:compile js:build --sequential css:prefix css:minify", | |
| "dev": "npm-run-all --parallel css:watch js:watch", | |
| "scss:compile": "node-sass --output-style expanded resources/styles -o resources/dist/styles", | |
| "css:prefix": "postcss -u autoprefixer -r resources/dist/styles/*", |
| <?php | |
| add_filter( 'members_can_user_view_post', 'smcs_tax_content_permissions' ); | |
| function smcs_tax_content_permissions( $can_view, $user_id, $post_id ) { | |
| $terms = get_terms( array( | |
| 'taxonomy' => 'smcs_access', | |
| ) ); | |
| if ( ! empty( $terms ) ) { |
| <?php | |
| /** | |
| * Overwrite html class selectors. | |
| * | |
| * @package Abraham | |
| */ | |
| /** | |
| * Overwrite html class selectors. | |
| * |
| { | |
| "name": "_s", | |
| "version": "1.0.0", | |
| "scripts": { | |
| "scss": "node-sass --include-path scss sass/style.scss style.css --output-style=expanded --indent-type=tab --indent-width=1", | |
| "autoprefixer": "postcss style.css -u autoprefixer -o style.css --no-map", | |
| "stylelint": "stylelint 'style.css'", | |
| "stylefix": "stylelint 'style.css' --syntax scss --fix", | |
| "scsslint": "stylelint 'sass/**/*.scss'", | |
| "scssfix": "stylelint 'sass/**/*.scss'", |
| <?php | |
| /** | |
| * Better font loading. | |
| */ | |
| add_action( 'wp_enqueue_scripts', 'abe_font_scripts' ); | |
| add_action( 'wp_head', 'abe_display_font' ); | |
| /** | |
| * Enqueue scripts and styles. | |
| */ |
| /** | |
| * Flexible media embeds | |
| * | |
| * For use with media embeds – such as videos, slideshows, or even images – | |
| * that need to retain a specific aspect ratio but adapt to the width of their | |
| * containing element. | |
| * | |
| * Based on: http://alistapart.com/article/creating-intrinsic-ratios-for-video | |
| */ |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| /** | |
| * Add the `gv-grid` class to the list container | |
| */ | |
| function my_gv_list_container( $classes ) { | |
| return $classes . ' gv-grid'; | |
| } | |
| add_filter( 'gravityview/render/container/class', 'my_gv_list_container', 10, 1 ); | |
| /** |
| /** | |
| * Plugin Name: Multiple Roles per User | |
| * Description: Allows anyone who can edit users to set multiple roles per user. In a default WordPress environment that wouldn't have much of an effect, since the user would have the privileges of the top-privileged role that you assign to him. But if you have custom roles with custom privileges, this might be helpful. | |
| * Version: 1 | |
| * Author: nikolov.tmw | |
| * Author URI: http://paiyakdev.com/ | |
| * License: GPL2 | |
| */ | |
| /* | |
| Copyright 2013 Nikola Nikolov (email: [email protected]) |