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
https://www.facebook.com/dialog/pagetab?app_id=[APP [ID]&next=[PROJECT URL] | |
For example, if your app ID is 189112594552990 and your project URL is https://entertowin.projects.fm you should point to https://www.facebook.com/dialog/pagetab?app_id=189112594552990&next=https://entertowin.projects.fm . |
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
# BEGIN GZIP | |
<ifmodule mod_deflate.c> | |
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript image/svg+xml | |
</ifmodule> | |
# END GZIP |
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
:bearhug: ʕっ•ᴥ•ʔっ | |
:bearlook: ʕ ◔ᴥ◔ ʔ | |
:bearmad: ʕ≧ᴥ≦ʔ | |
:bearok: ٩ʕ•̤̀ᴥ•̤́๑ʔᵒᵏᵎᵎᵎᵎ | |
:bearpoint: ☜ ʕ•ᴥ•ʔ ☞ | |
:bearRIP: ʕ˼●̙̂ ̟ ̟̎ ̟ ̘●̂˻ʔ | |
:bears: ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ | |
:bearshrug: ¯\_ʕ•ᴥ•ʔ_/¯ | |
:bearstrong: ᕦʕ•ᴥ•ʔᕤ | |
:bearsurprise: ʕ´•ᴥ•`ʔ |
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
{% capture currentyear %}{{site.date | date: "%Y"}}{% endcapture %} | |
{% if currentyear != year %} | |
© 2014 Jonathan Dueck | |
{% else if %} | |
© 2014–{{ 'now' | date: "%Y" }} Jonathan Dueck | |
{% endif %} |
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_shortcode('wp_caption', 'fixed_img_caption_shortcode'); | |
add_shortcode('caption', 'fixed_img_caption_shortcode'); | |
function fixed_img_caption_shortcode($attr, $content = null) { | |
if ( ! isset( $attr['caption'] ) ) { | |
if ( preg_match( '#((?:<a [^>]+>\s*)?<img [^>]+>(?:\s*</a>)?)(.*)#is', $content, $matches ) ) { | |
$content = $matches[1]; | |
$attr['caption'] = trim( $matches[2] ); | |
} | |
} | |
$output = apply_filters('img_caption_shortcode', '', $attr, $content); |
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 wp_redirect(get_permalink($post->post_parent)); ?> |
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
RewriteEngine On | |
RewriteCond %{HTTP_HOST} !^your-site.com$ [NC] | |
RewriteRule ^(.*)$ http://your-site.com/$1 [L,R=301] |
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 urlencode(the_permalink()); ?> |
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
# BEGIN GZIP | |
<ifmodule mod_deflate.c> | |
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript | |
</ifmodule> | |
# END GZIP |
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
RewriteEngine On | |
RewriteCond %{HTTP_HOST} !^your-site.com$ [NC] | |
RewriteRule ^(.*)$ http://your-site.com/$1 [L,R=301] | |
# BEGIN GZIP | |
<ifmodule mod_deflate.c> | |
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript image/svg+xml image/x-icon | |
</ifmodule> | |
# END GZIP |
OlderNewer