• Resolved cvalerio

    (@cvalerio)


    hello, I just started to use your wp smart property. I love it but after I create a listing, add the search widget and actually search, it says it can’t find any properties/posts every time. If i use the search function on the main site, the property is there. When I click it, it says it can’t be found. Please help. I can see it’s using the basic formatting of my template, which is great. Sorry, I am a novice and just starting to use wordpress.

    https://www.ads-software.com/plugins/wp-smart-property/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Rajan Vijayan

    (@rajanit2000)

    Hi cvalerio.,

    Please check your theme file named as search.php. Is any custom code here? if yes please let me know.

    Please follow the step for creating search result page

    Creating_a_Search_Page

    Thread Starter cvalerio

    (@cvalerio)

    Hi again,
    The following is what the theme developer says about the search.php page and below that is the code from the page.

    “If you need to tweak the search template modify wp-content/themes/enfold/search.php and wp-content/themes/enfold/includes/loop-search.php. For detailed instructions contact the plugin author please because we can’t provide support for third party plugin implementations. You can use this plugin to maximize the search power of your website: SearchWP

    Refer to this link in order to integrate the plugin on ajax search: https://www.kriesi.at/documentation/enfold/use-searchwp-instead-of-the-standard-search/”

    The code from searach.php:

    <?php
    global $avia_config;

    /*
    * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
    */
    get_header();

    $results = avia_which_archive();
    echo avia_title(array(‘title’ => $results ));
    ?>

    <div class=’container_wrap container_wrap_first main_color <?php avia_layout_class( ‘main’ ); ?>’>

    <div class=’container’>

    <main class=’content template-search <?php avia_layout_class( ‘content’ ); ?> units’ <?php avia_markup_helper(array(‘context’ => ‘content’));?>>

    <div class=’page-heading-container clearfix’>
    <section class=”search_form_field”>
    <?php
    echo “<h4>”.__(‘New Search’,’avia_framework’).”</h4>”;
    echo “<p>”.__(‘If you are not happy with the results below please do another search’,’avia_framework’).”</p>”;

    get_search_form();
    echo “<span class=’author-extra-border’></span>”;
    ?>
    </section>
    </div>

    <?php
    if(!empty($_GET[‘s’]))
    {
    echo “<h4 class=’extra-mini-title widgettitle’>{$results}</h4>”;

    /* Run the loop to output the posts.
    * If you want to overload this in a child theme then include a file
    * called loop-search.php and that will be used instead.
    */
    $more = 0;
    get_template_part( ‘includes/loop’, ‘search’ );

    }

    ?>

    <!–end content–>
    </main>

    <?php

    //get the sidebar
    $avia_config[‘currently_viewing’] = ‘page’;

    get_sidebar();

    ?>

    </div><!–end container–>

    </div><!– close default .container_wrap element –>

    <?php get_footer(); ?>

    Plugin Author Rajan Vijayan

    (@rajanit2000)

    Cvalerio.,

    Just try another theme and let me know if you have same error

    Thread Starter cvalerio

    (@cvalerio)

    The search works find with the 2012 theme. Is there something I can tell my theme’s support to get this working? I really like both your products. Wish I knew more about this…

    Plugin Author Rajan Vijayan

    (@rajanit2000)

    Thankyou cvalerio.,

    give me your rating and feedback of my plugin. its very useful to develop my next update

    Thread Starter cvalerio

    (@cvalerio)

    I am happy to provide you with feedback and rate the plugin. Is there something I can do to get this working on my paid for theme? I don’t want to use another theme.

    Plugin Author Rajan Vijayan

    (@rajanit2000)

    Can you give me your url and theme name

    Thread Starter cvalerio

    (@cvalerio)

    Hi, sorry for the delay in getting back to you. You can see the search function not working here: https://www.drproperties.org/test/?p=3981 and the theme name is Enfold. It just isn’t finding the properties through the search or even when I hit preview. I really like your software and want to use it.

    Colleen

    Plugin Author Rajan Vijayan

    (@rajanit2000)

    Hi Colleen.,

    Its working. you need to be edit search result page design. functionally its working fine.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘listings not found?’ is closed to new replies.