Skip to content

Instantly share code, notes, and snippets.

View kopepasah's full-sized avatar
🤖
Solving problems with bots.

Justin Kopepasah kopepasah

🤖
Solving problems with bots.
View GitHub Profile
@kopepasah
kopepasah / 5961.md
Last active August 29, 2015 14:01
Add Jetpack Markdown Support to Custom Post Types

Add Jetpack Markdown Support to Custom Post Types

Full tutorial can be found on kopepasah.com.

License

GNU General Public License v2 or later.

This code is free software; you can redistribute it and/or modify it under the termSSSs of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

@kopepasah
kopepasah / 6027.md
Created May 18, 2014 06:25
Change Jetpack's Related Post Count

Change Jetpack's Related Post Count

Full tutorial can be found on kopepasah.com.

License

GNU General Public License v2 or later.

This code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

@kopepasah
kopepasah / 6071.md
Created May 20, 2014 12:05
Change Jetpack 3.0's Default Twitter Card Site Tag

Change Jetpack 3.0's Default Twitter Card Site Tag

Full tutorial can be found on kopepasah.com.

License

GNU General Public License v2 or later.

This code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

@kopepasah
kopepasah / 6097.md
Last active August 29, 2015 14:01
Disable Jetpack's Twitter Cards

Disable Jetpack's Twitter Cards

Full tutorial can be found on kopepasah.com.

License

GNU General Public License v2 or later.

This code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

@kopepasah
kopepasah / 6100.md
Last active August 29, 2015 14:01
Filter WordPress Link Query Args to Show Scheduled Items

Filter WordPress Link Query Args to Show Scheduled Items

Full tutorial can be found on kopepasah.com.

License

GNU General Public License v2 or later.

This code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

@kopepasah
kopepasah / 0_reuse_code.js
Created May 31, 2014 14:41
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@kopepasah
kopepasah / hide.svn-git.config
Created December 29, 2014 05:51
An .htaccess configuration for hiding SVN/Git files.
# Hide SVN / GIT files
RedirectMatch 404 /\\.(git|gitignore|gitmodules|sh|svn|log|htaccess|htpasswd|ini|phps|fla|psd)(/.*|$)
@kopepasah
kopepasah / subdomain.redirect.config
Created December 29, 2014 05:52
An .htaccess configuration for redirecting to a subdomain and keeping the path.
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
RewriteRule ^(.*)$ http://sub.domain.com/$1 [R=301,L]
@kopepasah
kopepasah / apple-touch-icons.html
Created July 17, 2012 21:07
Specifying a Webpage Icon for Web Clip on Apple iOS Devices
<!-- Size for iPhone and iPod touch - 57 x 57 (in pixels) -->
<link rel="apple-touch-icon" href="http://example.com/images/icon-57x57.png">
<!-- Size for high-resolution iPhone and iPod touch - 114 x 114 (in pixels) -->
<link rel="apple-touch-icon" sizes="114x114" href="http://example.com/images/icon-114x114.png">
<!-- Size for iPad - 72 x 72 (in pixels) -->
<link rel="apple-touch-icon" sizes="72x72" href="http://example.com/images/icon-72x72.png">
<!-- Size for high-resolution iPad - 144 x 144 (in pixels) -->
<link rel="apple-touch-icon" sizes="144x144" href="http://example.com/images/icon-144x144.png">
@kopepasah
kopepasah / archive-post-type.php
Created July 17, 2012 22:42
Order Custom Post Type Archive by Taxonomy in WordPress
<?php
/**
* Template for ordering custom post types by terms on
* on the post types archive.php
*
* @package WordPress
* @author Justin Kopepasah
*
*/