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> | |
<tbody> | |
<tr> | |
<th style="text-align: left;" colspan="2">Specs at a glance: Google/Motorola Moto X</th> | |
</tr> | |
<tr> | |
<th>Screen</th> | |
<td>1280×720 4.7-inch (313 PPI) RGB AMOLED</td> | |
</tr> | |
<tr> |
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
<div class="genericon genericon-chat"></div> |
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 | |
//* Do NOT include the opening php tag | |
//* Customize the entry meta in the entry header */ | |
add_filter( 'genesis_post_info', 'post_info_filter' ); | |
function post_info_filter($post_info) { | |
if( !in_category( array('cat-1','cat-2') )) { | |
$post_info = 'Posted by [post_author_posts_link] [post_comments] [post_edit]'; | |
} | |
else { |
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 | |
//* Do NOT include the opening php tag | |
//* Customize the entry meta in the entry header */ | |
add_filter( 'genesis_post_info', 'post_info_filter' ); | |
function post_info_filter($post_info) { | |
if( in_category( array('cat-1','cat-2') )) { | |
$post_info = 'Posted by [post_author_posts_link] [post_comments] [post_edit]'; | |
} | |
else { |
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 | |
/* | |
Template Name: Landing | |
*/ | |
// Add custom body class to the head | |
add_filter( 'body_class', 'add_body_class' ); | |
function add_body_class( $classes ) { | |
$classes[] = 'landing-page'; |
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 | |
/** | |
* The template for displaying Comments. | |
* | |
* The area of the page that contains both current comments | |
* and the comment form. The actual display of comments is | |
* handled by a callback to twentyeleven_comment() which is | |
* located in the functions.php file. | |
* | |
* @package WordPress |
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 src="https://apis.google.com/js/plusone.js"> | |
</script> | |
<div class="g-comments" | |
data-href="<?php the_permalink(); ?>" | |
data-width="800" | |
data-first_party_property="BLOGGER" | |
data-view_type="FILTERED_POSTMOD"> | |
</div> |
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
// Code to register a newsletter widget area | |
genesis_register_sidebar( array( | |
'id' => 'newsletter', | |
'name' => __( 'Newsletter', 'custom-theme' ), | |
'description' => __( 'This is the newsletter section.', 'custom-theme' ), | |
) ); | |
// Add the newsletter widget after the post content |