Search Results for 'filter style'

Forums › Forums › Search › Search Results for 'filter style'

Viewing 10 results – 231 through 240 (of 588 total)
  • Author
    Search Results
  • #206089

    Trevor
    Participant

    It depends. Do you think you need more than one field to filter on (what do you envisage the form might look like)? If you need more than one field, you would need more than one taxonomy.

    It is a question of thinking what use is going to be made of the data you have, and organizing it accordingly.

    For me, when designing a website, data structure is the first thing to think of. Not menus, not style (which theme). In fact, theme is the very last thing I focus on. I like to use a theme (any theme) that has no menu system, no style, no layouts, no page builder, no grid builder.

    There are plenty of good free (and ‘premium’, as supporting developers is a good thing) tools to add these to a basic theme. The best theme out there, for me, would be a theme that simply gives you a layout (not page) builder that allows you to place blocks to make the content frame, and drop widgets into those blocks.

    Then use data structuring tools like CPT UI and ACF to build the structure, use Search & Filter Pro to provide the access to the data. There are other similar tools, and they may offer more, but I like the simplicity and portability of these. I don’t like to use feature heavy plugins to offer me what these do (as some tools tend to do, become bloated).

    Then I think about menus. I use one that lets me drop the menu in as a widget or shortcode (Max Mega Menu). Where I think the developer needs supporting (as I use these tools a lot), I tend to buy developer licences of those free plugins, mainly to support the developer and encourage them to keep it supported.

    #204888

    Trevor
    Participant

    Ah, I think I can see. It is the structure of the template, and a few errors in the HTML. Try something like this:

    <?php
    get_header();
    
    ?>
    <div class="page-body style-light-bg">
    	<div class="post-wrapper">
    
            <div class="row row-parent col-std-gutter double-top-padding no-bottom-padding limit-width">
    
    <div class="col-lg-8">
    <div class="post-content style-light double-bottom-padding">
    		
    
    <?php if ( have_posts() ) : ?>
    <tbody class='search-filter-results-list'>
    <table>	
    <tr>
    <td>
         <p>File</p>
    </td>
    <td>
         <p>Name</p>
    </td>
    <td>
         <p>Language</p>
    </td>
    <td>
         <p>Publish Date</p>
    </td>
    <td>
         <p>Download</p>
    </td>
        
    <?php while ( have_posts() ) : the_post(); ?>
    </tr>
    <tr class='search-filter-result-item'>
    
    <td>
         <img src="<?php the_field('file_icon'); ?>" />
    </td>
    <td class="ptitle">
        <a href="<?php the_permalink(); ?>"><?php echo get_the_title(); ?></a>
    </td>
    <td>
        <img src="<?php the_field('language'); ?>" />
    </td>
    <td>
        <?php the_field('publish_date'); ?>
    </td>
    <td>
        <a href="<?php the_field('download'); ?>" target="_blank">Download</a>
    </td>
    
    <?php endwhile; else : ?>
    </tr>
    </table>
    </tbody>
    <?php endif; ?>
    
    </div>
    </div>
    
    		<div class="col-lg-4">
       			<div class="uncol style-light">
          			<div class="uncoltable">
             			 <?php get_sidebar(); ?>
          			</div>
       			</div>
    		</div>
    	</div>
    	</div>
    </div>
    
    										
    <?php get_footer(); ?>

    Then, I have edited the form for you:

    https://www.screencast.com/t/uFpF3rDL4MPg

    #204855

    Anonymous
    Inactive

    Hello I have come across a issue where all my filter content loads in correctly. However if you click elsewhere or visit another window then return it loads in again.

    What would be causing this. Here is my template code

    get_header();
    
    ?>
    <div class="page-body style-light-bg">
    	<div class="post-wrapper">
    
            <div class="row row-parent col-std-gutter double-top-padding no-bottom-padding limit-width">
    
    <div class="col-lg-8">
    <div class="post-content style-light double-bottom-padding">
    		
    <tbody>
    <table>	
    
    <td>
         <p>File</p>
    </td>
    <td>
         <p>Name</p>
    </td>
    <td>
         <p>Language</p>
    </td>
    <td>
         <p>Publish Date</p>
    </td>
    <td>
         <p>Download</p>
    </td>
    
    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <tr>
    
    <td>
         <img src="<?php the_field('file_icon'); ?>" />
    </td>
    <td class="ptitle">
        <a href="<?php the_permalink(); ?>"><?php echo get_the_title(); ?></a>
    </td>
    <td>
        <img src="<?php the_field('language'); ?>" />
    </td>
    <td>
        <?php the_field('publish_date'); ?>
    </td>
    <td>
        <a href="<?php the_field('download'); ?>" target="_blank">Download</a>
    </td>
    
    <?php endwhile; else : ?>
    <?php endif; ?>
    
    </tr>
    </table>
    </tbody>
    
    </div>
    </div>
    
    		<div class="col-lg-4">
       			<div class="uncol style-light">
          			<div class="uncoltable">
             			 <?php get_sidebar(); ?>
          			</div>
       			</div>
    		</div>
    	</div>
    	</div>
    </div>
    
    										
    <?php get_footer(); ?>

    Anonymous
    Inactive

    Hi guys.

    I just purchased the pro version of your wonderful plugin. I want to replicate the style seen in your tutorial video (search/filtering on same page as results are loading, ajax loading):

    https://www.youtube.com/watch?v=cOavBxgslj4&amp;

    How do i get this setup? I have been playing around in the backend, but it’s not really easy to figure out which settings to use, in order to achieve the same results.

    #204004

    Anonymous
    Inactive

    Hello, I’ve recently installed Newspaper theme (by WPion) and Search & Filter Pro and I would like to integrate the plugin and the theme. I have two main concerns:

    1. The searching method, my blog uses /?s= and the plugin a different phrase.
    2. The style of the results page

    I hope you can help me.

    Thanks!

    #203718

    In reply to: Styling the Forms


    Anonymous
    Inactive

    Thanks for your reply. The link is http://wherethunext.504mediasolutions.com. The first search box is for Search and Filter plugin. The 2nd one is a module within my theme thats styled like I wish search and filter to look.

    Thanks!

    #203716

    Trevor
    Participant

    This post might help you:

    https://support.searchandfilter.com/forums/topic/large-search-bar-on-top/page/2/#post-192852

    I also notice that your theme does not disable to list discs, so you will need this:

    #search-filter-form-268 li {
      list-style-type: none;
    }

    Anonymous
    Inactive

    Hi Trevor,

    My first post maybe wasn’t that clear. I apologize. We’re using a custom WP query for this page to show all the activities (activiteiten). When clicking the ‘bekijk activiteit’ button on the activiteiten page it show an error in console from Google Chrome devtools (error in first post) and we can’t figure out what’s causing it.

    The button is working (forwarding to the detail page) when we turn off the ajax setting in the S&F settings.

    This is our custom post type:

    <?php
    
    $atts = shortcode_atts(
    	[
    		'number'    => -1,
    		'orderby'   => 'menu_order',
    		'category' => '',
    	],
    	$atts,
    	'alle_activiteiten'
    );
    
    $numberposts = $atts['number'];
    $order_by    = $atts['orderby'];
    $category    = $atts['category'];
    
    // args.
    $args = array(
    	'post_type'      => 'activiteit', // CPT slug.
    	'posts_per_page' => $numberposts,
    	'post_status'    => 'publish',
    	'orderby'        => $order_by,
        'order'          => 'ASC',
    	'search_filter_id' => 125,
    	'show' => 'results',
    	/*'tax_query'      => array(
    		array(
    			'taxonomy' => 'my_category_slug',
    			'field'    => 'slug',
    			'terms'    => $category,
    			'operator' => 'AND',
    		),
    	),*/
    );
    
    $activiteiten = new WP_Query( $args );
    
    if ( $activiteiten->have_posts() ) :
    	while ( $activiteiten->have_posts() ) :
    		$activiteiten->the_post(); ?>
    	<div class="alleKamersBlok bmargin">
    		<div class="alleKamersImage">
    			<?php the_post_thumbnail('medium-large'); ?>
    		</div>
    		<div class="alleKamersText activiteitenText">
    			<h2><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    			<h4 class="cat"><?php echo get_field("activiteiten_soort_activiteit"); ?></h4>
    			<p><?php echo get_the_content(); ?></p>
                <div class="buttonContainer"><a itemprop="url" href="<?php the_permalink(); ?>" target="_self" class="qbutton  default" style="">Bekijk activiteit</a></div>
    			
    		</div>
    	</div>
    	
    
    		<?php
    	endwhile;
    	wp_reset_postdata();
    
    else :
    	_e( 'Woops! Niks gevonden.', 'flux' );
    endif;
    ?>

    Hope this clears things up.

    #203234

    Anonymous
    Inactive

    Hello Again,

    I hope I’m not testing your limits with this one. I’m using Events Calendar Pro (ECP) and have SF Pro working perfectly on the ECP generated Events page by adding the SF Pro shortcode to the before HTML box in ECP’s settings. However, due to the limitations of that page, and my need to display a full width featured image at the top, I created a separate page using the ECP shortcode to display all events in list form instead.

    By using the ECP shortcode on the new page, it also includes the SF Pro filter included in the ECP settings. Unfortunately it no longer filters the results. I trial’d and error’d many settings but I can’t get it to filter. I’m sure it has something to do with ECP taxonomies but I figured I would ask just in case there is a way to filter specific based on the page itself. The only way I managed to get it to work is by using the SF Pro Shortcode Display method on the new page but I would have to restyle everything from scratch and it doesn’t display everything. Was hoping to avoid that. 🙂

    Thank you in advance for any response.

    #203125

    Anonymous
    Inactive

    Is there, by any chance, a function to add classes to css buttons similar to the one below?

    add_filter( 'gform_submit_button', 'add_custom_css_classes', 10, 2 );
    function add_custom_css_classes( $button, $form ) {
        $dom = new DOMDocument();
        $dom->loadHTML( $button );
        $input = $dom->getElementsByTagName( 'input' )->item(0);
        $classes = $input->getAttribute( 'class' );
        $classes .= " edgtf-btn edgtf-btn-huge edgtf-btn-solid";
        $input->setAttribute( 'class', $classes );
        return $dom->saveHtml( $input );
    }

    I’m using several other plugins, I’ll be duplicating the same blocks of code several times when I can just use the same existing css classes. My stylesheet will get really bloated. 🙂

Viewing 10 results – 231 through 240 (of 588 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.