Works like a charm! Thanks all for the solution.
It is working with W3 total cache. I use wp rocket in others projects… but this is a new project and i want a free cache plugin. I only create a user agent group with this in user agent field:
android
bb10
blackberry
iemobile
ipad
iphone
ipod
msie
nexus
p160u
playbook
touch
webos
xoom
And it is working…for now 🙂
I think that it is working on my site!! Please see my site at: https://goo.gl/Ypo3ct and say if it works…
We create a “User Agent Group” and it is working right at this moment. What is the problem your had facing with combination of w3 total cache and the theme?
Yes we need that solution! Could you provide it?
Catalln i do that and my problem was fixed. Only one og:image in the source code now. BUT and when you update the theme? I will loose the modifications? You must add this option to the theme options.
Thanks Catalin! It works.
I change this if (get_post_format($this->post->ID) == 'video') { to if (get_post_format($this->post->ID) == 'xxxx') and it works.
One more question. Could i add this modification to the child theme? and if yes, i have to enable the child theme in wordpress dashboard? Or it is not necessary?
I understand that. What i want to know is if it is possible to ignore that a post is video and show the “post” template? This is because i have migrated from another template and we have 2000 video posts but i want to show the video in the content of the article…not in the beginning.
If you could tell me witch is the php file where i can set that it would help me. It is only change post_type = ‘video’ to post_type = ‘post’ but i don´t now where…
Bogdan B.
The featured image is set! The problem is that… we have all the video post with the respective featured image. But in the posts witch the type is “video” in frontoffice does not shows the featured image.
The “Featured Video” BOX is empty because i use another template. But i change to newspress. The post format still the same…no problem with that but i can´t fill the “Featured Video” BOX for all my posts! I had more then 3000 posts with that format!
I want to show the featured image that my team choose and not the auto-generate image that your template create!!
How could i do that??