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
| #!/bin/bash | |
| WORDPRESS_URL="https://wordpress.org/latest.tar.gz" | |
| # GET ALL USER INPUT | |
| echo "Project folder name?" | |
| read PROJECT_FOLDER_NAME | |
| echo "Project Source Url (eg. /home/users/name/desktop/)?" | |
| read PROJECT_SOURCE_URL |
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
| /// Mixin rem-calc for converting px units into rem units | |
| /// @example scss - Usage | |
| /// .element { | |
| /// font-size: rem-calc(20); | |
| /// } | |
| /// | |
| /// @example css - CSS Output | |
| /// .element { | |
| /// font-size: 1.25rem; | |
| /// } |
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
| /** | |
| * | |
| * Gulpfile setup | |
| * | |
| * @since 1.0.0 | |
| * @authors Ahmad Awais, @digisavvy, @desaiuditd, @jb510, @dmassiani and @Maxlopez | |
| * @package neat | |
| * @forks _s & some-like-it-neat | |
| */ |
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
| var feed = new Instafeed({ | |
| get: 'user', | |
| userId: 636337139, | |
| accessToken: '262351.467ede5.176ab1984b1d47e6b8dea518109d7a5e', | |
| link: 'true', | |
| clientId: '80aeda87e8c44281b83ce6f542a30933', | |
| limit: '1', | |
| sortBy: 'most-recent', | |
| resolution: 'standard_resolution', | |
| links: 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
| <?php | |
| /** | |
| * Remove the h1 tag from the WordPress editor. | |
| * | |
| * @param array $settings The array of editor settings | |
| * @return array The modified edit settings | |
| */ | |
| function remove_h1_from_editor( $settings ) { | |
| $settings['block_formats'] = 'Paragraph=p;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre;'; | |
| return $settings; |
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
| # This is a sample build configuration for PHP. | |
| # Check our guides at https://confluence.atlassian.com/x/e8YWN for more examples. | |
| # Only use spaces to indent your .yml configuration. | |
| # ----- | |
| # You can specify a custom docker image from Docker Hub as your build environment. | |
| image: oneko/php-7.1-node-yarn | |
| pipelines: | |
| branches: | |
| master: |
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: Insert Products | |
| * Plugin URI: | |
| * Description: | |
| * Version: 1.04 | |
| * Author: Agus Prasetiyo | |
| * Author URI: | |
| * License: GPL2 | |
| * Created On: |
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
| /* START Make the WooCommerce Cart Table Responsive for Mobile */ | |
| /* CSS published in http://www.jeremycarter.com.au/optimising-woocommerce-checkout-for-mobile/ */ | |
| @media screen and (max-width: 600px) { | |
| /* Force table to not be like tables anymore */ | |
| .woocommerce-page table.shop_table, | |
| .woocommerce-page table.shop_table thead, | |
| .woocommerce-page table.shop_table tbody, | |
| .woocommerce-page table.shop_table th, |
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
| add_filter('fluentform_file_type_options', function ($types) { | |
| $types[] = [ | |
| 'label' => __('3d files - DWG, STL, STEP, STP, SKP, MAX, FBX, 3DS, IGES, OBJ', 'fluentform'), | |
| 'value' => 'dwg|stp|stl|STEP|skp|max|fbx|3ds|iges|obj', | |
| ]; | |
| return $types; | |
| }); | |
| add_filter('upload_mimes', function ($mime_types) { | |
| $mime_types ['dwg'] = 'image/vnd.dwg'; |
OlderNewer