I understand how to embed a video into a Wordpress post. Easy stuff.
Then, on the Blog home page, I see the title of the blog post and a snippet of text (50 chr or so). Of course, many snippets are present.
Question: How can I display the actual video inside the snippet? So that a visitor to my blog home page (www.mysite.com/blog) sees the last 10 blog entries with a video window in each snippet?
That way, a visitor can watch the video directly on the /blog page and not have to drill down each time to watch the video.
Thanks
Your theme is most likely using the the_excerpt function to show the post previews on your home page, which automatically strips out HTML tags like video embeds.
You can override this behavior and allow HTML to be parsed in your post excerpts using custom template code as described in the answer here or with a plugin like Advanced Excerpt.
Related
I just wondering whether http://www.shoutmeloud.com/videos is a subdomain under subdirectory?
I am just curious to know how we can do that.
I have a website called http://quantumbuddy.com/ and I want to share spirtual video the same way here shoutmeloud did.
Can anyone let me know how they did?
The website Shoutmeloud is a very popular website of a very popular Indian blogger Harsh Agarwal. The website is WordPress built as told by him many times. Regarding your question - the http://www.shoutmeloud.com/videos is not a directory because if it had been a WordPress directly there would be a login url - http://www.shoutmeloud.com/videos/wp-login.php, but it is not there.
Seeing the design of http://www.shoutmeloud.com/videos i think it is a post category (videos) which shows the post contained in it(here videos).
In wordpress this comes by default, all you have to do is to create a post category and add post in it. Then in these post add youtube videos embed code.
You can easily achieve that by going to your wordpress dashboard then add a new page and name it like videos then insert some video files there whether it's a link or from your uploaded videos then save it.
To check the page, Add it to your main menu for example then save it.
The url would be like http://quantumbuddy.com/videos.
so basically the videos is the name of the page.
I checked your site and it only contain one link in the menu. Add a page and add it to your menu bar and it would display next to the Blog link.
The website you are referring to is using Genesis Theme. You can find it here
.
Trying to figure out if there is a way to take a snippet of a wordpress blog, same site, same hosting, and plug that into a pure HTML page.
Example... I want to show the title of the blog, and first 150 characters. With a link to ..."read more" which would take the visitor to the actual blog.
Widget? or custom type of coding?
One way that WordPress exposes blog output to other applications is through the RSS feed.
It is often available by URL at
"http:// your-Wordpress-Root-URL.com/ feed".
You can use that URL in a 3rd-party widget that you use via HTML/JS on any HTML page.
They'll give you the code snippet to drop in your page.
And they'll have different options to customize things like the number of blog entries to show, and the length to preview - as you mentioned.
I'll paste a couple links to start with, and you can easily search for more online with something like "RSS feed widget" in google.
https://www.rssinclude.com
http://www.webrss.com/
http://www.rssfeedwidget.com/
I have recently started working with Wordpress, and I use the HTML Snippets plug-in to fill in the contents of each page. This works well until I hit the blog page. My blog page does not take anything from the page editor, so I can neither paste code snippets nor write anything in the WP page editor field. It only responds to posts. As a result, I am unable to add anything static to my blog page. Also, editing the template post_list file also leads to damaging the template.
How do I go about adding static elements to my blog page?
Essentially it sounds like you're wanting to add a page template to your theme, which you can then assign as your 'Posts' page through the Wordpress admin.
The question itself is rather too broad to answer without an attempt at coding it yourself, but you can read more about it on the codex: http://codex.wordpress.org/Page_Templates#Creating_a_Page_Template
I have insert a YouTube video link in my WordPress post. It properly showing the video on the front end. Now i want to get the embed code of video on my another WordPress page.
Please help.
To quickly embed a YouTube video, simply copy the video’s URL from your web browser’s address bar while viewing the video:
And paste it on a line by itself in your post/page editor:
WordPress will take care of the rest!
Embedding with a Shortcode:
To customize the video’s size and settings, use a shortcode.
For example, this shortcode:
[youtube=http://www.youtube.com/watch?v=JaNH56Vpg-A&w=640&h=385]
produces the video, which is wider than the default embed
Wordpress is now replacing the youtube links that people post into comments of a post with the actual video. It is rather anoying and I would like to know if it is possible to leave the link as is and not add the embed code to view the video directly from the comment container?
Have you tried entering that code in the TEXT tab rather than the VISUAL tab of the editor?