The forums are closed and will be removed when we launch our new site.
Looking for support? You can access the support system via your account.
Steve Jones
Forum Replies Created
-
Steve Jones in reply to:
Using multiple searches for Avada template(Private) July 18, 2018 at 11:36 am #182817This reply has been marked as private.Steve Jones in reply to:
Using multiple searches for Avada template(Private) July 17, 2018 at 2:00 pm #182760This reply has been marked as private.Steve Jones in reply to:
Using multiple searches for Avada template(Private) July 17, 2018 at 1:40 pm #182750This reply has been marked as private.Steve Jones in reply to:
Using multiple searches for Avada template(Private) July 16, 2018 at 4:11 pm #182647This reply has been marked as private.Steve Jones in reply to:
Displaying results on load(Private) May 10, 2018 at 2:50 pm #176851Hi, yes your right editing the results.php worked better, placed in child theme.
Thanks,
Steve Jones in reply to:
Displaying results on load(Private) May 10, 2018 at 2:23 pm #176848Hi ok i can try that, but the opacity: 0 on the css seems to do the trick, bit of a fudge but seems to be ok. The opacity changes when results change on the page so by setting it to 0 by defaults gives a blank results page until filter options applied, giving opacity 1.
Steve Jones in reply to:
Displaying results on load(Private) May 10, 2018 at 2:02 pm #176839I think I may have found a work around by setting opacity: 0 on #search-filter-results-1751 ID in css by default for the results page, then when someone clicks on one of the filters the opacity changes and shows the filtered results. If theres another way let me know,
Thanks,
Steve Jones in reply to:
Problems with Search & Filter plugin and Avada theme(Private) February 12, 2018 at 5:10 pm #159159Hi thanks for that. ive used a form called search box. the results are then show on a page with the shortcode and filtering options in a sidebar widget – both of the other form which has the filtering i need, thats all fine.
I’ll check out the menu options and icons next.
One thing though, the menu search box is also a feature on the sidebar on many pages – ie. just a search box.
One question, how do I stop the page loading of to the results page as soon as i start typing? It doesn’t let me finish the words im trying to type.Steve Jones in reply to:
Problems with Search & Filter plugin and Avada theme(Private) February 12, 2018 at 4:53 pm #159147Hi, Ok i think i need to just not use the avada search function and switch to using an actual page for my results with the shortcode on.
1 thing I want to do is add a simple search box on the menu to input your search word, then loads the page with the results with filtering options. Is there a way to just grab the input box from the search form to use on the menu when a small magnifying glass icon is clicked?
Steve Jones in reply to:
Problems with Search & Filter plugin and Avada theme(Private) February 12, 2018 at 4:15 pm #159121Avada has changed since these post.
Can someone tell me what parts to remove in this default Avada search.php file.
<?php
/**
* Template for search results.
*
* @package Avada
* @subpackage Templates
*/// Do not allow directly accessing this file.
if ( ! defined( ‘ABSPATH’ ) ) {
exit( ‘Direct script access denied.’ );
}
?>
<?php get_header(); ?>
<section id=”content” <?php Avada()->layout->add_class( ‘content_class’ ); ?> <?php Avada()->layout->add_style( ‘content_style’ ); ?>>
<?php if ( have_posts() && 0 != strlen( trim( get_search_query() ) ) ) : ?><?php if ( ‘bottom’ == Avada()->settings->get( ‘search_new_search_position’ ) ) : ?>
<?php get_template_part( ‘templates/blog’, ‘layout’ ); ?>
<div class=”fusion-clearfix”></div>
<?php endif; ?><?php if ( ‘hidden’ != Avada()->settings->get( ‘search_new_search_position’ ) ) : ?>
<div class=”search-page-search-form search-page-search-form-<?php echo esc_attr( Avada()->settings->get( ‘search_new_search_position’ ) ); ?>”>
<?php
/**
* Render the post title
*/
echo avada_render_post_title( 0, false, esc_html__( ‘Need a new search?’, ‘Avada’ ) ); // WPCS: XSS ok.
?>
<p><?php esc_html_e( ‘If you didn\’t find what you were looking for, try a new search!’, ‘Avada’ ); ?></p>
<form class=”searchform seach-form” role=”search” method=”get” action=”<?php echo esc_url_raw( home_url( ‘/’ ) ); ?>”>
<div class=”search-table”>
<div class=”search-field”>
<label class=”screen-reader-text” for=”searchform”><?php esc_attr_e( ‘Search for:’, ‘Avada’ ); ?></label>
<input id=”searchform” type=”text” value=”” name=”s” class=”s” placeholder=”<?php esc_html_e( ‘Search …’, ‘Avada’ ); ?>” required aria-required=”true” aria-label=”<?php esc_html_e( ‘Search …’, ‘Avada’ ); ?>”/>
</div>
<div class=”search-button”>
<input type=”submit” class=”searchsubmit” value=”” alt=”<?php esc_attr_e( ‘Search’, ‘Avada’ ); ?>” />
</div>
</div>
</form>
</div>
<?php endif; ?><?php if ( ‘top’ == Avada()->settings->get( ‘search_new_search_position’ ) || ‘hidden’ == Avada()->settings->get( ‘search_new_search_position’ ) ) : ?>
<?php get_template_part( ‘templates/blog’, ‘layout’ ); ?>
<?php endif; ?><?php else : ?>
<div class=”post-content”>
<?php Avada()->template->title_template( esc_html__( ‘Couldn\’t find what you\’re looking for!’, ‘Avada’ ) ); ?>
<div class=”error-page”>
<div class=”fusion-columns fusion-columns-3″>
<div class=”fusion-column col-lg-4 col-md-4 col-sm-4″>
<h1 class=”oops”><?php esc_html_e( ‘Oops!’, ‘Avada’ ); ?></h1>
</div>
<div class=”fusion-column col-lg-4 col-md-4 col-sm-4 useful-links”>
<h3><?php esc_html_e( ‘Helpful Links:’, ‘Avada’ ); ?></h3>
<?php $circle_class = ( Avada()->settings->get( ‘checklist_circle’ ) ) ? ‘circle-yes’ : ‘circle-no’; ?>
<?php
wp_nav_menu(
array(
‘theme_location’ => ‘404_pages’,
‘depth’ => 1,
‘container’ => false,
‘menu_class’ => ‘error-menu list-icon list-icon-arrow ‘ . $circle_class,
‘echo’ => 1,
‘item_spacing’ => ‘discard’,
)
);
?>
</div>
<div class=”fusion-column col-lg-4 col-md-4 col-sm-4″>
<h3><?php esc_html_e( ‘Try again’, ‘Avada’ ); ?></h3>
<p><?php esc_html_e( ‘If you want to rephrase your query, here is your chance:’, ‘Avada’ ); ?></p>
<?php echo get_search_form( false ); ?>
</div>
</div>
</div>
</div>
<?php endif; ?>
</section>
<?php do_action( ‘avada_after_content’ ); ?>
<?php
get_footer();/* Omit closing PHP tag to avoid “Headers already sent” issues. */
-
AuthorPosts