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 the Meta Box | |
function add_custom_meta_box() { | |
add_meta_box( | |
'image_metabox', // $id | |
'Image metabox', // $title | |
'show_custom_meta_box', // $callback | |
'hlavni_clanky', // $page | |
'normal', // $context |
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 | |
/* | |
Template Name: Blog full width | |
*/ | |
?> | |
<?php get_header();?> | |
<div id="title_container" class="grid_12"> | |
<h2><?php the_title(); ?></h2> |
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 | |
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; | |
$args = array( 'post_type' => 'post', 'posts_per_page' => 4); | |
$loop = new WP_Query($args); | |
$loop->query( 'showposts=10&cat='.$category_id.'&paged='.$paged ); | |
while ( $loop->have_posts() ) : $loop->the_post(); ?> | |
<?php $thumbnail_url = wp_get_attachment_image_src( get_post_thumbnail_id(get_the_ID()), 'fullsize', false, '' ); | |
$thumbnail_url = $thumbnail_url[0]; ?> |
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 | |
/* | |
Template Name: Blog full width | |
*/ | |
?> | |
<?php get_header();?> | |
<div id="title_container" class="grid_12"> | |
<h2><?php the_title(); ?></h2> |
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
horni_menu_li.on('mouseover',function(){ | |
$(this).find('ul.sub-menu').stop().css({visibility: "visible",display: "none"}).slideDown(180); | |
}); | |
horni_menu_li.on('mouseleave',function(){ | |
$(this).find('ul.sub-menu').stop().slideUp(180); | |
}); |
NewerOlder