Displaying Relevant Videos in Custom Posts Using the Imported Compass Template

Posted in: Newspaper
Post count: 97

My goal is to ensure that each custom video post dynamically displays the video relevant to that individual post. However, I am unable to find the correct method to achieve this with the imported Compass template.

I have attached an additional screenshot for reference:
Compass Template Issue Screenshot
https://drive.google.com/file/d/1UKPv9nBejw4pXS27Vo0uouXSLrK3Ad1o/view?usp=drive_link
https://drive.google.com/file/d/1ds7ILnrN4GNXZgMk8zE0e6lHnZJNlmaA/view?usp=drive_link

Currently, this functionality works seamlessly when I use the default template—removing the imported template allows the video to display as intended for each post.

Here’s an example of the current video post display:
Video Post Example
https://newspatron.com/video/bangalore-schoolgirls-exposed-school-bus-video/

Can i use the customized compass template?

Please guide on how to get the custom video to load on each post as required.

Amit Kumar

  • This topic was modified 10 months by newspatron.
Post count: 20688

Hi,

So you would like to add and display a featured video? Is the post type created with the ACF plugin? If so, first make sure that the post formats are enabled for it https://prnt.sc/4fONmTXSCSLz Then you can set the format of your custom posts to video https://prnt.sc/xhUC3xjWz3MU and add a link to the video https://prnt.sc/lWhOUEd1Tiny

The CPT post template from the compass demo will display the featured video here https://prnt.sc/Cluvy2uCHZiG No need to modify that element in any way.

Thanks.

Post count: 97

Hello, Thanks for your reply. i am not using the acf plugin, but i am using a plugin that automatically generates a video post.
All-in-One Video Gallery
By Team Plugins360.

Currently I have another concern. the primary concern is display all the categories in an automated manner on a given page.

For example a new page
all the post categories to be displayed and not the posts in a given categories…

I am trying to change the page below
https://newspatron.com/categories/

Can this be achieved by one of the flex blocks or any other elements using the tagdiv composer?
For example adding post_category or post_categories in the Post type in the flex block or the big flex.
Please suggest a betterway as i have imported the page template, but not able to correctly configure the categories only the categories and not the post(S) per category, so that all the categories can be populated..

Thanks

Post count: 35449

Hi,

If you want to display all categories, then you can use the element Categories/tags list
https://i.imgur.com/RIpXZJw.png remove the limit to let it empty and if you want you can also remove the counter.

Thank you!

Post count: 97

Hi,
I already implemented the same, but was looking for an enhanced version. i checked the templates and none of the templates in the could library could put up a pagination for the categories, instead of the posts as an option…

one more concern is creating a child theme.
currently i am on a managed wordpress having no access to creating a child theme. i want to make certain changes with regards to the topic
allowing the newspaper theme to include BBPress ie using the templates…

currently i tried importing a blank page and then creating a template using sections and such..

but in the bbpress settings the option of theme selection is not available…

In a given scenario can if i edit the main theme, i think it will be overwritten at the time of update..

please suggest a way to deal with this… ie creating a child theme or editing any functions…

bbp press is a custom post and it has only the default option…

https://drive.google.com/file/d/1Q74mR-0y8y3owQX_gTUA9AakQQyeKV6I/view?usp=sharing

Thank you!

Post count: 35449

Hi,

Unfortunately, for the moment, it is the only element that can be closer to what you need.

To use a child theme, you can get it from the theme package, for more details, you can check this guide https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thank you!

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