mirjami
Forum Replies Created
-
Forum: Plugins
In reply to: [Widget Logic] widget logic to one page and all of the subpagesHi,
no, I didn’t have time for testing, because the site where I need the widget is so important, that I wouldn’t like to take the risk to ruin everything with something that nobody has tested. (once when I tested a little, I had to build again everything with pack-up version, so I don’t take risks any more..) I have to make a separate testing site later. Now I decided just to let the widget appear on every page without any widget logic code.
Forum: Plugins
In reply to: [Widget Logic] How to get widget away from one language version?Thank you, that works!
But now I have a new problem: I want the widget to be shown only on the Finnish front page, not on the other Finnish pages.
is_home() && ICL_LANGUAGE_CODE == ‘fi’ makes the widget to be shown on the Finnish blog page, but that is not my front page, because I have a static front page.
is_front_page() && ICL_LANGUAGE_CODE == ‘fi’ makes the widget to be shown BOTH on the Finnish front page AND the Finnish blog page.
I’m looking for the code that makes the widget to be shown just on the Finnish from page, nowhere else.
Thank you, I installed Yoast WordPress SEO. It works.
Forum: Plugins
In reply to: [Widget Logic] How to get widget away from one language version?Or maybe it is even better, if this widget is shown only in Finnish version (I’m using WPML if that matters.)