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
<script type = 'application/ld+json' class = 'yoast-schema-graph yoast-schema-graph--main'> { | |
"@context": "https://schema.org", | |
"@graph": [{ | |
"@type": "Organization", | |
"@id": "https://yoast.com/#organization", | |
"name": "Yoast", | |
"url": "https://yoast.com/", | |
"sameAs": ["https://www.facebook.com/yoast", "https://www.instagram.com/yoast/", "https://www.linkedin.com/company/1414157/", "https://www.youtube.com/yoast", "https://www.pinterest.com/yoast/", "https://en.wikipedia.org/wiki/Yoast", "https://twitter.com/yoast"], | |
"logo": { | |
"@type": "ImageObject", |
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
/** | |
* Optimize WooCommerce Scripts | |
* Remove WooCommerce Generator tag, styles, and scripts from non WooCommerce pages. | |
*/ | |
add_action( 'wp_enqueue_scripts', 'child_manage_woocommerce_styles', 99 ); | |
function child_manage_woocommerce_styles() { | |
//remove generator meta tag | |
remove_action( 'wp_head', array( $GLOBALS['woocommerce'], 'generator' ) ); |
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 | |
// Lets say , we want to send a direction request with guidance to Google Maps API using link below. | |
// https://maps.googleapis.com/maps/api/directions/json?origin=-6.190109,%20106.798565&destination=-6.177596,%20106.792611&key=USEYOUR_KEY | |
// some of request, especially in field html-instruction would return unicode html text like this one ('Head \u003cb\u003ewest\u003c/b\u003e'). | |
// for some reason, I just want to use the text provided there ('Head west'). | |
// after some googling and asking, here is the best code I have (right now) | |
# example response | |
//Type A : There are 2 sentence in one single direction response |
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
Customer properties | |
accepts_marketing | |
"accepts_marketing": false | |
Whether the customer has consented to receive marketing material via email. | |
accepts_marketing_updated_at | |
"accepts_marketing_updated_at": "2013-06-27T08:48:27-04:00" | |
The date and time (ISO 8601 format) when the customer consented or objected to receiving marketing material by email. Set this value whenever the customer consents or objects to marketing materials. | |
addresses |
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
#For NGinx | |
include redirect-map.conf; | |
server { | |
[…] | |
if ($redirect_uri) { | |
return 301 $redirect_uri; | |
} | |
} | |
#NGinx redirect-map.conf |
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
rewrite ^(/.*)\.html(\?.*)?$ $1$2 permanent; | |
rewrite ^/(.*)/$ /$1 permanent; | |
try_files $uri/index.html $uri.html $uri/ $uri =404; |
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
analytics.js (Universal Analytics) (new) | |
<!-- Google Analytics --> | |
<script> | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
ga('create', 'UA-XXXX-Y', 'auto'); // Replace with your property ID. | |
ga('send', 'pageview'); |
This file has been truncated, but you can view the full file.
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 _yt_player={};(function(g){var window=this;var h,p,q,r,ca,da,ea,fa,v,ga,ha,ia,ka,na,oa,pa,w,qa,ra,y,sa,va,wa,A,xa,ya,Ga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the full file.
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 _yt_player={};(function(g){var window=this;var h,p,q,r,ca,da,ea,fa,v,ga,ha,ia,ka,na,oa,pa,w,qa,ra,y,sa,va,wa,A,xa,ya,Ga,Ka,Ha,Ia,Ma,Na,Pa,B,Qa,Ra,Ua,Ta,Va,Xa,Ya,Za,$a,ab,bb,db,fb,eb,ib,gb,kb,lb,nb,ob,qb,pb,rb,sb,tb,ub,wb,vb,xb,Ab,Bb,yb,Cb,Db,Eb,Gb,zb,Fb,Hb,Ib,Jb,Kb,Lb,Mb,E,F,Nb,Ob,Pb,Qb,Rb,Sb,Tb,Ub,Vb,Xb,Yb,Zb,$b,ac,Wb,bc,cc,dc,ec,fc,gc,hc,ic,jc,lc,mc,oc,pc,qc,sc,tc,uc,vc,yc,Ac,Dc,Ec,Gc,Jc,Kc,Lc,Nc,Oc,Pc,Qc,Mc,Rc,Tc,Wc,ad,bd,cd,Xc,fd,ed,Zc,Uc,Sc,I,hd,id,jd,kd,ld,md,pd,od,qd,rd,xd,td,yd,zd,Ad,Cd,Dd,Fd,Gd,Hd,Jd,Kd,Md,Od,Pd,Td,Nd,Bd,Id,Wd,Sd, | |
Qd,Rd,Xd,Vd,Ud,Ld,Zd,$d,ae,be,ce,de,ee,fe,J,ge,ie,je,K,le,re,te,ue,ve,ye,ze,Be,Ce,Fe,Ee,He,Ie,Je,Le,Me,Oe,Ne,Ve,We,Xe,Ye,Ze,af,bf,cf,df,ef,ff,gf,lf,nf,of,mf,qf,rf,uf,sf,vf,L,wf,yf,Af,Bf,Cf,Df,Ef,Ff,Gf,If,Kf,Jf,Mf,Nf,jf,Of,Pf,Qf,Tf,Rf,Sf,zf,Vf,Wf,Uf,hf,Xf,Yf,Zf,bg,ag,$f,cg,dg,gg,hg,ig,kg,lg,mg,ng,og,pg,qg,sg,tg,ug,vg,xg,yg,zg,wg,Ag,Bg,Cg,Dg,Fg,Gg,Ig,Jg,Kg,Lg,Mg,Ng,Og,Pg,Qg,Rg,Sg,Tg,Ug,Wg,Xg,Zg,$g,M,ah,bh,ch,dh,eh,kh,mh,nh,oh,ph,fh,ih,qh,gh,sh,rh,uh,lh,th,hh,vh,xh,yh,zh,A |
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
table redirects { | |
"/Advocate": "https://www.dosomething.org/us/campaigns/suspended-what-advocate", | |
"/After-School": "https://www.dosomething.org/us/campaigns/mirror-messages", | |
"/Amplify": "https://www.dosomething.org/us/campaigns/suspended-what-amplify", | |
"/Andrea": "https://www.dosomething.org/us/campaigns/show-stress-whos-boss", | |
"/BootcampNYC": "https://www.eventbrite.com/e/dosomethingorg-social-impact-bootcamp-nyc-registration-37716035678", | |
"/Bootcamps": "https://www.dosomething.org/us/about/social-impact-bootcamp", | |
"/Boss": "https://www.dosomething.org/us/campaigns/show-stress-whos-boss", | |
} | |