WordPress.org

Profiles

Taro

Profile picture of Taro
  • Member Since: September 27th, 2011
  • @sicktb on WordPress.org
  • Find me on:

  • Created a topic, Works perfect!, on the site WordPress Support Forums

    3 days ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    ok we are back! domain.com/benelux/sample works correct. The pre_get_postst and $explode[1]; is active again. List…

    3 days ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    I found the problem; and im sorry the region search page was not linked as…

    3 days ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    Any idea why the region no longer appears in the request? This part of your…

    3 days ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    The menu for worldwide was the one from benelux atm i have put back $region…

    4 days ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    i think it has to do with "$region = 'benelux'; //$explode[1];"

    4 days ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    // add region category to main queries add_action('pre_get_posts', 'tg_set_region'); function tg_set_region( $query ) { if…

    4 days ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    crap i have to back-up this forum posts...

    5 days ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    the hidden field is active again in the searchform.php: <?php echo "<input type='hidden' name='category_name' value='$region'…

    6 days ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    i have put it like this: <?php global $region; echo "Region: $region<br>\n"; echo "Referrer: {$_SERVER['HTTP_REFERER']}<br>\n";…

    2 weeks ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    there is a syntax error in that code

    2 weeks ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    Sorry for late replay: i made the change <?php // add region category to main…

    2 weeks ago

  • Posted a reply to "Plugin still works like a charm", on the site WordPress Support Forums:
    Hi Michael, Its already beter than some months ago. I big plus would be the…

    1 month ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    The url still has the region when i remove 'pre_get_posts' the only thing that will…

    1 month ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    When i remove add_action('pre_get_posts', 'tg_set_region'); the menu will not use the 'menu' => $region, it…

    1 month ago

  • Created a topic, Responsive Menu Pro: Download failed., on the site WordPress Support Forums

    1 month ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    i wouldn't call it a fix :) it did remove the region in total...

    1 month ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    That fixed the login problem. Did not fix the riderect to "worldwide/region-search".

    2 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    the only redirect in the htacces is for the custom login page. I had some…

    2 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    The search works! I cant't find a 301 redirect with sample or region in the…

    2 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    I did add the line. When i search for "basel" i get no result. The…

    2 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    I think i misunderstood your reply and removed the $args = array on the posts…

    2 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    Ok im back again, lots of work made; some changed to the website and i…

    2 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    I didn't have time to test the code yet. I changed the post page to…

    2 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    That would be because the query args do not account for pagination. Did you place…

    2 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    Tryed that code but the pagination will not load the correct posts. It loads the…

    2 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    The following link (logo link) redirects to the first page. But i like it to…

    2 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    The new function code did not fix the pagenation in combination with the following code(i…

    2 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    I removed the $region; on searchform.php for now. All seems to work correct. so at…

    2 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    Thanks that works. Last things to make this compleet is the following: 1. Pagination is…

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    I also have a responsive menu activated. What the correct coding to add the region?:…

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    A nevermind; both ways it works, adding the code <?php sparkling_header_menu(); ?> and adding get_header(…

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    The basic pagination is broken again. But this is not because of the code we…

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    did add the echo line: Array ( [0] => [1] => wp-admin ) Just for…

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    the code that you gave me breaks a realy important plugin: wp-admin/edit.php?post_type=sm-location It's a store…

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    Nice discovery getting the nav menu calls to work! Then to make the menu respond…

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    nice that works! Only the navigation buttons are left now... And im going and try…

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    Ok i tryed to do the same for worldwide. I made a copy from the…

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    because we use the page benelux/region-search.php the menu and sidebar are displayed correct! With the…

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    found the problem. Needed to change <?php include (TEMPLATEPATH . '/searchform.php'); ?> to <?php include…

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    i did add the following code to the test page. The sidebar used on this…

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    you can use http://link.com/wp-content/debug.log

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    changed it back to <?php echo "<input type='hidden' name='category_name' value='$region' />"; ?> The search output…

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    fixed the error on line 17 in searchform.php with the following code: <?php if(!empty($region)){?> <?php…

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    fixed one error on region-search.php i did add this code on top of the template:…

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    Notice: Undefined variable: region in link.com/htdocs/www/wp-content/themes/sparkling-child/searchform.php on line 17 also on line 17 = <?php…

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    line 10 = <form role="search" method="get" class="form-search" action="<?php echo esc_url( home_url( "/$region/region-search/" ) ); ?>">

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    i changed it and getting the following error: Notice: Undefined variable: region in link.com/htdocs/www/wp-content/themes/sparkling-child/region-search.php on…

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    ok i changed the code but im getting the following url link: http://link.com/benelux/%3Cbr%20/%3E%3Cb%3ENotice%3C/b%3E:%20%20Undefined%20variable:%20region%20in%20%3Cb%3E/home/vhosting/y/vhost0073381/domains/link.com/htdocs/www/wp-content/themes/sparkling-child/searchform.php%3C/b%3E%20on%20line%20%3Cb%3E11%3C/b%3E%3Cbr%20/%3Ehttp:/link.com/region-search?term=basel&category_name=benelux&submit=Search <?php /**…

    3 months ago

  • Posted a reply to "Search result based on menu category", on the site WordPress Support Forums:
    ok i made the page changes. I'm getting the 404 page when i search on…

    3 months ago