Adding Sections to Custom Post Types

Posted in: Newspaper
Post count: 45

Hello I am trying to figure something out with custom post types. I am using videoblogster pro which i recommend you add full support for because it just looks awesome! https://intelrevolution.com/youtube/word-for-today-day-8/ I am just wandering how do i add the related videos, quotes on blocks, etc.. onto the custom post type i know those are just value fields but i don’t know how to add them.

Post count: 7909

Hi,

The related videos(posts) must be add inside the template code. You can take a look at how the default post templates are build and could copy the related articles function and modify it to display custom post types http://screencast.com/t/2UtaBJkrM5w3http://screencast.com/t/VoXFEPIoQ3
For quotes on blocks is more complicated, you have to add quote on both backend and frontend to display it for CPT’s. Unfortunately I cannot provide a quick solution for your request, my advice is to look to a professional developer to do this modifications for you. We would have gladly made it for you but for the moment we cannot offer custom work, sorry for this.

Thanks!

Post count: 45

Awesome! Now I can’t figure out what I need to add. my custom post type is youtube
function related_posts($force_sidebar_position = ”) {
global $post;
if ($post->post_type != ‘post’) {
return ”;
}

if (td_util::get_option(‘tds_similar_articles’) == ‘hide’) {
return ”;
}

Sorry I am not very good with code. Thank you for the help!!

Post count: 7909

Hi,

Unfortunately I cannot provide a full solution for this, those functions have to be modified and tested to do that and my suggestion is to hire professional developer to help you with this task – https://studio.envato.com/

Thanks!

Post count: 45

Oh ok thank you!
Nate

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