rufein
Forum Replies Created
-
Forum: Plugins
In reply to: [mqtranslate langcode widget selector] qTranslate XI’ve added support for qtranslate-X
Enjoy it.
I’ve added compatibility.
Enjoy it.
Forum: Plugins
In reply to: [mqtranslate langcode widget selector] Load MTranslate Flags instead of textHi,
You can add flags with the original switcher in mq translate plugin.
I developed this module because the structure of the widget was rigid. There was no filter to alter then content in the selector. So, i’ve added a filter if you want to alter it. For example, to add a flag you can do the following code:
add_filter( 'lang-code-selector-content', 'test_lang_code_selector_content' ); function test_lang_code_selector_content( $lang_code ){ global $q_config; $link_flag_url = dirname(plugins_url()) . '/' . $q_config['flag_location'] . $q_config['flag'][$lang_code]; $link_flag = "<img widht=\"18\" height=\"12\" src=\"$link_flag_url\" alt=\"$lang_code\" />"; return $lang_code . $link_flag ; }
Hi,
Deactivate the plugin to know if the wordpress SEO by Yoast has got the same problem. Let me know the result, please.
I think you are having a fail in Javascript. It could be a fallback failure and other files in themes / plugins could be the cause.
I would run Firebug to verify if it is a bug.
Another way to detect the bug is deactivate the plugins and change the theme.
About the CSS, it’s a hack, so i will update it to only be applied in the module.
No, it isn’t normal.
I need more info. What browser are you using?
Hi.
When there are no SEO title, a semitransparent placeholder appears in the SEO Tiltle input. In default language, the placeholder is loaded by the original SEO plugin by Yoast.
But, it`s empty. If you see the code, the placeholder is not printed when the page is displayed. You have to add text manually in SEO title input.
I really appreciate your help.
About your issues:
- The selector css was duplicated, now it’s updated.
- I’ve added the suggested feature when somebody opens tabs
- You were right. There was a bug with title, but the solution you suggested would cause a new bug when the SEO-title is empty. So, updated the module to a new version beacuse i’ve also solved this new bug.
Thanks for your tip.
I think i’ve found the bug. The print code was missing. The plugin is updated now.
Thanks for your help.
I’ve found the bug in the analisys. The content (body of a post) is being analized without filtered by language. I’ll correct it as soon as i can.
About the meta description, i dont have a clue about what is going on to not appear. In a fresh installation it is working. I’ve realized that you are using a cache plugin, so try to deactive it. Also, the content in russian language is not displayed in the whole site. It seems to have a problem with the translations because the content in english and russian are displayed in the same page. Thus, your shortcodes are not being rendered. Maybe a theme problem?
Hi,
Thanks for the report.
If the meta description is empty, It’s not printed. There was a bug in the UI and the fields wasn`t showed correctly. Try now.
If the mistake persist, could you give me more details?
Thanks in advance.
I think it’s a better approach put CSS code in your theme (for example, the style.css).
If you modify the original CSS of the plugin, you will probably lose the code in a future release. And if you put the code in the settings, you will make harder find the place where the code is stored if your are not the developer who wrote it. And after a year, will you remember where you put the code?
Peter, you don′t need to write CSS code for each lightbox. You only have to reuse the same class. Is the same solution, but i am keeping separating the classes responsible of theming from the classes responsible to make work the lightbox.
And the last tip: instead of using class attributes to identify the lightbox, it′s better use the id identifier of your tags. The class is not unique and reusable, but the id attribute is UNIQUE.
I was wondering the same problem. Finally, I have found the next solution:
[su_lightbox type="inline" src="#test-popup"] <!-- The link that open a lightbox--> <h2>Click Here For Your Lightbox</h2> <!-- A hidden layer that contains the content you want to add--> <div id="test-popup" class="white-popup mfp-hide"> Popup content </div>
[/su_lightbox]
You have to add the next CSS code according with the documentation:
https://dimsemenov.com/plugins/magnific-popup/documentation.html.white-popup { position: relative; background: #FFF; padding: 20px; width: auto; max-width: 500px; margin: 20px auto; }
Remenber adding
mfp-hide
to your hidden layer, because this class hide the layer.