PageRenderTime 26ms CodeModel.GetById 12ms RepoModel.GetById 1ms app.codeStats 0ms

/single-proyectos.php

https://bitbucket.org/jpcontrerasv/chasqui-theme
PHP | 124 lines | 85 code | 34 blank | 5 comment | 9 complexity | 0878c743ee6015f080f18d4ea43b6fa2 MD5 | raw file
  1. <?php include 'header.php' ?>
  2. <?php if ( have_posts() ) : ?>
  3. <?php while ( have_posts() ) : the_post(); ?>
  4. <div id="wrapper" class="galeria box fleft fwidth">
  5. <div class="container-fluid">
  6. <div class="col-lg-10 col-lg-offset-1 col-md-12 col-sm-12 col-xs-12 single-galeria">
  7. <div class="col-lg-5 txt">
  8. <h1><?php the_title(); ?></h1>
  9. <?php the_content(); ?>
  10. <ul class="info-adicional">
  11. <?php
  12. // check if the repeater field has rows of data
  13. if( have_rows('informacion_adicional') ):
  14. // loop through the rows of data
  15. while ( have_rows('informacion_adicional') ) : the_row(); ?>
  16. <li><span><? the_sub_field('titulo'); ?>:</span>
  17. <span class="clearfix"></span>
  18. <? the_sub_field('informacion'); ?>
  19. </li>
  20. <?php endwhile; else : endif; ?>
  21. </ul>
  22. <div class="caja-link box fleft text-left hidden-xs">
  23. <div class="svg">
  24. <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  25. <!-- Generator: Sketch 48.2 (47327) - http://www.bohemiancoding.com/sketch -->
  26. <desc>Created with Sketch.</desc>
  27. <defs></defs>
  28. <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
  29. <g id="05.-proyectos-(proyecto-ejemplo)" transform="translate(-47.000000, -879.000000)" fill="#363636">
  30. <g id="Group-4-Copy-6" transform="translate(57.000000, 889.000000) rotate(-180.000000) translate(-57.000000, -889.000000) translate(47.000000, 879.000000)">
  31. <g id="arrow-back" transform="translate(10.000000, 10.000000) scale(-1, 1) translate(-10.000000, -10.000000) ">
  32. <polygon id="Shape" points="20 8.75 4.75 8.75 11.75 1.75 10 0 0 10 10 20 11.75 18.25 4.75 11.25 20 11.25"></polygon>
  33. </g>
  34. </g>
  35. </g>
  36. </g>
  37. </svg>
  38. </div>
  39. <p>
  40. <a href="/proyectos">Volver</a>
  41. <span class="clearfix"></span>
  42. <a href="/proyectos" >a proyectos</a>
  43. </p>
  44. </div>
  45. </div>
  46. <div class="col-lg-6 col-lg-offset-1 fotos">
  47. <?php
  48. // check if the repeater field has rows of data
  49. if( have_rows('fotos_del_proyecto') ):
  50. // loop through the rows of data
  51. while ( have_rows('fotos_del_proyecto') ) : the_row(); ?>
  52. <a class="gallery2" href="<?php the_sub_field('imagenproyecto'); ?>"><img src="<?php the_sub_field('imagenproyecto'); ?>" alt=""></a>
  53. <!--segundo test de commit con pipelines-->
  54. <? endwhile;
  55. else :
  56. // no rows found
  57. endif;
  58. ?>
  59. <br><br><br>
  60. <div class="caja-link box fleft text-left hidden-lg hidden-md hidden-sm">
  61. <div class="svg">
  62. <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  63. <!-- Generator: Sketch 48.2 (47327) - http://www.bohemiancoding.com/sketch -->
  64. <desc>Created with Sketch.</desc>
  65. <defs></defs>
  66. <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
  67. <g id="05.-proyectos-(proyecto-ejemplo)" transform="translate(-47.000000, -879.000000)" fill="#363636">
  68. <g id="Group-4-Copy-6" transform="translate(57.000000, 889.000000) rotate(-180.000000) translate(-57.000000, -889.000000) translate(47.000000, 879.000000)">
  69. <g id="arrow-back" transform="translate(10.000000, 10.000000) scale(-1, 1) translate(-10.000000, -10.000000) ">
  70. <polygon id="Shape" points="20 8.75 4.75 8.75 11.75 1.75 10 0 0 10 10 20 11.75 18.25 4.75 11.25 20 11.25"></polygon>
  71. </g>
  72. </g>
  73. </g>
  74. </g>
  75. </svg>
  76. </div>
  77. <p>
  78. <a href="/proyectos">Volver</a>
  79. <span class="clearfix"></span>
  80. <a href="/proyectos" >a proyectos</a>
  81. </p>
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. <?php endwhile; ?>
  88. <?php else : ?>
  89. <?php endif; ?>
  90. <?php include 'footer.php' ?>