Plugin Directory

Changeset 1392057


Ignore:
Timestamp:
04/11/2016 01:32:24 PM (10 years ago)
Author:
imseosrl
Message:

tested with 4.4.2 and frontend cde optimized

Location:
search-storm/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • search-storm/trunk/changelog.txt

    r850678 r1392057  
    1717- Fixed problems loading locale
    1818- Add custom css in admin
     19
     20# 11/04/2016
     21- Tested with Wp 4.4.2
     22- Frontend code Optimized
  • search-storm/trunk/index.php

    r981785 r1392057  
    11<?php
    22/*
    3 Plugin Name: Search Storm
     3Plugin Name: Multiple Category Search Storm
    44Plugin URI:
    55Description: Storm Search allows you to search for an article by combining multiple categories
    66Storm Search allows you to search entering a keyword without selecting a category or entering a keyword and selecting one or more categories
    7 Version: 1.4
    8 Author: Wallaceer
    9 Author URI: http://imseo.it/wallaceer
     7Version: 1.5
     8Author: IMSEO
     9Author URI: http://imseo.it/
    1010*/
    1111
    1212/*
    13 Copyright (C) 2012 Wallaceer, http://cloudbox.it/wallaceer ([email protected])
     13Copyright (C) 2012-16 IMSEO, http://imseo.it/ ([email protected])
    1414
    1515This program is free software; you can redistribute it and/or modify
     
    8484    #if($ss_cat1 != ''):
    8585            $ss_cat1_name = ss_category_get($ss_cat1);
    86             $x1 = get_category_children_only($ss_cat1, $ss_cat1_name['name']);
     86            $wss_cat1 = isset($_GET[$ss_cat1_name['name']]) ? $_GET[$ss_cat1_name['name']] : $ss_cat1_name['name'];
     87            $x1 = get_category_children_only($ss_cat1, $wss_cat1);
    8788            if(!is_null($x1)):
    8889                $w .= '<div id="ss_content_box1">';
     
    9798       if($ss_cat2 != ''):
    9899           $ss_cat2_name = ss_category_get($ss_cat2);
    99        
    100        $x2 = get_category_children_only($ss_cat2, $_GET[$ss_cat2_name['name']]);
     100       
     101       $wss_cat2 = isset($_GET[$ss_cat2_name['name']]) ? $_GET[$ss_cat2_name['name']] : $ss_cat2_name['name'];
     102       $x2 = get_category_children_only($ss_cat2, $wss_cat2);
    101103    if(!is_null($x2)):
    102104            $w .= '<div id="ss_content_box2">';
     
    112114            $ss_cat3_name = ss_category_get($ss_cat3);
    113115       
    114         $x3 = get_category_children_only($ss_cat3, $_GET[$ss_cat3_name['name']]);
     116        $wss_cat3 = isset($_GET[$ss_cat3_name['name']]) ? $_GET[$ss_cat3_name['name']] : $ss_cat3_name['name'];
     117        $x3 = get_category_children_only($ss_cat3, $wss_cat3);
    115118        if(!is_null($x3)):
    116119            $w .= '<div id="ss_content_box3">';
     
    125128        if($ss_cat4):
    126129            $ss_cat4_name = ss_category_get($ss_cat4);
    127         $x4 = get_category_children_only($ss_cat4, $_GET[$ss_cat4_name['name']]);
     130       
     131        $wss_cat4 = isset($_GET[$ss_cat4_name['name']]) ? $_GET[$ss_cat4_name['name']] : $ss_cat4_name['name'];
     132        $x4 = get_category_children_only($ss_cat4, $wss_cat4);
    128133        if(!is_null($x4)):
    129134            $w .= '<div id="ss_content_box4">';
  • search-storm/trunk/readme.txt

    r981785 r1392057  
    1 === Search Storm ===
     1=== Multiple Category Search Storm ===
    22Contributors: wallaceer
    33Donate link:
    44Tags: widget, sidebar, search, form, storm, categories, category, cross, cross-lookup
    55Requires at least: 1.0
    6 Tested up to: 4.0
    7 Stable tag: 1.4
     6Tested up to: 4.4.2
     7Stable tag: 1.5
    88License: GPLv2 or later
    99
     
    9393= 1.4 =
    9494* Tested with WP 4.0
     95
     96= 1.5 =
     97* Tested with Wp 4.4.2
     98* Frontend code Optimized
Note: See TracChangeset for help on using the changeset viewer.