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 | |
| $idObj = get_category_by_slug('s_about'); | |
| $id = $idObj->term_id; | |
| echo get_cat_name($id); | |
| ?> |
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 echo get_post_meta($post->ID, 'year', true); ?> |
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 $url = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'large' ); $url = $url['0']; ?> |
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 ( have_posts() ) : query_posts('p=1'); | |
| while (have_posts()) : the_post(); ?> | |
| <?php the_title(); ?> | |
| <?php the_content(); ?> | |
| <?php the_post_thumbnail(array(100, 100)); ?> | |
| <? endwhile; endif; wp_reset_query(); ?> |
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 montharr(m0, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11) { | |
| this[0] = m0; | |
| this[1] = m1; | |
| this[2] = m2; | |
| this[3] = m3; | |
| this[4] = m4; | |
| this[5] = m5; | |
| this[6] = m6; | |
| this[7] = m7; | |
| this[8] = m8; |
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
| $(document).ready(function(){ | |
| $('.calc select').change(function(){ | |
| $edition = $('select#card_edition').val(); | |
| $paper = $('select#card_paper').val(); | |
| $color = $('select#card_color').val(); | |
| $print_file = $('select#card_color option:selected').attr('data-print-file'); | |
| $paper_ratio = $('select#card_paper option:selected').attr('data-paper-ratio'); | |
| $color_format = $('select#card_color option:selected').attr('data-color'); | |
| $print = $('select#card_color option:selected').attr('data-print'); | |
| $division = 30; |
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 heightDetect() { | |
| $(".main_head").css("height", $(window).height()); | |
| }; | |
| heightDetect(); | |
| $(window).resize(function() { | |
| heightDetect(); | |
| }); |