Jump to content
Sign in to follow this  
pastrami00

"Blog type" page for just videos?

Recommended Posts

pastrami00

I don't know if this is a WP question or Pagelines? I intend to post articles to my blog page at regular intervals. But I also want to post videos as I find them, but I don't really want them to pollute my article feed. I would like to have a page titled "videos" that functions the same way as a blog feed but only contains the videos that I post. Here is one idea I was considering: I could setup a page titled "videos" and then create a custom menu that links to the "tag feed" for any post tagged "videos". But, is there a way to keep specific posts (videos) out of the blog feed. I know this was a rather convoluted question. Any suggestions are welcome...especially better ones than I came up with. Thanks in advance.

Share this post


Link to post
Share on other sites
Jenny
You're on the right track with creating a page and a menu, but I believe to remove them from the blog page, you'll probably have to create a PHP filter excluding that 'slug' from the home page. I only know enough PHP to break sites so you don't want me helping with this one. hehe :)

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
pastrami00
Yeah, that's more php than I know.... I just decided to change course. Is there a plugin that would work in a content sidebar that would display either a gallery or list of videos that, when clicked, will play in a popup window? I use the subzane youtube widget in a sidebar, but it only uses small thumbnails. I would need larger stills for a content page. Another idea if there is no plugin... I didn't realize that you could put videos in "Banners" that would play within the banner without opening to a new page. I'll just change my Videos page to a banner page, create a new banner for each video and add it to the page.

Share this post


Link to post
Share on other sites
Rob
Consider putting your videos on pages, not posts, then listing the pages on the video page. The individual pages will not show up on your blog.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
thomed
My couple of cents... I'm trying to do something similar, but wanting to stick to the general direction that WordPress might be heading in have started using the WP Post-Format 'Video'. If you have not used Post Formats before check out [url="http://codex.wordpress.org/Post_Formats"]http://codex.wordpress.org/Post_Formats[/url]. This has the added advantage of allowing you to have different styling/elements on the Post.php page for each video post. E.g. you might want to drop the sidebar down and allow the video full-width. So, now that I have a bunch of Posts labelled as format=video...does anyone have any great ideas on how to modify the tag/category pages to create maybe a different section? For example I might want to have two columns, left column of regular article type posts and the right column of video type posts? Presumably modifying The Loop to do something like this... [code] a video [/code] If you wanted to run the loop and show only 'video' formatted posts then you could nuke the payload of the else: statement to do nothing. How to modify the Pagelines Framework Loop to do this though?

Share this post


Link to post
Share on other sites
thomed
May have found the answer by own question (looks like pagelines framework awesomeness strikes again!)... [url="http://www.pagelines.com/forum/discussion/15945/the-loop-in-pagelines-framework/p1"]http://www.pagelines.com/forum/discussion/15945/the-loop-in-pagelines-framework/p1[/url]

Share this post


Link to post
Share on other sites
thomed
90 Minutes later; got it! A Section loop that will only return Posts with Format set to video. I'd never come across this tax_query before but it seems pretty powerful. Thanks to - [url="http://wordpress.org/support/topic/post-formats"]http://wordpress.org/support/topic/post-formats[/url] [code]/* Section: VideoPostLoop Author: thomed Author URI: http://www.pagelines.com Description: The Video Posts Loop. Only includes Post Types marked with Format 'Video'. Class Name: PageLinesPostVideoLoop Workswith: main */ class PageLinesPostVideoLoop extends PageLinesSection { function section_template() { $args = array( 'showposts' => 10, 'tax_query' => array( array( 'taxonomy' => 'post_format', 'field' => 'slug', 'terms' => 'post-format-video' ) ) ); query_posts( $args ); //Included in theme root for easy editing. $theposts = new PageLinesPosts(); $theposts->load_loop(); } } /* End of section class */[/code] This gets you a loop that shows ONLY 'Video'. But you probably want to go back and create another type of Loop Section to replace the original that ships with PageLines. The key is this operator in the innermost array (the tax_query bit)... [code]'operator' => 'NOT IN',[/code]

Share this post


Link to post
Share on other sites
pastrami00
Thanks everyone for the responses...I think I'll just go with "special recent posts' and tag the videos. I like simple.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×