Reinstall silverbook
This commit is contained in:
34
header.php
34
header.php
@@ -50,6 +50,7 @@
|
||||
if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' );
|
||||
?>
|
||||
|
||||
<!--script type="text/javascript" src="<?php echo get_stylesheet_directory_uri(); ?>/js/child.js"></script-->
|
||||
|
||||
<?php
|
||||
/* Always have wp_head() just before the closing </head>
|
||||
@@ -60,12 +61,35 @@
|
||||
*/
|
||||
wp_head();
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$( "button#togle" ).click(function() {
|
||||
$( ".comments_cont" ).toggle( "slow");
|
||||
|
||||
var $sp = $(this).text().trim().split(" ");
|
||||
|
||||
if($sp[0] == '<?php _e("Display", "CreatorThemeRes-child" ); ?>' ){
|
||||
var e = $("#togle").text(function(index, text) {
|
||||
return text.replace("<?php _e('Display', 'CreatorThemeRes-child' ); ?>", "<?php _e('Hide', 'CreatorThemeRes-child' ); ?>");
|
||||
});
|
||||
}
|
||||
if($sp[0] == '<?php _e("Hide", "CreatorThemeRes-child" ); ?>' ){
|
||||
var e = $("#togle").text(function(index, text) {
|
||||
return text.replace("<?php _e('Hide', 'CreatorThemeRes-child' ); ?>", "<?php _e('Display', 'CreatorThemeRes-child' ); ?>");
|
||||
});
|
||||
}
|
||||
|
||||
//$el.text($el.text() == "<?php _e('Display comments', 'CreatorThemeRes-child' ); ?>" ? "<?php _e('Hide comments', 'CreatorThemeRes-child' ); ?>" : "<?php _e('Display comments', 'CreatorThemeRes-child' ); ?>");
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<!--script type="text/javascript" src= "<?php echo WP_CONTENT_URL; ?>/themes/twentyten-child/js/jquery.liveSearch.js"></script>
|
||||
<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri(); ?>/js/jquery-2.1.0.min.js"></script>
|
||||
<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri(); ?>/js/child.js"></script-->
|
||||
<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri(); ?>/js/jquery-2.1.0.min.js"></script-->
|
||||
|
||||
<!--script type="text/css" src="<?php echo get_stylesheet_directory_uri(); ?>/js/swipebox.min.css"></script-->
|
||||
|
||||
<?php if (is_single() || is_attachment()) { ?>
|
||||
<!--script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script-->
|
||||
<!--script type="text/javascript" src="https://maps.google.com/maps/api/js"></script-->
|
||||
<!--script type="text/javascript" src="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/src/infobubble.js"></script>
|
||||
@@ -73,9 +97,7 @@
|
||||
<style type="text/css">
|
||||
.entry-content img {max-width: 100000%; /* override */}
|
||||
.firstHeading {font-weight: bold;}
|
||||
</style>
|
||||
<?php
|
||||
} ?>
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user