I have a blog and all posts (i.e. this post) have videos in hidden div.
I want to display this videos in my [RSS feed.] But not regular blog view.4
By the way i'm using Wordpress.
How i can do it?
Thanks.
you might want to take a look at RSS enclosures. (see http://en.wikipedia.org/wiki/RSS_enclosure for more information)
here is a code example:
<enclosure url="http://example.com/file.mp3" length="123456789" type="audio/mpeg" />
since you seem to run wordpress, you might want to use specific video-blogging plugins.
you can find more information here: http://www.tubetorial.com/wordpress-videoblogging-the-easy-way/
Since you say you're using WordPress, I'd recommend setting up a specific category for these video posts (e.g. something like "RSS Only") and then edit your theme files so that category never gets displayed. See Exclude Posts From Some Category « The Loop « WordPress Codex for details on what you need to change in the theme files.
Related
I want a product catalog without the e-commerce flashy stuff.
I have found one theme so far that has this integrated very nicely
http://themeforest.net/item/nimble-multipurpose-retina-ready-wordpress-theme/3009347
I was wondering if there were more themes out there that had a product catalog similar to this theme.
I tried catablog, works really well, but I don't like how it treats the products as blog posts, and most themes show the "0 comments By username" under the post.
I am looking for themes with a built in catalog, such as nimble. Or really good plugins that get a long nicely with wordpress.
You've mentioned that you're not keen on having products as posts, but I think this is a good fit for Wordpress. Doing it this way will permit you to attach unlimited metadata items to your products, and is in keeping with the 'Wordpress way' of doing things.
If you don't want to see pagination devices on your post browsing pages, modify the "index.php" of the theme, ideally in a child theme, so that the parent theme can easily be upgraded.
If you do not like Catablog just for the reason that it has 0 and 1 comment listed, it is possible to delete that part of the code. If you can post the single.php file then I can help you in removing that part of code.
There are also some other WordPress catalog plugins which are nice to consider. For example eCommerce Product Catalog doesn't show meta data like in a post. It goes a long nicely with WordPress: https://wordpress.org/plugins/ecommerce-product-catalog/
How do I tell Wordpress to change the number of posts to display depending on the type of page being shown? For example, all Search results will show 10 posts at a time while Archives will show 20 posts at a time, etc.
what you have to do is to deal with the query_post() function.
See this codex page : http://codex.wordpress.org/Function_Reference/query_posts
You will then have to modify your archive.php and search.php files (depending on your theme) to call this function right before the loop.
All is described in a pretty simple example here
Hope this will help ;)
This should be moved to https://wordpress.stackexchange.com/
There is 1 global setting (settings->reading)
If you want to change individual settings you will have to adjust your theme.
put query_posts('post_per_page=XX') before the loop also look at: query_posts
No need to deal with custom queries and changing page templates. Try WordPress › Custom Post Limits « WordPress Plugins
Update 3/06/2015; Plugin works fine under WP 4.1
I am new to Wordpress. I got this template that I want to use for my site. The template link is here. By default this template allows you to put all sorts of plugins on the homepage. Problem is I don't really want to style my blog the way the template comes. What I just want is to have the full details of my blog posts showing on the homepage and then the categories by the side. Does any know of any plugin that I can use to display blog posts full details instead of just lists (with or without thumbnails)
Your homepage should use the file index.php from the theme (located in wp-content/themes/name_of_your_theme). Open it and search for the_excerpt. It should be located in the Loop, as many things related to Posts in Wordpress.
If what you want to display in the homepage is the same thing than when a single post is displayed, then open single.php in the same directory. That's the theme file used when displaying a single post. Search for the_content inside the Loop and see how it's done. You want to do the same in index.php, more or less copypasting or replacing carefully the_excerpt by the_content. Well, it'll be a little harder than that (you've to understand what you remove, replace or copy) but that's the idea.
Relevant documentation in Codex: the_excerpt (esp. the 2nd paragraph) and Template Hierarchy (answers the questions related to which file is called for Homepage, single post, a category, a page, etc)
Is it possible to make a wordpress page have posts and static content on it? Like have the latest posts but also have some content from the page on it too?
look here: http://codex.wordpress.org/Creating_a_Static_Front_Page
and here : http://wordpress.org/support/topic/387710
But seriously, I just google'd for "wordpress static content posts".
Yes, it's definitely possible. You need to create a custom page template, however, so that you can edit the page content and also pull in the posts. (You can make them posts in just one category, if you want, and use some other tricks to hide those posts from the main blog page.)
See http://www.smashingmagazine.com/2009/07/02/power-tips-for-wordpress-template-developers/ for details.
This website is based on wordpress, I wonder which plugin/theme are they using to customize wordpress into a gallery/download site.
Many thanks for your help!
I think you can do this with WordPress' thumbnail feature. You can assign a thumbnail to each post. It looks like that, and some tweaking to the theme in the way the posts are displayed and the download button is included.
Maybe there's a plugin to assign a file to download on each post, that's the only part I find complex in this theme.
Check these links:
http://www.wpzoom.com/design/10-wordpress-themes-designed-for-photo-galleries/
http://wordpress.org/extend/plugins/search.php?q=download