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 | |
/** | |
* Register custom meta boxes for the 'testimony' archive settings. | |
*/ | |
add_action( 'genesis_cpt_archives_settings_metaboxes' , 'cpt_as_testimony_archive_metaboxes' ); | |
/** | |
* Callback for Genesis 'genesis_cpt_archives_settings_metaboxes' action. | |
* | |
* Register custom meta boxes for the 'testimony' archive settings. |
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 | |
/** | |
* Register a sanitization callback for the custom setting. | |
*/ | |
add_action( 'genesis_settings_sanitizer_init', 'cpt_as_genesis_sanitize_settings' ); | |
/** | |
* Callback for Genesis 'genesis_settings_sanitizer_init' action. | |
* | |
* Add the settings to the filter. |
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 | |
/** | |
* Add archive settings default for a custom post type | |
*/ | |
add_filter( 'genesis_cpt_archive_settings_defaults', 'cpt_as_testimony_archive_settings_defaults', 10, 2 ); | |
/** | |
* Callback for Genesis 'genesis_cpt_archive_settings_defaults' filter. | |
* | |
* Add the custom settings default value for the post type 'testimony'. |
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
#!/bin/bash | |
find ./ -type f -print | grep php | wc -l |
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
.site-title { | |
margin: 0; | |
} | |
.site-description, | |
.header-image .site-description { | |
text-indent: 0; | |
font-style: italic; | |
color: #201496; | |
} |
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
[opcache] | |
; the path to the .so file | |
zend_extension=opcache.so | |
; Enabled. Set to 0 to disable | |
opcache.enable=1 | |
; Max memory consumption. Default 32 megs | |
opcache.memory_consumption=32 |
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
/** | |
* Genesis Parallax Pro theme style.css file | |
* | |
* Note: This is from the original Parallax Pro theme. If you | |
* have changed the theme to you liking, you may need to adjust | |
* a different spot in the code. | |
*/ | |
/* around line ~1813 */ | |
@media only screen and (max-width: 1140px) { |
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
<!-- The parent 'SportsActivityLocation' element, however you may structure it --> | |
<div itemscope itemtype="http://schema.org/SportsActivityLocation"> | |
<!-- | |
Some other possible elements. | |
--> | |
<span itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates"> | |
<!-- Display coordinate data if you wish... --> | |
<meta itemprop="latitude" content="-33.0000" /> | |
<meta itemprop="longitude" content="18.0000" /> | |
</span> |
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 | |
/** | |
* Do not include the <?php tag... your functions.php should already have one. | |
* | |
* In response to Genesis support forums. | |
* http://www.studiopress.com/forums/topic/minimum-pro-archive-portfolio-for-catgeory-archive-pages-and-home-page/ | |
*/ | |
add_action( 'pre_get_posts', 'custom_pre_get_posts' ); | |
/** |
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 | |
/** | |
* Do not include the <?php tag if your functions.php file already has one. | |
* In response to Genesis support forums thread; | |
* http://www.studiopress.com/forums/topic/shortcode-with-custom-loop-in-page-affecting-search-results/ | |
*/ | |
add_action( 'genesis_setup', 'jspt_genesis_setup' ); | |
/** | |
* Callback for Genesis 'genesis_setup' action. |