Support » Plugin: GEO my WordPress » Results Page Layouts

  • Resolved nerdforhire


    Is there a way to have custom coded layouts for the results pages for each form? I have 3 forms set up which I need to place the map in my right column and one search form that will have just the map in the main left content area.

    I was looking for solutions on your website support forums but they are now unavailable.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Eyal Fitoussi


    Hi groldan,
    the only way i see is using CSS to move things around. However, there is no unique class for each of the forms right now which will cause the CSS changes you make to apply to all forms.
    what you can do is open the get-places.php file in the plugin’s folder and look for that line:
    echo '<div class="id="wppl-output-wrapper" style="width:'; echo ($main_wrapper_width) ? $main_wrapper_width.'px' : '100%'; echo '">';

    and change it to :
    echo '<div class="wppl-output-wrapper-'. $_GET['wppl_form'] . '" id="wppl-output-wrapper" style="width:'; echo ($main_wrapper_width) ? $main_wrapper_width.'px' : '100%'; echo '">';

    this will add a unique class for each form by its form id for example:
    class=”wppl-output-wrapper-1″ for form number 1.

    this way you can apply different CSS styling for each of your forms.

    I have been able to style the forms and get the checkboxes working. I am now trying to stylize the results page so my results listing is on the left and the map is on the right in one result page and just have the map in the main left column in another result page template.

    You can check out the site here

    each of my forms is in the right hand at the top. Click on the “by county tab” and you can see that form click on the “by map” and it should take you to a page displaying a map.

    the results for by county, by use and zip code is what I am trying to work on

    Thank you so far for all your help 🙂

    Plugin Author Eyal Fitoussi


    You are welcome. And I really like the way you modified everything. The form and the results looks awesome. Definitely gave me few ideas how to improve te plugin.
    Thank you

    Sure I noticed you still have no instructions on installation pages or in the file downloads. I’m sure this project is pretty overwhelming and I do appreciate how much work you have done. If you need help with front end work, maybe making more custom themes or creating documentation, I’ll lend a hand.

    I ended up just calling the results shortcode twice and hiding certain parts in each section’s call. Seems dirty but I am short on time with this project. A few ideas I had were to have page templates were you could call the results loop and the results map separate.

    Plugin Author Eyal Fitoussi


    Overwhelming is not strong enough to describe it. 🙂 i have been working around the clock specially over the past two months (after the last updated). I have been heavily working on cleaning up and improving the code, fixing lots of bugs and adding many new features. i am at the same time redoing the GEO my WP site. Giving it a new clean and shiny look, organizing the information and so on. i am trying to have this major update together with the new site ready by the new year. when done doing so i will then go back to the documentation and finish it up and hopefully start working on localization as well.

    I can probably add the ability to use multiple result pages to use with the different forms. so for example when creating a shortcode i will add a checkbox to use a unique results page. than all the admin will have to do is duplicate the results.php page and rename it results_1.php and that is the file the shortcode will upload.

    i will also think of a way to have the map displayed in one sections and the results in a different section.

    i have been also working on an ajax solution for the plugin. so instead of page reloading when running a search it will all dynamically happen.

    And if you have have themes that you can send i will be more than happy to add them to the plugin and i am pretty sure the users will be thankful as well.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Results Page Layouts’ is closed to new replies.