Dorvalla
Forum Replies Created
-
Forum: Plugins
In reply to: [Live Composer - Free WordPress Website Builder] Adding LC support to CPTFigured it out, never mind. $CPT just contains the names as key.
function moods_add_post_templates_support( $cpt ) { $cpt['mood'] = 'moods'; return $cpt; } add_filter( 'dslc_post_templates_post_types', 'moods_add_post_templates_support' );
the $cpt[‘xxx’] <– needs to be named after the cpt name, and the value is the name of the label.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Bug: Script not excecutableHi Sunny, thank you for the reply. I took my time to google all this (this is new information for me and not sure how to implement this).
So does this technically mean i need to add something in the htaccess / remove something from the htaccess?
And since this is a security measure of the browser, shouldn’t you guys made the changes for it in the code? Or do I see this wrong?
Forum: Plugins
In reply to: [SalesFeed] Salesfeed creates constant popupForum: Plugins
In reply to: [SalesFeed] Salesfeed creates constant popupWe narrowed down the conflicting part, which should be added to your list (and to the list of MonsterInsight’s) as we discovered the Google Analytics plugin from them is conflicting and causing our clients site to bug.
I ‘d like you guys to confirm this as well.
It’s Google Analytics by Monsterinsight (used to be Yoast) Their plugin page
Forum: Plugins
In reply to: [qTranslate X] Pick 2 specifc languages from already picked languagesFor now, i solved it with a bit of javascript, and it will hide the flag depending on the pagbe I am. For those intrested in the code.
var s = window.location.pathname; var page = s.split("/"); p=page[4]; i=page[3] var pagina = p=page[4]; var pag = i=page[3] if (pagina === "amsterdam" || pag === "amsterdam") { document.getElementsByClassName('lang-pl')[0].style.display = "none" } else if (pagina === "gdynia" || pag === "gdynia") { document.getElementsByClassName('lang-nl')[0].style.display = "none" }
the double check on the parameter is because the standard language is being removed from the link, this causes a different ammount of query items returned. So when I set it to english which is the main language, it changes. Now i see if i can force it to show automaticly in a certain language (polish page to polish, dutch page to dutch)
Anyway, thanks for the help Gunu ??
Forum: Plugins
In reply to: [qTranslate X] Pick 2 specifc languages from already picked languagesThe thing is that it renders the Polish flag useless on the Dutch page. Is there a way I can hide that? (I left the Polish content blank on that page, but if i click on the polish flag it renders a page with zero content which is not how it should be displayed.) I am just seeking a way to hide the Polish flag than. So I was hoping if I could acces the function
qtranxf_generateLanguageSelectCode('image')
to modify the array so when I am on a certain page the flag wont appear.I hope you understand what I mean.