Chose a content with php if
-
Hi,
I need show in video a title and part of content of one post/page with something like this : if language is “fr” { $id=20; $content_post = get_post($my_postid);$content = $content_post->post_content;
$content = apply_filters(‘the_content’, $content);
echo $content;}but the id of post is same for all languages, how do it?
one more thing the plugin essential grid is supported/compatible for wp globus.
Thank you for all
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Chose a content with php if’ is closed to new replies.