Forum Replies Created
-
AuthorPosts
-
I have successfully used the plugin you suggested. Thanks!
Hmmm, ok. I know there is a plugin “Insert PHP” but another person looking for help with this same subject was advised by your moderator Ismail NOT to use a plugin to do this… https://kriesi.at/support/topic/insert-php-in-pagesposts/#post-436571
He suggests using custom template pages which is what I was trying to do. Now I’m confused!
You’re a champ! Thank you!
what’s strange is that no moderator is answering the question, they have been helping me answering all my questions so quickly.
It’s easier to give someone your answer than to answer their question! haha =] I agree though, it has been several weeks and I’m still not much further ahead. Things I’ve learned…
1. There is no Enfold documentation regarding WPML.
2. WPML “language switcher” options don’t work when using the Enfold theme.
3. Enfold provides no “Theme Options” to replace the now inoperative WPML “language switcher” options.
4. Enfold “language switcher” changes must be made manually with filters and actions in functions.phpI’m fine with #4… a theme can’t plan for everything. BUT… some documentation or response here would be awesome! In a nutshell, it would be nice to know which filters and action combinations result in basic language switcher configurations… for example, with the native language name, and without. The languages in a drop down, etc…
I will continue to be patient, Enfold is the most popular theme in the world and the moderators must be too busy.
Thanks!
I believe I understand a little clearer… in Ismael’s example “avia_remove_main_menu_flags” is the name of a function_to_add and can be anything we name the subsequent function to. Adding and removing filters and actions is how to affect the switcher and it seems ‘avia_append_lang_flags’ and the like are located in the WPML config.php file. I will try to figure out how to make further changes to the switcher by studying that file, looks like my best bet! =\
Thanks. It sounds like the answer is: no, there are no Enfold Theme Options to change the language switcher behaviour (you must edit functions.php manually)…. and there isn’t any Enfold documentation on WPML (you must come here and ask). Thanks for clearing that up, I wasn’t sure if I was missing something.
Ismael, you showed how to remove flags which would make the language switcher disappear entirely, all I have are the flags! Can you tell me all the options (not just how to remove the flag) so I can manually test the language switcher? For example (and back to my original question), I’d like to see what it looks like “with or without the native language name”. I’d also like to see what it looks like with the languages in a drop down.
avia_remove_main_menu_flags… what other language switcher ‘options’ can I change? Like…
is there a avia_add_main_menu_native_language_name?
is there a avia_add_main_menu_dropdown?
is there a avia_add_main_menu_dropdown_noflags?I would love to help myself rather than be given the answer, otherwise I learn nothing!
Hi Andy,
Well, it’s probably easier to go back to my initial post than explain in a different way… I am trying to answer the following question for the following reason:
“Are there Enfold settings to do with language switchers? If so where is that information in the documentation so I can read up on it? I’m trying to see the which language output I’d prefer (ie. with or without the native language name) but can’t seem to make anything happen except a flag in the main menu.”
W-P-M-L support says the settings in their plugin won’t take effect because the settings for the language switcher are controlled by Enfold. So… I’m still trying to figure out “Are there Enfold settings to do with language switchers?” … and if so where are these settings so I can experiment with them? Enfold is supposed to be a ‘WPML Certified Theme” but I’m not seeing that in reality when it comes to controlling the display as indicated above so I thought I’d come here and ask.
I have completely removed that plugin but still cannot delete custom widget areas once they are created. This has been the case since I installed Enfold so it’s not related to the widget that was causing the other issues mentioned above.
ps. Not sure if this is a given or not…. i’m looking for these settings in Enfold’s “Theme Options” in the WP admin area.
- This reply was modified 8 years, 10 months ago by _envato_user_.
Well it seems like these issues have to do with the plugin i am using to populate the custom widget…
AW WordPress Yearly Category Archives
https://wordpress.org/plugins/aw-yearly-category-archives/That’s too bad because I really wanted to use that plugin!
ok… there is something fishy going on with your forum. Everytime I type that sentence with “WPML” in it my text is truncated.
Anyway… The W-P-M-L support team told me the language switcher I am seeing at the link posted above is from Enfold… and that is why none of the settings at W-P-M-L->Languages->”Language switcher options” have any effect.
strange… my posts get cut at “WPML” which is made into a bit.ly link. Trying to paste plain text this time…
this language switcher is part of your theme, not from WPML. That is why the options don’t take effect.
Some of my text didn’t make it into the initial message above, i think because of the quotes… here it is below.
====
The WPML support team is telling me – the language switcher is part of your theme (Enfold), not from WPML. That is why the options don’t take effect. –
====I am trying to get the native language name to show up next to the flag in the main menu, WPML says it’s an Enfold thing, and I can’t find any language switcher info in the documentation.
-
AuthorPosts