Make WordPress Themes

Changeset 282084


Ignore:
Timestamp:
08/03/2025 06:18:41 PM (4 months ago)
Author:
themedropbox
Message:

New version of Shoper - 1.6.4

Location:
shoper/1.6.4
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • shoper/1.6.4/assets/js/shoper.js

    r139409 r282084  
    235235
    236236            }
    237         });
     237        });
     238        if ($('h2.wp-block-heading').length) {
     239          $('h2.wp-block-heading').each(function(index) {
     240            var currentContent = $(this).html();
     241            $(this).html('<span>' + currentContent + '</span>');
     242          });
     243        }
     244       
    238245       
    239246    });
  • shoper/1.6.4/inc/class/class-header.php

    r227352 r282084  
    192192    public function get_site_search_form (){
    193193    ?>
    194     <div class="search-bar" id="search-bar">
    195         <div class="container-wrap">
    196         <div class="container">
    197             <div class="row align-items-center">
    198                 <div class="col-md-8">
    199                     <?php
    200                     if( class_exists('APSW_Product_Search_Finale_Class') && class_exists( 'WooCommerce' ) ){
    201                         do_action('apsw_search_bar_preview');
    202                     }else{
    203                         get_search_form();
    204                     }
    205                     ?>
    206                 </div>
    207                 <div class="col-md-4">
    208                     <a href="javascript:void(0)" class="search-close-trigger"><i class="icofont-close"></i></a>
    209                 </div>
    210             </div>
    211         </div>
     194    <div class="search-bar d-flex align-items-center" id="search-bar"> 
     195        <div class="form-wrap">
     196        <?php
     197        if( class_exists('APSW_Product_Search_Finale_Class') && class_exists( 'WooCommerce' ) ){
     198            do_action('apsw_search_bar_preview');
     199        }else{
     200            get_search_form();
     201        }
     202        ?>
     203        <a href="javascript:void(0)" class="search-close-trigger"><i class="icofont-close"></i></a>
    212204        </div>
    213205    </div>     
     
    289281                    echo single_post_title( '', false );
    290282                echo '</h1>';
     283                if( is_singular('post')  ){
     284                    do_action('shoper_single_post_meta');
     285                }
    291286            } elseif ( is_archive() ) {
    292287               
  • shoper/1.6.4/search.php

    r139409 r282084  
    77 * @package shoper
    88 */
    9 
    10 
    119get_header();
    1210/**
     
    1715 do_action( 'shoper_container_wrap_start');
    1816 
    19  
    20         if ( have_posts() ) : ?>
    21 
    22             <header class="page-header shoper-header-block">
    23                 <h1 class="page-title">
    24                     <?php
    25                     /* translators: %s: search query. */
    26                     printf( esc_html__( 'Search Results for: %s', 'shoper' ), '<span>' . get_search_query() . '</span>' );
    27                     ?>
    28                 </h1>
    29             </header><!-- .page-header -->
    30 
    31             <?php
     17        if ( have_posts() ) :
    3218            /* Start the Loop */
    3319            while ( have_posts() ) :
  • shoper/1.6.4/style.css

    r280999 r282084  
    99Tested up to: 6.8.0
    1010Requires PHP: 7.0
    11 Version: 1.6.3
     11Version: 1.6.4
    1212License: GPLv3 or later
    1313License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    735735    transform: translateY(-100%);
    736736    transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    737    
    738737}
    739738.search-bar.active{
     
    753752    transform: translateY(-50px);
    754753}
     754.search-bar .form-wrap{
     755    width: 100%;
     756    max-width: 500px;
     757    margin: 0px auto;
     758    display: flex;
     759    align-items: center;
     760}
     761.search-bar .form-wrap a{
     762    margin-left: 10px;
     763}
    755764.search-bar form{
    756765    position: relative;
     766    width: 100%;
     767    margin-bottom: 0px;
    757768}
    758769.search-bar label{
     
    812823.related.products h2,
    813824.upsells.products h2,
    814 .cross-sells h2{
     825.cross-sells h2,
     826h2.wp-block-heading{
    815827    text-align:center;
    816828    display: block;
     
    822834.related.products h2 span,
    823835.upsells.products h2 span,
    824 .cross-sells h2 span{
     836.cross-sells h2 span,
     837h2.wp-block-heading span{
    825838    display:inline-block;
    826839    padding:10px 15px;
Note: See TracChangeset for help on using the changeset viewer.