Keep in mind that this implementation requires an api for fetching data, and assumes the following response schema:
{
"perPageOptions": [
15, 50, 100
],
"actions": [
"Delete all", "Publish All", "Unpublish All"
],
Keep in mind that this implementation requires an api for fetching data, and assumes the following response schema:
{
"perPageOptions": [
15, 50, 100
],
"actions": [
"Delete all", "Publish All", "Unpublish All"
],
app/ | |
|- app.module.ts | |
|- app-routing.module.ts | |
|- core/ | |
|- auth/ | |
|- auth.module.ts (optional since Angular 6) | |
|- auth.service.ts | |
|- index.ts | |
|- othermoduleofglobalservice/ | |
|- ui/ |
<?php | |
/** | |
* Gravity Wiz // Gravity Forms // Automatic Save & Continue | |
* | |
* Automatically save | |
* load previously saved data (via Gravity Forms' Save & Continue functionality) when a logged-in user views a form. | |
* | |
* @version 0.4 | |
* @author David Smith <david@gravitywiz.com> | |
* @license GPL-2.0+ |
window.console.loge = function (msg) { | |
var gifs = ['wink','shake-space','peepers','prizza','hat','gradient','fat','rainbow','sunglasses','derp','shake'], | |
wow = ['', 'wow! ', 'amaze! ', 'dazzle! '], | |
adjs = ['so', 'such', 'many', 'much', 'very'], | |
randomizr = function (a) { return a[Math.floor(Math.random() * a.length)];}, | |
message = '%c ' + randomizr(wow) + randomizr(adjs) + ' ' + typeof msg + ': ', | |
css = 'background: url(http://d1e3ezyatlol8u.cloudfront.net/img/212/doge-' + randomizr(gifs) + '-212.gif) no-repeat 0 0; background-size: 80px 80px; font-family: \'Comic Sans MS\', cursive; text-shadow: 0 1px 1px rgba(0,0,0,1); font-size: 14px; padding: 25px; line-height: 70px; color: #fff; font-weight: 100;'; | |
console.log.apply(console, typeof msg === 'object' ? [message, css, msg] : [message += msg, css]); | |
}; |
/////////////////////////////////////////////// | |
////// GRAVITY FORMS RESET STYLES ////// | |
/////////////////////////////////////////////// | |
// These styles are made in mind to be used with SCSS or LESS | |
// If you use these styles, you must go to the Gravity Forms settings in the WordPress back end and set Output CSS to No. | |
////----- Core Containers | |
.gform_heading, | |
.gform_body, |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
<?php | |
/** | |
* Standard Tab Code from woocommerce-hooks.php | |
*/ | |
/* Product page tabs */ | |
add_action( 'woocommerce_product_tabs', 'woocommerce_product_description_tab', 10 ); | |
add_action( 'woocommerce_product_tabs', 'woocommerce_product_attributes_tab', 20 ); | |
add_action( 'woocommerce_product_tabs', 'woocommerce_product_reviews_tab', 30 ); | |
add_action( 'woocommerce_product_tab_panels', 'woocommerce_product_description_panel', 10 ); |