Need Help for Post Formates

Posted in: Newspaper
Post count: 29

I need that when i use Post Format (Gallery, Video, Quote etc …) the format of displaying a post remain same as Standard Format has

Post count: 1291

Hi,

The Video format is used when for video posts, you have to add a video as featured video – http://screencast.com/t/6cvfqcJEe

The gallery format is used to hide the featured image on that post (it will not show up on the post page).

Thank you, Emil G.

Post count: 29

i know the use of video format and gallery format. I just want that all post formats shows same type of post.

Post count: 6600

Hi,

Find this http://screencast.com/t/hMxNlTLBb8 conditions in your theme files and remove them or comment them out, this way the theme should behave the same when using each type of post format.

Thanks

Post count: 29

Hello Sir,
when i remove code which you ask me (from td_module_blog.php & from td_module.php) it gives me error, but when i just remove this code(from td_module_blog.php) , it works fine

if (td_util::get_option('tds_show_featured_image') == 'hide' and get_post_format($this->post->ID) != 'video') {
            return;
        }

        //do not show the featured image on gallery post format
        if (get_post_format($this->post->ID) == 'gallery') {
            return;
        }

        //handle video post format
        if (get_post_format($this->post->ID) == 'video') {
            //if it's a video post...
            $td_post_video = get_post_meta($this->post->ID, 'td_post_video', true);
            $td_video_support = new td_video_support();

            //render the video if the post has a video in the featured video section of the post
            if (!empty($td_post_video['td_video'])) {
                return $td_video_support->renderVideo($td_post_video['td_video']);
            }
        } 

is it ok, does it give me error in future ?

Post count: 6600

Hi,

Should work, those conditions where made to customize the video and gallery posts formats.
Let us know if you experiencing any issues due to this.

Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.