Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
| <?php | |
| /** | |
| * Supply a user id and an access token | |
| * Jelled explains how to obtain a user id and access token in the link provided | |
| * @link http://jelled.com/instagram/access-token | |
| */ | |
| $userid = ""; | |
| $accessToken = ""; | |
| // Get our data | |
| function fetchData($url){ |
| <?php | |
| // Code goes in theme functions.php or a custom plugin | |
| add_filter( 'pre_option_woocommerce_enable_guest_checkout', 'conditional_guest_checkout_based_on_product' ); | |
| function conditional_guest_checkout_based_on_product( $value ) { | |
| $restrict_ids = array( 1, 2, 3 ); // Replace with product ids which cannot use guest checkout | |
| if ( WC()->cart ) { | |
| $cart = WC()->cart->get_cart(); |
| .price_slider{ | |
| margin-bottom: 1em; | |
| } | |
| .price_slider_amount { | |
| text-align: right; | |
| line-height: 2.4em; | |
| font-size: 0.8751em; | |
| } |
| 2 - Autos & Vehicles | |
| 1 - Film & Animation | |
| 10 - Music | |
| 15 - Pets & Animals | |
| 17 - Sports | |
| 18 - Short Movies | |
| 19 - Travel & Events | |
| 20 - Gaming | |
| 21 - Videoblogging | |
| 22 - People & Blogs |
| .woocommerce-pagination{ | |
| margin-top: 1em; | |
| } | |
| .woocommerce-pagination .page-numbers .current, .woocommerce-pagination .page-numbers li a:hover { | |
| padding: 3px 7px !important; | |
| background: #DDD !important; | |
| border: 1px solid #BBB !important; | |
| -webkit-border-radius: 2px; | |
| -moz-border-radius: 2px; |
| .navbar | |
| .caret | |
| .label | |
| .table | |
| .img-responsive | |
| .img-rounded | |
| .img-thumbnail | |
| .img-circle | |
| .sr-only | |
| .lead |
| input[type=file] { | |
| position: relative; | |
| -webkit-appearance: textfield; | |
| -webkit-box-sizing: border-box; | |
| } | |
| input[type=file]::-webkit-file-upload-button { | |
| border: none; | |
| margin: 0; | |
| padding: 0; |
| /* | |
| * Scaffolding | |
| * Basic and global styles for generating a grid system, structural layout, and page templates | |
| * ------------------------------------------------------------------------------------------- */ | |
| .container | |
| Sets a width of 940px which also centres the content (clears floated elements before/after) | |
| .container-fluid | |
| Sets a minimum width of 940px (clears floated elements before/after) |