You can’t clone a Bitbucket repo using GithHub Desktop directly. Instead you would have to:
- Clone the Bitbucket repo locally via command line.
- Add the cloned repository to your GitHub Desktop app.
/*! = $rembase: 14px | |
-------------------------------------------------------------- | |
* hmtl { font-size: 87.5%; } | |
* body { font-size: 14px; font-size: 1rem; line-height: 1; } | |
* 4px 0.28571429rem | |
* 8px 0.571428571rem | |
* 12px 0.857142857rem | |
* 13px 0.928571429rem | |
* 14px 1rem | |
* 16px 1.142857143rem |
<?php | |
/** | |
* Snippet for deleting the customer IP address from WooCommerce orders. | |
* Important for Trusted Shops® certificates in Germany. | |
*/ | |
add_action( 'woocommerce_checkout_update_order_meta', 'mp1401091554', 1 ); | |
function mp1401091554( $order_id ) { | |
update_post_meta( | |
$order_id, | |
'_customer_ip_address', |
<?php | |
/** | |
* PLEASE SEE COMMENT BELOW: | |
* https://gist.github.com/glueckpress/0fcd12a8ada43e37e400facd987016a1#gistcomment-3009533 | |
*/ | |
defined( 'ABSPATH' ) or die(); | |
/** | |
* Plugin Name: WP Rocket | Remove Cache Options Meta Boxx | |
* Description: Removes the Cache Options meta box from Edit screens. | |
* Author: Caspar Hübinger |
You can’t clone a Bitbucket repo using GithHub Desktop directly. Instead you would have to:
<?php | |
/** | |
* Exclude categories from prev/next post links. | |
* | |
* $exclude (array) - category slugs to retrieve IDs from | |
* $excluded (array) - category IDs to be excluded | |
*/ | |
$exclude = array(); | |
$excluded = array(); |
<!-- Line-breaks suiting auto-p in WordPress: --> | |
Paragraph with a footnote<a id="a1" href="#f1"><sup>[1]</sup></a> and more text afterwards. | |
Another paragraph with another footnote<a id="a2" href="#f2"><sup>[2]</sup></a> and more text afterwards. | |
<!-- At the end of all paragraphs: --> | |
<footer class="footnotes"> | |
<a id="f1" href="#a1">[1]</a> Footnote #1 here. |
# Sample of .git/info/exclude | |
# Documentation: https://git-scm.com/docs/gitignore | |
# Exclude .gitignore file. | |
# If an initial .gitignore file has been added to the repo, | |
# you might have to delete it first and sync the change. | |
# Then create a new one which will be excluded according to this rule. | |
.gitignore | |
# Exclude all of WordPress, but keep these directories synced: |
<?php | |
defined( 'ABSPATH' ) or die( 'Poop.' ); | |
/** | |
* Plugin Name: _Sample Admin Notice | |
* Description: Displays a sample admin notice once for admins. (Requires PHP 5.3+.) | |
* Version: 0.1 | |
* Author: Caspar Hübinger | |
* Plugin URI: https://gist.github.com/glueckpress/6befeb937da89025d4d8#file-sample-admin-notice-php | |
* Author URI: https://profiles.wordpress.org/glueckpress | |
* License: GNU General Public License v3 |
<?php | |
/** | |
* WP Rocket: | |
* 1. Customise order of minification and defer operations. | |
* 2. Exclude file from defer JS only (still minified). | |
* | |
* Tested rudimentary with WP Rocket 2.11.7 and 3.0.x. | |
* Test before using this in production! | |
*/ | |
add_action( 'wp_rocket_loaded', function () { |