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??
Hello,
Unfortunately in this case if your video post format is not added with our standard theme implementation, you will have to go into each post and set the featured image manually as there is no easy way of doing it automatically. Sorry. Our theme was built with creating content in mind. We cannot say for sure how your existing content was implemented but this happens a lot in switching themes. Each theme has it;s own unique way of adding content and in most cases they are not compatible with one another.
Thanks.
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…
Hello anana,
If you want to handle the video post format, please notice that you should edit the td_module_single_base.php core file where it creates this feature, here -> http://screencast.com/t/IhIvrq1rV6 Please notice that if you are not aware of the steps which you are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!
Thanks for your understanding!
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?
Hello kanana,
Unfortunately, the td_module_single_base.php can not be overwritten in child theme because this type of files is part of wp_booster which is the core theme, sorry! For more information about child theme support, please consult here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thanks for your understanding!