WordPress.org

Ready to get started?Download WordPress

Forums

Custom Fields Search Plugin to stick widget at SRP (5 posts)

  1. M Szatkowski
    Member
    Posted 3 years ago #

    Hi
    I'm using 3 Presets of WP Custom Fields Search Plugin on 3 different pages.

    When I'm using one of presets on a page, I'm loosing this search box in a sidebar.

    Is it possible to stick a proper box with chosen select fields in a sidebar?

  2. M Szatkowski
    Member
    Posted 3 years ago #

    The box dissapear at search results page.

  3. M Szatkowski
    Member
    Posted 3 years ago #

    If I could use is_page, is_tax or something like that in a sidebar to display this widget - it would be fine....

    any ideas?

  4. M Szatkowski
    Member
    Posted 3 years ago #

    ok I added a following code to the search results sidebar, but how to differ these versions of 'if exist' ?

    <?php if(function_exists('wp_custom_fields_search'))
    	wp_custom_fields_search(); ?>
    
    	<?php if(function_exists('wp_custom_fields_search'))
    	wp_custom_fields_search('preset-1'); ?>
    
    	<?php if(function_exists('wp_custom_fields_search'))
    	wp_custom_fields_search('preset-2'); ?>
  5. M Szatkowski
    Member
    Posted 3 years ago #

    any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic