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 if ( is_page() ) { ?> | |
<?php | |
if($post->post_parent) | |
$children = wp_list_pages('title_li=&child_of='.$post->post_parent.'&echo=0'); else | |
$children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0'); | |
if ($children) { ?> | |
<h4> | |
<?php |
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
function custom_admin_post_thumbnail_html( $content ) { | |
return $content = str_replace( __( 'Set featured image' ), __( 'Set thumbnail image' ), $content); | |
} | |
add_filter( 'admin_post_thumbnail_html', 'custom_admin_post_thumbnail_html' ); |
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
# Filename-based cache busting | |
# taken from https://github.com/h5bp/html5-boilerplate/ | |
# This rewrites file names of the form `name.123456.js` to `name.js` | |
# so that the browser doesn't use the cached version when you have | |
# updated (but not manually renamed) the file. | |
<IfModule mod_rewrite.c> | |
Options +FollowSymlinks | |
RewriteEngine On |