Vanderklompen
Forum Replies Created
-
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Text if there is no matchI’m already moving it to a child theme before as you mentioned in your first reply.
Anyway, I’ve been following this support page for a long time, so I know the directions about the “child theme” tricks.
Thanks for the knowledge….
- This reply was modified 2 years, 11 months ago by Vanderklompen.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Text if there is no matchhere’s my code, hope useful. Thanks
if ( empty($data) ) { echo '<div class="nomatches">' . "New events coming soon!" . '</div>'; }
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Text if there is no matchOk no problem… I asked mr. Google and solved.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Text if there is no matchJust tried it, and it worked!
Glad to see your answer after 2 days of waiting. I really appreciate this.by the way, how to give “div class” into text …echo? I mean for styling… as you know I’m not familiar with php, but i could try it.
Forum: Plugins
In reply to: [Autoptimize] How exclude single post?it seem working…. but maybe i have a little problem with the cache. anyway thanks for your time
Forum: Plugins
In reply to: [Autoptimize] How exclude single post?hi. is that code exclude all my single post from autoptimize? as you know all my post has “.html” at the end of the slug.
Forum: Plugins
In reply to: [Autoptimize] How exclude single post?Im glad Thanks.. I need code snippet you mention above.
Forum: Plugins
In reply to: [Helper Lite for PageSpeed] Amp page become invalidok.. i hope you could make this plugin work with any amp. maybe with exclude amp url or something handy to make this plugin stay lite but working on amp.
Forum: Plugins
In reply to: GTranslate CODE in HEADERTry the code below
first change YOUR-DOMAIN in src parameter with your domain.<!-- start #gtranslate --> <a class="gflag" style="background-position:-0px -0px;" title="English" href="javascript:doGTranslate('en|en')"> <img width="16" height="16" alt="English" src="https://YOUR-DOMAIN/wp-content/plugins/gtranslate/blank.png"> </a> <a class="gflag" style="background-position:-200px -100px;" title="French" href="javascript:doGTranslate('en|fr')"> <img width="16" height="16" alt="French" src="https://YOUR-DOMAIN/wp-content/plugins/gtranslate/blank.png"> </a> <a class="gflag" style="background-position:-300px -100px;" title="German" href="javascript:doGTranslate('en|de')"> <img width="16" height="16" alt="German" src="https://YOUR-DOMAIN/wp-content/plugins/gtranslate/blank.png"> </a> <a class="gflag" style="background-position:-600px -100px;" title="Italian" href="javascript:doGTranslate('en|it')"> <img width="16" height="16" alt="Italian" src="https://YOUR-DOMAIN/wp-content/plugins/gtranslate/blank.png"> </a> <a class="gflag" style="background-position:-300px -200px;" title="Portuguese" href="javascript:doGTranslate('en|pt')"> <img width="16" height="16" alt="Portuguese" src="https://YOUR-DOMAIN/wp-content/plugins/gtranslate/blank.png"> </a> <a class="gflag" style="background-position:-500px -200px;" title="Russian" href="javascript:doGTranslate('en|ru')"> <img width="16" height="16" alt="Russian" src="https://YOUR-DOMAIN/wp-content/plugins/gtranslate/blank.png"> </a> <a class="gflag" style="background-position:-600px -200px;" title="Spanish" href="javascript:doGTranslate('en|es')"> <img width="16" height="16" alt="Spanish" src="https://YOUR-DOMAIN/wp-content/plugins/gtranslate/blank.png"> </a> <br> <select onchange="doGTranslate(this);"> <option value="">Select Language</option> <option value="en|af">Afrikaans</option> <option value="en|sq">Albanian</option> <option value="en|ar">Arabic</option> <option value="en|hy">Armenian</option> <option value="en|az">Azerbaijani</option> <option value="en|eu">Basque</option> <option value="en|be">Belarusian</option> <option value="en|bg">Bulgarian</option> <option value="en|ca">Catalan</option> <option value="en|zh-CN">Chinese (Simplified)</option> <option value="en|zh-TW">Chinese (Traditional)</option> <option value="en|hr">Croatian</option> <option value="en|cs">Czech</option> <option value="en|da">Danish</option> <option value="en|nl">Dutch</option> <option value="en|en">English</option> <option value="en|et">Estonian</option> <option value="en|tl">Filipino</option> <option value="en|fi">Finnish</option> <option value="en|fr">French</option> <option value="en|gl">Galician</option> <option value="en|ka">Georgian</option> <option value="en|de">German</option> <option value="en|el">Greek</option> <option value="en|ht">Haitian Creole</option> <option value="en|iw">Hebrew</option> <option value="en|hi">Hindi</option> <option value="en|hu">Hungarian</option> <option value="en|is">Icelandic</option> <option value="en|id">Indonesian</option> <option value="en|ga">Irish</option> <option value="en|it">Italian</option> <option value="en|ja">Japanese</option> <option value="en|ko">Korean</option> <option value="en|lv">Latvian</option> <option value="en|lt">Lithuanian</option> <option value="en|mk">Macedonian</option> <option value="en|ms">Malay</option> <option value="en|mt">Maltese</option> <option value="en|no">Norwegian</option> <option value="en|fa">Persian</option> <option value="en|pl">Polish</option> <option value="en|pt">Portuguese</option> <option value="en|ro">Romanian</option> <option value="en|ru">Russian</option> <option value="en|sr">Serbian</option> <option value="en|sk">Slovak</option> <option value="en|sl">Slovenian</option> <option value="en|es">Spanish</option> <option value="en|sw">Swahili</option> <option value="en|sv">Swedish</option> <option value="en|th">Thai</option> <option value="en|tr">Turkish</option> <option value="en|uk">Ukrainian</option> <option value="en|ur">Urdu</option> <option value="en|vi">Vietnamese</option> <option value="en|cy">Welsh</option> <option value="en|yi">Yiddish</option> </select> <script type="text/javascript"> //<![CDATA[ if(jQuery.cookie('glang') && jQuery.cookie('glang') != 'en') jQuery(function($){$('body').translate('en', $.cookie('glang'), {toggle:true, not:'.notranslate'});}); function doGTranslate(lang_pair) {if(lang_pair.value)lang_pair=lang_pair.value;var lang=lang_pair.split('|')[1];jQuery.cookie('glang', lang, {path: '/'});jQuery(function($){$('body').translate('en', lang, {toggle:true, not:'.notranslate'});});} //]]> </script> <noscript>Javascript is required to use this <a href="https://edo.webmaster.am/gtranslate">website translator</a>, <a href="https://edo.webmaster.am/gtranslate">site translator</a>, <a href="https://edo.webmaster.am/gtranslate">automatic translation</a>, <a href="https://edo.webmaster.am/gtranslate">free translation</a></noscript> <!-- end #gtranslate -->