This file contains 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 custom Avatar | |
add_filter( 'avatar_defaults', 'newgravatar' ); | |
function newgravatar ($avatar_defaults) { | |
$myavatar = get_bloginfo('stylesheet_directory').'/images/IMAGENAME.png'; | |
$avatar_defaults[$myavatar] = "AVATAR TITLE"; | |
return $avatar_defaults; | |
} |
This file contains 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 | |
/** | |
Template Name: RSS Feed | |
**/ | |
$numposts = -1; | |
function yoast_rss_date( $timestamp = null ) { | |
$timestamp = ($timestamp==null) ? time() : $timestamp; | |
echo date(DATE_RSS, $timestamp); |
This file contains 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 | |
/* --------------- COMMENTED ------------------- */ | |
// Grab the permalink from current staff page. | |
// I tried using the post ID's but I ran into a lot of issues. | |
// The permalink was the most solid solution. | |
$post_permalink = get_permalink(); | |
// Start the query for all portfolio items | |
$args = array( |
This file contains 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
<div id="wrap"> | |
<h1>3D Profile Flip Card</h1> | |
<p>Click <span aria-hidden="true" data-icon="i"></span> to rotate the card</p> | |
<h2>Along the Y</h2> | |
<div class="card post"> | |
<div class="wrap"> | |
<div class="face front"> | |
<img src="http://studio412design.com/flip-card/images/clooney.jpg"> | |
<a aria-hidden="true" data-icon="i" class="flip"></a> |
This file contains 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
{"title":"⭐Server Rules","description":"**BE NICE**\n-No form of bullying, hate speech, discrimination, harassment, virtual stalking, or sexually explicit suggestion/material will be tolerated in any area of the server. We are a PG13+ community and all icons, language, and usernames must reflect as such.\n\n**YOUR NICKNAME SHOULD MATCH YOUR IN-GAME-NAME**\n-You're allowed to add extra stuff to your name (level, country). Just as long as we know who you are based on your IGN.\n-Additionally, your name and code must be set for PokeNav in order to raid and/or host.\n\n**NO SPOOFING**\n-Any conversation or app disclosure of spoofing (using modified software to fake your GPS location) will be banned.\n\n**DISCUSSING ACCOUNT SHARING IS STRICTLY PROHIBITED**\n\nSharing your account details can lead to your account being stolen, or being banned by Niantic for breaking their Terms of Service. Anyone found to be d\n\n**NO ADVERTISING**\n-That means advertising alternate communities (Discord, Facebook, Twitter, etc) If |