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/
Related
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.
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
.
I have a site set up that only uses pages (no blog posts). Is there a way to add keywords/tags to each page and then have a search plugin that searches these keywords/tags?
So if I have a page called "handyman services" I would like to add keywords/tags to that page similar to "handyman, carpenter, handy" and then be able to search for "carpenter" and get a hit, even if that page doesn't contain that word in the actual text (just in the keyword/tag)?
Might be a basic questions but the search plugins I look at are focused on blog posts mainly.
Try using a SEO plugin like this one: YOAST
I am maintaining a wordpress blog and am familiar with using the og:image meta tag to set the default image that is included when a like button is pressed. What I want to know is if there is a way to make this image dynamic based on the item liked.
I am trying to build it so that the first image in a particular blog post that is liked is what is pushed to the facebook feed post, with the blog's default image only used if there is no image in the post. Does facebook provide any way to do this with the graph api?
I tried writing javascript to change the meta tag on article pages (rather than the homepage) but found out later the crawler does not run javascript, so am now considering implementing the same but server side with PHP. This still would not solve the problem of Likes from the blog homepage, where there are multiple blog items on the page though. Any advice would be greatly appreciated.
Thanks
The only is changing how the meta tags get rendered to the client, in server code or in your layout template. There is no graph api method for this and you can't modify the tags with javascript as their scraper doesn't execute javascript.
Also, the scraper won't keep re-visiting your site so once it access it, it will be cached until you go to the url linter tool manually. so for the home page, you would probably just want the default image.
I'm developing a WordPress theme and I need to have a custom URL for some kind of content.
For example, I need to have a page to show some article details. Now, i've created a page template called "Article", and so i've to create a new page and give it the page template "Article"
(I get the url http://mydomain.com/article?id=123)
It works fine, but now i'm having dozens of this pages, and it's a mess to create them all on every installation of this theme, so i want to do it in my theme code.
I saw something near that on BuddyPress, where you can use /member/ and it redirects to a member page. I just wanna know how to do so.
Thanks!
If you are running wordpress 3.0 I would recommend making a custom post type for your articles. That would allow you to control the URL in the way that you want and also allow you to use more sophisticated full text urls if you wanted to.
Here are some links to some tutorials about how to make a custom post type to get you started:
http://kovshenin.com/archives/custom-post-types-in-wordpress-3-0
http://kovshenin.com/archives/extending-custom-post-types-in-wordpress-3-0/
The second one has an example file that you can download and edit to help you get started.
Cheers,
Paul