Forum Replies Created
-
AuthorPosts
-
June 26, 2018 at 2:54 pm in reply to: How to customize config-wpml/config.php in child theme? #977962
It works! Thank you very much!
Best regards,
HenrikJune 12, 2018 at 7:54 am in reply to: How to customize config-wpml/config.php in child theme? #971562Hi,
I basically just replaced the img-tags (flags) with
$lang['language_code']
.Yes – I did try the CSS code on the original HTML, without any modifications. But the original HTML does not include the CSS classes you are referring to in the provided CSS modification.
Best regards,
HenrikJune 8, 2018 at 9:04 am in reply to: How to customize config-wpml/config.php in child theme? #970014Hi Ismael,
Yes – but in reference to my initial question: How can I accomplish this in a way, that won’t get overwritten in a theme update? (The present solution is based on editing directly in config-wpml/config.php, and I don’t know how to move the modification to child-theme).
Best regards,
HenrikJune 5, 2018 at 8:42 pm in reply to: How to customize config-wpml/config.php in child theme? #967464This reply has been marked as private.June 4, 2018 at 8:49 am in reply to: How to customize config-wpml/config.php in child theme? #966367Hi,
The solution doesn’t work for me. I can’t recognize the class “avia_wpml_language_switch” – and the vertical menu like switcher, that I use, does not include language codes in the HTML.
It looks like this:
<li class='av-language-switch-item language_en > <a href='/en/'> <span class='language_flag'><img src='flag_EN.svg' /></span> </a> </li>
Best regards,
Henrik- This reply was modified 6 years, 5 months ago by HAJ-MBJ.
May 31, 2018 at 8:55 am in reply to: How to customize config-wpml/config.php in child theme? #964671Hi Ismael,
Thanks for the quick reply!
I need language codes (like EN, DE, ES etc.) instead of flags in the Enfold Language Switcher. It is easily done with modifications directly in config-wpml/config.php, but I guess it is not the right approach then?
Best regards,
Henrik- This reply was modified 6 years, 5 months ago by HAJ-MBJ.
Hi,
Thank you very much – it seems to work! :-)
But why did the page appear there at all?
Best regards,
HenrikHi,
Yes, we actually used the Ronneby theme before switching to Enfold.
I have now upgraded Enfold to version 4.3, but it makes no difference.
Best regards,
HenrikApril 27, 2018 at 12:10 pm in reply to: Archive page shows up as last post in blog grid layout #947899Hi,
No, the last item in the grid is not a post- it’s a page. That’s the problem. :-) I can’t figure out why the blog grid presents a page (as if it was a blog post) in the blog grid.
The URL I posted, is for at page with the blog grid. The problem is that the page itself shows up in the blog grid.
Best regards,
HenrikApril 24, 2018 at 9:43 pm in reply to: Archive page shows up as last post in blog grid layout #946238Hi Basilis,
I think we are maybe talking past each other?
The problem is that the blog page is shown in the end of the grid as if it was a blog post. (See my screenshot for reference).
I have created a new page and added the grid, but it behaves exactly the same.Best regards,
HenrikApril 23, 2018 at 8:44 pm in reply to: Archive page shows up as last post in blog grid layout #945554Sure – and thanks for looking into it!
-
AuthorPosts