Advertisement
Nenesse

header_v0.1

Mar 10th, 2011
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.28 KB | None | 0 0
  1. <?php /* Mystique/digitalnature */ ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" <?php //language_attributes('xhtml'); ?>>
  4.  
  5. <head profile="http://gmpg.org/xfn/11">
  6. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  7. <a name="M1"></a>
  8. <title><?php mystique_title(); ?></title>
  9.  
  10. <?php mystique_meta_description(); ?>
  11. <meta name="designer" content="digitalnature.ro" />
  12.  
  13. <?php if(WP_VERSION < 3.0): ?>
  14. <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
  15. <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
  16. <?php endif; ?>
  17.  
  18. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  19. <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" />
  20.  
  21. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.js"></script>
  22. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.carouFredSel-3.2.1.js"></script>
  23. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_directory'); ?>/carrousel.css" />
  24.  
  25. <!-- Carroussel -->
  26. <script type="text/javascript" language="javascript">
  27. jQuery(document).ready(function($){
  28. $.fn.pause = function(duration) {
  29. $(this).animate({ dummy: 1 }, duration);
  30. return this;
  31. };
  32. $(".carousel").pause(1000).show();
  33. $(".carousel").carouFredSel({
  34. items : {
  35. visible : 5,
  36. height : 180,
  37. //width : 138
  38. width : "variable"
  39. },auto: true,
  40. pagination : "#foo3_pag",
  41. prev : "#foo3_prev",
  42. next : "#foo3_next",
  43. scroll : {
  44. pauseOnHover: true,
  45. items : 7,
  46. duration : 1000,
  47. pauseDuration : 10000
  48. }
  49. })
  50. });
  51. </script>
  52.  
  53. <?php wp_head(); ?>
  54. </head>
  55. <body class="<?php mystique_body_class() ?>">
  56. <div id="page">
  57.  
  58.  
  59. <div class="page-content header-wrapper">
  60.  
  61.  
  62. <div id="header" class="bubbleTrigger">
  63.  
  64. <?php do_action('mystique_header_start'); ?>
  65.  
  66. <div id="site-title" class="clear-block">
  67.  
  68. <?php mystique_logo(); ?>
  69. <?php if(get_bloginfo('description')): ?><p class="headline"><?php bloginfo('description'); ?></p><?php endif; ?>
  70.  
  71. <?php do_action('mystique_header'); ?>
  72.  
  73. </div>
  74.  
  75. <div class="carousel" style="">
  76. <?php
  77.  
  78. //The Query
  79. $my_query = new WP_Query('category_name=Animation&posts_per_page=21&orderby=rand');
  80. while ($my_query->have_posts()) : $my_query->the_post(); ?>
  81.  
  82. <?php get_the_image( array( 'image_scan' => true, 'width' => 'auto', 'height' => '140px') ); ?>
  83.  
  84. <?php endwhile; wp_reset_query();?>
  85.  
  86. </div>
  87. <div class="pagination" id="foo3_pag"></div>
  88.  
  89. <?php mystique_navigation(); ?>
  90.  
  91. <?php do_action('mystique_header_end'); ?>
  92.  
  93. </div>
  94.  
  95. </div>
  96.  
  97. <!-- left+right bottom shadow -->
  98. <div class="shadow-left page-content main-wrapper">
  99. <div class="shadow-right">
  100.  
  101. <?php do_action('mystique_before_main'); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement