NattyWP - Community Forum
Welcome, Guest. Please login or register.
NattyWP Community « Configuration and Development « Tribune Theme « How to hide video posts?
Pages: [1]   Go Down
  Print  
Author Topic: How to hide video posts?  (Read 2118 times)
hamibab
Newbie
*
Karma: 0
Posts: 4
View Profile WWW

Hi,

To display video on "Latest Video" section, I need to do a post which then will show up in the "post" section in the middle of the page as a "video" post. However, the "video" posts are not  actual posts for my blog since I am not writing any text in the post,  just want to display a video clip on my blog. (overman.ibabak.com)

So is there any way that I prevent the "video" posts from displaying in the middle of the page and just having the video be displayed in the "latest video" section? Plz advise.

Thanks
Logged
Dmitry A
NattyWP Team

Sr. Member
*****
Karma: 101
Posts: 243
View Profile

Use Tribune Options admin
and set 'Do not show' value for Video
Logged

hamibab
Newbie
*
Karma: 0
Posts: 4
View Profile WWW

Hi,

But that will hide the video itself which I do not want to do. I want to hide the resulted video post, which is now being displayed in the middle column, not the video clip. Plz advise.
Logged
Dmitry A
NattyWP Team

Sr. Member
*****
Karma: 101
Posts: 243
View Profile

We displaying latest posts in the middle column. You need some modifications if you do not want to include video category in the latest posts.
Open index.php file.
put
$t_video = get_settings( "t_video" );
in the 9 string after $t_featured_category = get_settings( "t_featured_category" );

Then go to 79 string and find
'category__not_in' => array($t_featured_category,$t_aside_category),

replace it by
'category__not_in' => array($t_featured_category,$t_aside_category,$t_video),
Logged

jtindie
Newbie
*
Karma: 0
Posts: 1
View Profile

I am trying to keep all the posts from a topic (general) from showing up at all. is this possible. I saw the post about thme options admin but I cant find that. thanks
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: