Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Xanderrr

    (@xanderrr)

    Hi,

    Thank for the quick reply.
    Can I send u the link by e-mail?
    Which emailadress I can use?

    Thanks!

    Gr. Xander

    Thanks for your feedback.

    I combined all the searchforms/filters on/in one page, for now that will do 🙂

    Have a good weekend!

    Hi,

    Thanks for the fast reply, this is the error message:

    Server error
    The website encountered an error while retrieving . It may be down for maintenance or configured incorrectly.
    Here are some suggestions:
    Reload this webpage later.
    HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

    Hi there,

    Iam running into some problems while trying to set up my Advance WP Query Search Filter search forms…..
    I have 4 different search forms and i want to display the search results on (4) different specific pages (templates)

    My search.php file:

    ————————————————————————
    <?php
    /*
    Template Name: Search Page
    */
    get_header(); ?>

    <div id=”container”>

    <div id=”page”>

    <div id=”tekst”>

    <div id=”sidebar”>

    “><img src=”<?php bloginfo(‘template_directory’); ?>/images/logo.png” alt=”Naar Home”> <!– logo –>

    <h2>T: +31 (0)6 145 144 10</h2>

    <div id=”verhuurknop”> “>VERHUUR</div>
    <div id=”verkoopknop”>VERKOOP</div>

    <div id=”sidebarwidget”>

    <?php echo do_shortcode(“[awsqf-form id=12]”); ?> <!– zoekopties in sidebar –>

    <?php get_sidebar(); ?>

    </div>

    </div> <!– einde sidebar –>

    <div id=”tekstblok”>

    <div id=”titel”>

    <h1><?php the_title(); ?></h1> <!– titelpagina –>

    </div> <!– einde titel pagina –>

    <div id=”tekstcontent1kolom”> <!– een kolom template –>

    <div id=”post”>
    <? /*Begin Content area Query*/ ?>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <?php endwhile; ?>
    <?php

    if(wp_verify_nonce($query->query_vars[‘s’], ‘awqsfsearch’) ) //this will verify that the search is from the plugin
    {
    if($_GET[‘formid’] == ’12’){
    include ‘search.php’ ;
    }
    if($_GET[‘formid’] == ‘128’){
    include ‘search-us.php’ ;
    }
    if($_GET[‘formid’] == ‘191’){
    include ‘search-verkoop.php’ ;
    }
    if($_GET[‘formid’] == ‘595’){
    include ‘search-verkoop-us.php’ ;
    }
    else { ?>
    }
    <? /*End Content area Query*/ ?>

    </div>

    </div> <!– einde tekstblok –>

    </div>
    <?php get_footer(); ?>
    ————————————————————————

    When I use this on the website i get a server error, what am i doing wrong?!

    Thanks in advance,

    Kind regards,
    Xander

Viewing 4 replies - 1 through 4 (of 4 total)