exclude post from showing up if not translated
-
Hi,
our default language is Dutch. We want to exclude (Elementor made) posts that aren’t translated, to avoid that they appear at the French newspage. We still want them to be visible on the Dutch page though. Is that somehow possible? With a php script perhaps?
I guess there are more users with the same wish as we have, but I can’t find anything about it in the documentation. I have found the option of restrict (advanced setting of a widget), but that doesn’t work for the posts widget of Elementor, since some of them are translated and some of them are not and this restriction would be for alle the posts shown with this widget.
I have made a workaround on our homepage, where only three posts should be shown under the title ‘Laatste nieuws en publicaties’. There each post has it’s own widget, but in case it’s not shown in the translated language, there is a blank space instead and I think that is ugly for the interface.
Hope you have a solution for this!
Kind regards,
JolandaThe page I need help with: [log in to see the link]
- The topic ‘exclude post from showing up if not translated’ is closed to new replies.