Forum Replies Created

Viewing 15 replies - 1 through 15 (of 23 total)
  • Thread Starter hallsy

    (@hallsy)

    Morning Mikko,

    No problem. I’ll take a look, thanks.

    If I can they it fixed, no biggy. As long as I see search terms I am content.

    Thanks again.

    Thread Starter hallsy

    (@hallsy)

    oh Mikko apologies. Not sure what happened there.

    <?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
    <?php get_header(); ?>
    <?php
    $price_meta = rehub_option('price_meta_grid');
    $disable_btn = (rehub_option('rehub_enable_btn_recash') == 1) ? 0 : 1;
    $disable_act = (rehub_option('disable_grid_actions') == 1) ? 1 : 0;
    $aff_link = (rehub_option('disable_inner_links') == 1) ? 1 : 0;
    ?>
    <!-- CONTENT -->
    <div class="rh-container"> 
        <div class="rh-content-wrap clearfix">
            <!-- Main Side -->
            <div class="main-side clearfix<?php if (rehub_option('search_layout') == 'gridfull' || rehub_option('search_layout') == 'dealgridfull' || rehub_option('search_layout') == 'compactgridfull' || rehub_option('search_layout') == 'columngridfull' || rehub_option('search_layout') == 'cardblogfull') : ?> full_width<?php endif ;?>">
                <?php $cursearch = get_search_query();?>
                <div class="wpsm-title middle-size-title wpsm-cat-title"><h5><span><?php esc_html_e('Search results for:', 'rehub-theme'); ?></span> <?php echo esc_html($cursearch); ?></h5></div> 
                <?php if (rehub_option('search_layout') == 'blog') : ?>
                    <div class="">
    
                <?php elseif (rehub_option('search_layout') == 'newslist') : ?>
                    <div class=""> 
    
                <?php elseif (rehub_option('search_layout') == 'communitylist') : ?>
                    <div class="">
    
                <?php elseif (rehub_option('search_layout') == 'deallist') : ?>
                    <div class="woo_offer_list " > 
    
                <?php elseif (rehub_option('search_layout') == 'grid') : ?>
                    <?php  wp_enqueue_script('masonry'); wp_enqueue_script('imagesloaded'); wp_enqueue_script('masonry_init'); ?>                
                    <div class="masonry_grid_fullwidth col_wrap_two">
    
                <?php elseif (rehub_option('search_layout') == 'gridfull') : ?>
                    <?php  wp_enqueue_script('masonry'); wp_enqueue_script('imagesloaded'); wp_enqueue_script('masonry_init'); ?>
                    <div class="masonry_grid_fullwidth col_wrap_three"> 
    
                <?php elseif (rehub_option('search_layout') == 'columngrid') : ?>               
                    <div class="columned_grid_module rh-flex-eq-height col_wrap_three" >
    
                <?php elseif (rehub_option('search_layout') == 'columngridfull') : ?>               
                    <div class="columned_grid_module rh-flex-eq-height col_wrap_fourth">  
                    
                <?php elseif (rehub_option('search_layout') == 'compactgrid') : ?>               
                    <div class="eq_grid post_eq_grid rh-flex-eq-height <?php echo (rehub_option('width_layout') =='extended') ? 'col_wrap_fifth' : 'col_wrap_fourth';?>">
    
                <?php elseif (rehub_option('search_layout') == 'cardblog') : ?>               
                    <div class="coloredgrid rh-flex-eq-height <?php echo (rehub_option('width_layout') =='extended') ? 'col_wrap_fourth' : 'col_wrap_three';?>">  
                    
                <?php elseif (rehub_option('search_layout') == 'cardblogfull') : ?>               
                    <div class="coloredgrid rh-flex-eq-height <?php echo (rehub_option('width_layout') =='extended') ? 'col_wrap_fifth' : 'col_wrap_fourth';?>">                                  
    
                <?php elseif (rehub_option('search_layout') == 'compactgridfull') : ?>               
                    <div class="eq_grid post_eq_grid rh-flex-eq-height <?php echo (rehub_option('width_layout') =='extended') ? 'col_wrap_six' : 'col_wrap_fifth';?>">
    
                <?php elseif (rehub_option('search_layout') == 'dealgrid') : ?>               
                    <div class="eq_grid post_eq_grid rh-flex-eq-height <?php echo (rehub_option('width_layout') =='extended') ? 'col_wrap_fourth' : 'col_wrap_three';?>">
    
                <?php elseif (rehub_option('search_layout') == 'dealgridfull') : ?>               
                    <div class="eq_grid post_eq_grid rh-flex-eq-height <?php echo (rehub_option('width_layout') =='extended') ? 'col_wrap_six' : 'col_wrap_fifth';?>">                                                                      
                <?php else : ?>
                    <div class="">   
                <?php endif ;?>
                <?php if (have_posts()) : ?>
                <?php while (have_posts()) : the_post(); ?>
                    <?php if (rehub_option('search_layout') == 'blog') : ?>
                        <?php include(rh_locate_template('inc/parts/query_type2.php')); ?>
    
                    <?php elseif (rehub_option('search_layout') == 'newslist') : ?>
                        <?php $type='2'; ?>
                        <?php include(rh_locate_template('inc/parts/query_type1.php')); ?> 
    
                    <?php elseif (rehub_option('search_layout') == 'communitylist') : ?>
                        <?php include(rh_locate_template('inc/parts/query_type1.php')); ?>
    
                    <?php elseif (rehub_option('search_layout') == 'deallist') : ?>
                        <?php include(rh_locate_template('inc/parts/postlistpart.php')); ?>                                                
                    <?php elseif (rehub_option('search_layout') == 'grid' || rehub_option('search_layout') == 'gridfull') : ?>
                        <?php include(rh_locate_template('inc/parts/query_type3.php')); ?>
    
                    <?php elseif (rehub_option('search_layout') == 'columngrid' || rehub_option('search_layout') == 'columngridfull') : ?>
                        <?php include(rh_locate_template('inc/parts/column_grid.php')); ?> 
    
                    <?php elseif (rehub_option('search_layout') == 'cardblog' || rehub_option('search_layout') == 'cardblogfull') : ?>
                            <?php include(rh_locate_template('inc/parts/color_grid.php')); ?>                      
    
                    <?php elseif (rehub_option('search_layout') == 'compactgrid' || rehub_option('search_layout') == 'compactgridfull') : ?>
                        <?php $gridtype = 'compact'; include(rh_locate_template('inc/parts/compact_grid.php')); ?>                                              
                    <?php elseif (rehub_option('search_layout') == 'dealgrid' || rehub_option('search_layout') == 'dealgridfull') : ?>
                        <?php include(rh_locate_template('inc/parts/compact_grid.php')); ?>
                 
                    <?php else : ?>
                        <?php include(rh_locate_template('inc/parts/query_type1.php')); ?>  
                    <?php endif ;?>                
                <?php endwhile; ?>
                <?php rehub_pagination(); ?>
                <?php else : ?>     
                    <div class="no-results not-found">
                        <h5><?php esc_html_e('Sorry. No posts in this category yet', 'rehub-theme'); ?></h5> 
                    </div>   
                <?php endif; ?> 
                </div>
                <div class="clearfix"></div>
            </div>  
            <!-- /Main Side -->
            <?php if (rehub_option('search_layout') == 'gridfull' || rehub_option('search_layout') == 'dealgridfull' || rehub_option('search_layout') == 'compactgridfull' || rehub_option('search_layout') == 'columngridfull' || rehub_option('search_layout') == 'cardblogfull' ) : ?>
                <!-- Sidebar -->
            <?php else:?>
                <?php get_sidebar(); ?>
                <!-- /Sidebar --> 
            <?php endif ;?>
        </div>
    </div>
    <!-- /CONTENT -->     
    <!-- FOOTER -->
    <?php get_footer(); ?>
    Thread Starter hallsy

    (@hallsy)

    This is the code in search.php

    
                    <?php elseif (rehub_option('search_layout') == 'columngrid' || rehub_option('search_layout') == 'columngridfull') : ?>
                        <?php include(rh_locate_template('inc/parts/column_grid.php')); ?> 
    
                    <?php elseif (rehub_option('search_layout') == 'cardblog' || rehub_option('search_layout') == 'cardblogfull') : ?>
                            <?php include(rh_locate_template('inc/parts/color_grid.php')); ?>                      
    
                    <?php elseif (rehub_option('search_layout') == 'compactgrid' || rehub_option('search_layout') == 'compactgridfull') : ?>
                        <?php $gridtype = 'compact'; include(rh_locate_template('inc/parts/compact_grid.php')); ?>                                              
                    <?php elseif (rehub_option('search_layout') == 'dealgrid' || rehub_option('search_layout') == 'dealgridfull') : ?>
                        <?php include(rh_locate_template('inc/parts/compact_grid.php')); ?>
                 
                    <?php else : ?>
                        <?php include(rh_locate_template('inc/parts/query_type1.php')); ?>  
                    <?php endif ;?>                
                <?php endwhile; ?>
                <?php rehub_pagination(); ?>
                <?php else : ?>     
                    <div class="no-results not-found">
                        <h5><?php esc_html_e('Sorry. No posts in this category yet', 'rehub-theme'); ?></h5> 
                    </div>   
                <?php endif; ?> 
                </div>
                <div class="clearfix"></div>
            </div>  
            <!-- /Main Side -->
            <?php if (rehub_option('search_layout') == 'gridfull' || rehub_option('search_layout') == 'dealgridfull' || rehub_option('search_layout') == 'compactgridfull' || rehub_option('search_layout') == 'columngridfull' || rehub_option('search_layout') == 'cardblogfull' ) : ?>
                <!-- Sidebar -->
            <?php else:?>
                <?php get_sidebar(); ?>
                <!-- /Sidebar --> 
            <?php endif ;?>
        </div>
    </div>
    <!-- /CONTENT -->     
    <!-- FOOTER -->
    <?php get_footer(); ?>

    And this is in searchform.php

    <?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
    <?php $search_text = (rehub_option("rehub_search_text")) ? rehub_option("rehub_search_text") : esc_html__("Search", "rehub-theme"); ?>
    <?php $posttypes = rehub_option("rehub_search_ptypes");?>
    <?php $posttype = (!empty($posttypes) && is_array($posttypes)) ? implode(',', $posttypes) : 'post'; ?>
    <form  role="search" method="get" class="search-form" action="<?php echo home_url( '/' ); ?>">
      	<input type="text" name="s" placeholder="<?php echo esc_attr($search_text) ;?>" <?php if (rehub_option('rehub_ajax_search') == '1') {echo 'class="re-ajax-search" autocomplete="off"';} ?> data-posttype="<?php echo ''.$posttype;?>">
      	<?php if(rehub_option('rehub_search_ptypes') !='') {echo '<input type="hidden" name="post_type" value="'.$posttype.'" />';}?>
      	<button type="submit" class="btnsearch"><i class="fal fa-search"></i></button>
    </form>
    <?php if (rehub_option('rehub_ajax_search') == '1') {echo '<div class="re-aj-search-wrap"></div>';} ?>

    Is this what you meant Mikko? Thanks so much for your help!

    Thread Starter hallsy

    (@hallsy)

    Oh I only have products selected in the indexing settings tab also because I thought it might be finding in multiple places but obviously not with only products ticked.

    The search query I was testing on was ‘wind’ you should get 2 camping stoves show. Windmaster and windburner

    Thread Starter hallsy

    (@hallsy)

    @liljimmi perfect! I don’t know why that’s there but shall remove it straight away!

    Thank you so much for your help.

    It is a neat stove isn’t it ??

    Thread Starter hallsy

    (@hallsy)

    @liljimmi apologies was working on an unexpected error ??

    Should be fine now.

    I have ticked the page builder compatibility option.

    It appears it doesnt even show the first custom tab now either, just product description.

    • This reply was modified 4 years, 5 months ago by hallsy.
    Thread Starter hallsy

    (@hallsy)

    Hey David,

    I think a moment ago I figured out this was a theme issue so I have gone back to the developers so they can confirm, thanks!

    Thread Starter hallsy

    (@hallsy)

    I will add I don’t have elementor activated so my page is ok at present but I want elementor for some better looking pages and my theme supports it ??

    Thread Starter hallsy

    (@hallsy)

    Sorted.

    where would i edit the coding which tell this plugin to find the field ‘signature’ i would like to have ‘Forum Signature’ instead as i think a few people on my site wont connect signature with forum therfore not bother filling it in.

    Thanks!

    Looking forward to your update!

    Thanks for a great plugin!

    Thread Starter hallsy

    (@hallsy)

    I would be happy if i could just remove the text but leave the header which is now blue by the way. but only on the register page.

    Its working for me on 1.7 and the latest WP.

    @zakariye here you will find the css David used on the demo registration/login page

    https://pastebin.com/C5AFEWMk

    this will need to be placed in the custom.css file you will need to make.

    details on this can be found on various posts in this forum.

    good luck ??

    i have the same problem on my buddypress gallery page on the user profile.

Viewing 15 replies - 1 through 15 (of 23 total)