diff options
Swap single.php and single-vehicles.php. Fixes #84
2 files changed, 121 insertions, 121 deletions
| -rw-r--r-- | wp-content/themes/carmag/single-vehicles.php | 121 | ||||
| -rw-r--r-- | wp-content/themes/carmag/single.php | 121 |
diff --git a/wp-content/themes/carmag/single-vehicles.php b/wp-content/themes/carmag/single-vehicles.php index 7151d0d..890a33a 100644 --- a/wp-content/themes/carmag/single-vehicles.php +++ b/wp-content/themes/carmag/single-vehicles.php @@ -9,33 +9,106 @@ get_header(); ?> - <section class="section-fullwidth section-main"> + <section class="section-fullwidth section-main single-vehicle"> <div class="row"> - <div class="columns small-12 medium-8"> - <div id="primary" class="content-area"> - <main id="main" class="site-main"> - <?php - while ( have_posts() ) : the_post(); - - get_template_part( 'template-parts/content', get_post_format() ); - - the_post_navigation(); - - // If comments are open or we have at least one comment, load up the comment template. - if ( comments_open() || get_comments_number() ) : - comments_template(); - endif; - - endwhile; // End of the loop. - ?> - - </main><!-- #main --> - </div><!-- #primary --> + <div class="columns small-12 medium-12 large-8"> + <div class="carousel"> + <img + class ="carousel-image" + src="https://mobistatic2.focus.bg/mobile/photosmob/684/1/big/11589622941723684_g.jpg" + alt="" + /> + <img + class ="carousel-image" + src="https://mobistatic2.focus.bg/mobile/photosmob/684/1//big/11589622941723684_tj.jpg" + alt="" + /> + <img + class ="carousel-image" + src="https://mobistatic2.focus.bg/mobile/photosmob/684/1//big/11589622941723684_wV.jpg" + alt="" + /> + <img + class ="carousel-image" + src="https://mobistatic2.focus.bg/mobile/photosmob/684/1//big/11589622941723684_3I.jpg" + alt="" + /> + <p class="image-num">1/7</p> + <div class="arrow forward"> + <div></div> + </div> + <div class="arrow backward"> + <div></div> + </div> + </div> + <div class="all-images"> + <div> + <img + src="https://mobistatic2.focus.bg/mobile/photosmob/684/1/big/11589622941723684_g.jpg" + alt="" + /> + </div> + <div> + <img + src="https://mobistatic2.focus.bg/mobile/photosmob/684/1//big/11589622941723684_tj.jpg" + alt="" + /> + </div> + <div> + <img + src="https://mobistatic2.focus.bg/mobile/photosmob/684/1//big/11589622941723684_wV.jpg" + alt="" + /> + </div> + <div> + <img + src="https://mobistatic2.focus.bg/mobile/photosmob/684/1//big/11589622941723684_3I.jpg" + alt="" + /> + </div> + </div> + <div class="vehicle-information"> + <h2>Polo Comfortline 1.0 EVO BMT</h2> + <ul class="vehicle-properties"> + <li> + <i class="fas fa-calendar-alt"></i> + <p>2020</p> + </li> + <li> + <i class="fas fa-gas-pump"></i> + <p>Petrol</p> + </li> + <li> + <i class="fas fa-road"></i> + <p>200 km</p> + </li> + <li> + <i class="fas fa-tachometer-alt"></i> + <p>650 hp</p> + </li> + <li> + <i class="fas fa-cogs"></i> + <p>Manual</p> + </li> + <li> + <i class="fas fa-car"></i> + <p>Sedan</p> + </li> + </ul> + <p class="vehicle-description">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> + </div> </div><!-- .columns medium-8 --> - <div class="columns small-12 medium-4"> - <?php get_sidebar(); ?> + <div class="columns small-12 medium-12 large-4 "> + <div class="seller-card"> + <div class="seller-map" id="map"></div> + <div class="seller-info"> + <img class="seller-avatar" src="https://image.freepik.com/free-vector/businessman-character-avatar-isolated_24877-60111.jpg" alt=""> + <p>Gosho</p> + <button class="button secondary">Contact</button> + </div> + </div> </div><!-- .columns medium-4 --> - </div><!-- .row --> + </div> </section><!-- .section-fullwidth section-main --> <?php diff --git a/wp-content/themes/carmag/single.php b/wp-content/themes/carmag/single.php index 890a33a..7151d0d 100644 --- a/wp-content/themes/carmag/single.php +++ b/wp-content/themes/carmag/single.php @@ -9,106 +9,33 @@ get_header(); ?> - <section class="section-fullwidth section-main single-vehicle"> + <section class="section-fullwidth section-main"> <div class="row"> - <div class="columns small-12 medium-12 large-8"> - <div class="carousel"> - <img - class ="carousel-image" - src="https://mobistatic2.focus.bg/mobile/photosmob/684/1/big/11589622941723684_g.jpg" - alt="" - /> - <img - class ="carousel-image" - src="https://mobistatic2.focus.bg/mobile/photosmob/684/1//big/11589622941723684_tj.jpg" - alt="" - /> - <img - class ="carousel-image" - src="https://mobistatic2.focus.bg/mobile/photosmob/684/1//big/11589622941723684_wV.jpg" - alt="" - /> - <img - class ="carousel-image" - src="https://mobistatic2.focus.bg/mobile/photosmob/684/1//big/11589622941723684_3I.jpg" - alt="" - /> - <p class="image-num">1/7</p> - <div class="arrow forward"> - <div></div> - </div> - <div class="arrow backward"> - <div></div> - </div> - </div> - <div class="all-images"> - <div> - <img - src="https://mobistatic2.focus.bg/mobile/photosmob/684/1/big/11589622941723684_g.jpg" - alt="" - /> - </div> - <div> - <img - src="https://mobistatic2.focus.bg/mobile/photosmob/684/1//big/11589622941723684_tj.jpg" - alt="" - /> - </div> - <div> - <img - src="https://mobistatic2.focus.bg/mobile/photosmob/684/1//big/11589622941723684_wV.jpg" - alt="" - /> - </div> - <div> - <img - src="https://mobistatic2.focus.bg/mobile/photosmob/684/1//big/11589622941723684_3I.jpg" - alt="" - /> - </div> - </div> - <div class="vehicle-information"> - <h2>Polo Comfortline 1.0 EVO BMT</h2> - <ul class="vehicle-properties"> - <li> - <i class="fas fa-calendar-alt"></i> - <p>2020</p> - </li> - <li> - <i class="fas fa-gas-pump"></i> - <p>Petrol</p> - </li> - <li> - <i class="fas fa-road"></i> - <p>200 km</p> - </li> - <li> - <i class="fas fa-tachometer-alt"></i> - <p>650 hp</p> - </li> - <li> - <i class="fas fa-cogs"></i> - <p>Manual</p> - </li> - <li> - <i class="fas fa-car"></i> - <p>Sedan</p> - </li> - </ul> - <p class="vehicle-description">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> - </div> + <div class="columns small-12 medium-8"> + <div id="primary" class="content-area"> + <main id="main" class="site-main"> + <?php + while ( have_posts() ) : the_post(); + + get_template_part( 'template-parts/content', get_post_format() ); + + the_post_navigation(); + + // If comments are open or we have at least one comment, load up the comment template. + if ( comments_open() || get_comments_number() ) : + comments_template(); + endif; + + endwhile; // End of the loop. + ?> + + </main><!-- #main --> + </div><!-- #primary --> </div><!-- .columns medium-8 --> - <div class="columns small-12 medium-12 large-4 "> - <div class="seller-card"> - <div class="seller-map" id="map"></div> - <div class="seller-info"> - <img class="seller-avatar" src="https://image.freepik.com/free-vector/businessman-character-avatar-isolated_24877-60111.jpg" alt=""> - <p>Gosho</p> - <button class="button secondary">Contact</button> - </div> - </div> + <div class="columns small-12 medium-4"> + <?php get_sidebar(); ?> </div><!-- .columns medium-4 --> - </div> + </div><!-- .row --> </section><!-- .section-fullwidth section-main --> <?php |
