Advertisement
Guest User

Untitled

a guest
Sep 10th, 2012
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.49 KB | None | 0 0
  1. <?php
  2. /*
  3. Template Name: Gallery
  4. */
  5. ?>
  6.  
  7. <?php get_header(); ?>
  8.  
  9. <div id="logo">
  10. <a href="<?php bloginfo('url'); ?>"><img src="<?php echo get_template_directory_uri(); ?>/img/parlour_side.png" alt="Parlour Salon logo" id="logo" /></a>
  11. </div><!-- end logo -->
  12.  
  13.  
  14.  
  15.  
  16. <div id="main">
  17. <div class="content">
  18. <h2>PARLOUR GALLERY</h2>
  19. <div id="stylist-list">
  20. <h3><a href="index.php?page_id=39">REBECCA HAEHNLE</a> | <a href="index.php?page_id=41">CHRIS KELLER</a> | <a href="index.php?page_id=43">BILLY MALLOY</a> | <a href="index.php?page_id=45">VERONICA JONES</a> | <a href="index.php?page_id=47">ABBEY CASTELLANO</a> | <a href="index.php?page_id=49">QUARTIA FUTRELL</a> | <a href="index.php?page_id=51">ROOSEVELT OXENDINE</a> | <a href="index.php?page_id=53">NICOLE LUESCHOW</a> | <a href="index.php?page_id=55">MEREDITH NOWLIN</a> | <a href="index.php?page_id=57">MARICEL YALUNG</a> | <a href="index.php?page_id=59">STEPHANIE BRANDT</a> | <a href="index.php?page_id=61">JANNAH DIXON</a></h3>
  21. </div><!-- end stylist-list -->
  22. <div class="gallery">
  23. <?php
  24. if( is_page( 39 ) ) {
  25. // make your stuff here
  26. echo do_shortcode('[nggallery id=1]');
  27. } else {
  28. // output standard content here
  29. }
  30.  
  31. ?>
  32. <?php
  33. if( is_page( 41 ) ) {
  34. // make your stuff here
  35. echo do_shortcode('[nggallery id=2]');
  36. } else {
  37. // output standard content here
  38. }
  39.  
  40. ?>
  41. <?php
  42. if( is_page( 43 ) ) {
  43. // make your stuff here
  44. echo do_shortcode('[nggallery id=3]');
  45. } else {
  46. // output standard content here
  47. }
  48.  
  49. ?>
  50. <?php
  51. if( is_page( 45 ) ) {
  52. // make your stuff here
  53. echo do_shortcode('[nggallery id=4]');
  54. } else {
  55. // output standard content here
  56. }
  57.  
  58. ?>
  59. <?php
  60. if( is_page( 47 ) ) {
  61. // make your stuff here
  62. echo do_shortcode('[nggallery id=5]');
  63. } else {
  64. // output standard content here
  65. }
  66.  
  67. ?>
  68. <?php
  69. if( is_page( 49 ) ) {
  70. // make your stuff here
  71. echo do_shortcode('[nggallery id=6]');
  72. } else {
  73. // output standard content here
  74. }
  75.  
  76. ?>
  77. <?php
  78. if( is_page( 51 ) ) {
  79. // make your stuff here
  80. echo do_shortcode('[nggallery id=7]');
  81. } else {
  82. // output standard content here
  83. }
  84.  
  85. ?>
  86. <?php
  87. if( is_page( 53 ) ) {
  88. // make your stuff here
  89. echo do_shortcode('[nggallery id=8]');
  90. } else {
  91. // output standard content here
  92. }
  93.  
  94. ?>
  95. <?php
  96. if( is_page( 55 ) ) {
  97. // make your stuff here
  98. echo do_shortcode('[nggallery id=9]');
  99. } else {
  100. // output standard content here
  101. }
  102.  
  103. ?>
  104. <?php
  105. if( is_page( 57 ) ) {
  106. // make your stuff here
  107. echo do_shortcode('[nggallery id=10]');
  108. } else {
  109. // output standard content here
  110. }
  111.  
  112. ?>
  113. <?php
  114. if( is_page( 59 ) ) {
  115. // make your stuff here
  116. echo do_shortcode('[nggallery id=11]');
  117. } else {
  118. // output standard content here
  119. }
  120.  
  121. ?>
  122. <?php
  123. if( is_page( 61 ) ) {
  124. // make your stuff here
  125. echo do_shortcode('[nggallery id=12]');
  126. } else {
  127. // output standard content here
  128. }
  129.  
  130. ?>
  131. </div><!-- end gallery -->
  132. </div><!-- end content -->
  133.  
  134. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement