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 get_header(); ?> | |
<div id="primary" class="content-area col-8"> | |
<main id="main" class="site-main" role="main"> | |
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> | |
<header> | |
<h2 class="title"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></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 get_header(); ?> | |
<div id="primary" class="content-area col-8"> | |
<main id="main" class="site-main" role="main"> | |
<?php if (have_posts()) : ?> | |
<h1 class="archive-title"><?php | |
if ( is_day() ) : | |
printf( __( 'Daily Archives: %s', 'theme' ), '<span>' . get_the_date() . '</span>' ); |
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 get_header(); ?> | |
<div id="primary" class="content-area col-8"> | |
<main id="main" class="site-main" role="main"> | |
<?php if (have_posts()) : ?> | |
<h1 class="archive-title"><?php printf( __( 'Search Results for: "%s"', 'theme' ), '<span>' . get_search_query() . '</span>' ); ?></h1> | |
<?php while (have_posts()) : the_post(); ?> |
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
<form method="get" id="searchform" action="<?php echo home_url(); ?>/"> | |
<fieldset> | |
<input type="text" name="s" id="s" placeholder="<?php _e('Search...', 'theme') ?>" /> | |
<input type="submit" name="submit" value="Search" id="s-submit"> | |
</fieldset> | |
</form> |
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 echo get_permalink( wc_get_page_id( 'cart' ) ); ?> |
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 echo get_permalink( wc_get_page_id( 'shop' ) ); ?> |
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 echo get_permalink( wc_get_page_id( 'myaccount' ) ); ?> |
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 | |
add_filter( 'ulozenka_dobirka_label', 'ulozenka_10001_custom_label' ); | |
function ulozenka_10001_custom_label( $label ){ | |
return 'Dobírka'; | |
} |
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 | |
add_filter( 'ulozenka_order_number', 'ulozenka_10002_order_number', 10, 2 ); | |
function ulozenka_10002_order_number( $order_number, $order ){ | |
return $order->get_id(); | |
} |