Chet
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Engine GeoTarget] Redirect loopHey Taylor –
Thanks! Can I ask a quick follow-up?
I am redirecting people in Missouri to a sub-site on a multisite installation. I also want to not redirect them for one page. Would this work?
function region_geo_redirect() { $region = getenv("HTTP_GEOIP_REGION"); if ( '/sub-site-url' != str_replace( home_url(), '', get_permalink() ) || '/page-on-main-site' != str_replace( home_url(), '', get_permalink() ) || ( 'MO' != $region ) || is_user_logged_in() ) { return; } wp_redirect( home_url( "/sub-site-url" ) ), 301 ); exit; } add_action("init", "region_geo_redirect" );
Forum: Fixing WordPress
In reply to: Will not let me loginHey –
Your www.remarpro.com account is not related to your website. Perhaps you are thinking wordpress.com?
How did you set up your website?
Hey.
the collation is the same. There were no non anii characters. What was added were “/” around text within quotes.
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] jQuery is not defined errorI am moving the jquery to the footer. Thanks for the quick reply!
Hey Scribu! Now I know what I am dealing with:
The thing that I can’t figure out is the resulting URL from the plugin’s query, when there is only one taxonomy, seems to be rewritten, so that it is site.com/taxonomy. But when there are two or more taxonomies chosen there is no rewrite system, and the URL comes out with as the raw query string. Is there a way to change that so that the URL is, like, site.com/taxonomy1/taxonomy2/taxonomy3/ ?
Thanks.
Thanks, Scribu, that works.
OK. Last question, cause I am a newbie too close to having an AWESOME widget….
I would like to style the result pages that occur from the query differently than the rest of the site, but I am not sure how to do that. Are the results pages a specific template? Likewise, I am confused by the URL structure: /?”tax”=”term”&”tax_2″=”term”.
And if I should just do my own research, maybe you could point me in the right direction? Thanks.
Scribu, thanks! I respect your patience.
But, that function didn’t work. The site just resolves now to a blank page.
Hey Scribu.
So, I read that GD tools can conflict with your plugin, so I deactivated it and now QMT works! It’s awesome.
Why is it that GD tools conflicts with your plugin?
Also, and sorry I don’t how to explain this clearly, but I have three taxonomies set up to search. When there is a post that matches all three, it works perfect. But when there isn’t a post that matches, I am taken to a 404 page. Is there a way for me to customize the 404 page just for these searches and not site-wide?
Hey.
I think that I am having the same problem as dimsum.
I am running the development version of QMT, and have the widget set up for three taxonomy fields. But the output is always just the final taxonomy chosen. It’s as though I chose just the one taxonomy.
You can see what I mean here, the “Find a Restaurant” widget.
I am using a custom loop in my theme, to answer dimsum’s question.
Thanks!