hiulit
Forum Replies Created
-
I’ve just unchekecd the “force rewrite” and now it’s working again! 🙂
@jsp_1983 How did you fix it?
Hey, this is happening to me too.
I’ve send you and email Joost.I have the latest version of the plugin (the one you launched today?) and it still doesn’t work.
my header looks like this:
<title><?php wp_title(”); ?></title>
And I also have set the “force rewrite”.
It was working before the last 2 updates…Forum: Plugins
In reply to: [Plugin: Search Light] Compatibility with WPMLI’ve got it!
For example:
echo '<h1>'.$count.' '. __('results', 'your_theme') .'</h1>';Forum: Plugins
In reply to: [Plugin: Search Light] Compatibility with WPMLNow I’d like to integrate the translation function, like:
_e(‘Search results’, ‘youtheme’);
But I can’t figure it out.
I’ve done something, but then the CSS crashes… weird.Forum: Plugins
In reply to: [Search Light] [Plugin: Search Light] Search option for fewer queriesI’ve found this on their forum
Really like this plugin guys.
I’ve modified a few things in it for myself. I have added a custom post type search (unfortunately, I’m not that good at coding, so I just did it for MY custom post types, I don’t know of a way to make it easy for anyone else by just using a settings page) and I have modified the ajax.js so that it doesn’t start until at least 3 characters have been put in and there is also a small delay to accommodate for people typing a little slower (and thus not crawl the whole database after every single character they put in).
For anyone who wants this last change, open up the ajax.js file and go to line 94. Change the “1″ to the amount of characters you like as a minimum.
Comment line 95 by putting two frontslashes before it “//”
Remove the frontslashes from line 96, change the value to anything you like as delay (in miliseconds I believe, so the 220 that is there at the moment stands for 0.22sec)Anyway, that’s a little how-to, but I’d rather like to know if we’re going to have these features in a next release:
– set minimum characters allowed
– set a delay
– display custom post type(s)hope it works 😉
Forum: Plugins
In reply to: [Plugin: Search Light] Compatibility with WPMLI think I just figured it out!!
Go to “searchLight.php” on line 185:
$sql_where = ” WHERE ” . $sql_where;
and just add:
$sql_where = ” WHERE ” . $sql_where . ” AND ID IN (SELECT element_id FROM wp_icl_translations WHERE language_code = ‘$lang’)”;
Of course you have to specify the $lang, for that, just use:
$lang = ICL_LANGUAGE_CODE;
before the query.
This has to be done too on line 200
It seems to be working for me! 🙂
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Loader gid just doesn't display anymoreOK! Got it!
I just deleted the “if ( wpcf7_script_is() ) { “
So now it looks like:
$src = apply_filters( ‘wpcf7_ajax_loader’, wpcf7_plugin_url( ‘images/ajax-loader.gif’ ) );
$html .= ‘<img class=”ajax-loader” style=”visibility: hidden;” alt=”‘ . esc_attr( __( ‘Sending …’, ‘wpcf7’ ) ) . ‘” src=”‘ . esc_url_raw( $src ) . ‘” height=”16px” width=”16px” />’;I also added the “height=”16px” width=”16px” just in case
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Loader gid just doesn't display anymoreMaybe this could help…
if ( wpcf7_script_is() ) { $src = apply_filters( 'wpcf7_ajax_loader', wpcf7_plugin_url( 'images/ajax-loader.gif' ) ); $html .= '<img class="ajax-loader" style="visibility: hidden;" alt="' . esc_attr( __( 'Sending ...', 'wpcf7' ) ) . '" src="' . esc_url_raw( $src ) . '" />'; }This is where the script appends the image
v