Wordpress import video's - wordpress

Little bit of background, i am recreating a current wordpress.com website in wordpress.org so the owner can make any changes they want. I completed most of the design and was starting to import data from the old site. A lot of blog posts had the following shortcode in it
[youtube=http://www.youtube.com/watch?v=DQKUQiY2LVA]
This doesn't work in wordpress.org though. So my question is, is their a way to make this shortcode actually work and doesnt require to rewrite every blogpost with a video?

I would check out this wordpress.com page about youtube embedding.
Seems like you only have to change a little formatting, wordpress.com uses a similar shortcode.
Just open your .sql file in an editor and perform a search and replace.

Related

Can a bootstrap theme I created and connected to WordPress have plugins added, so I can add a news feed, events feed and calendar to my website pages?

The site is a charity site, which is expected to have a news feed of goings on within the charity and events. Most of the home page is complete. But I don't know exactly how to write the code for an article in bootstrap, so that when I upload it to WordPress, it will interact properly. Allowing me to create new articles, remove old ones, etc. I either need to find out how to do this, or find out if I can use plugins to give me the same effect. This is my first time using WordPress. If you know of even a tutorial or something that helps with the news feed being built in bootstrap to work in WordPress, I would be over the moon. Thank you to anyone who offers their help!
I've tried to find an answer online but all I get are pre-built news theme suggestions. I guess there just that many it drowns out any answers.
The short answer is no.
A bootstrap theme is just a static page. (HTML, CSS, JS, etc.) But WordPress creates all its pages dynamically. This is because all the blog posts are saved in a database. In order to work with WordPress, you would really need to use a WordPress theme. If you know PHP you could easily migrate your bootstrap theme to a WP theme.
There is even a bootstrap starter Theme which might help you to get started: https://de.wordpress.org/themes/wp-bootstrap-starter/
In this case you would really just need to add your markup, styles and scripts to the project.

Wordress - How to work with non wordpress theme

I'm new to wordpress, and I want to know if it is possible to put a theme bought on shapedtheme.com for example on an existing wordpress.
And if so, how to do it. I don't know where to put the code of the theme. I saw the wordpress page builder with text, but I see tags with [] and not <>.
I saw on this thread that pages can be linked to php files. I don't see how.
I have full access to the hosting service's filesystem and can see all wordpress files.
I would also like to transpose the theme header and footer and if possible, use the theme cards to adapt to blog articles written in wordpress.
How can I do this ?
I searched for tutorials on google or related threads on SO with no luck.
Any ressource would be appreciated.
Thanks to anyone who will take the time to read/answer this post.
No, you can't use a non-WordPress theme in a WordPress installation since WordPress will look for specific templates and pass certain objects to the template to be displayed.
You could adapt it to work with WordPress, though. Here's the theming guide to get you started.
But you'll probably be able to find a WordPress-ready theme with the features you want. This is the WordPress theme directory link for themes using bootstrap.
Unless you go for a from-scratch development of a pure php theme, and you need some level of theme customization I'd strongly suggest looking into child themes, as it'll allow you to update the base theme minimizing the changes you'd have to do to yours.
The [ ] syntax you mention are shortcodes, small, safe php functions that can be executed by inserting them in the editor, templates, etc, and provide kind of an api that exposes WordPress or plugins functionality.
And regarding your link, OP already has a WordPress theme, but is looking for a way of using a different, specialized template on specific pages. This template still has to follow to certain WordPress conventions.

Find a way around wordpress sitemap plugin limitations

I created a blog using wordpress in January.
Though, I use a custom template for one of my page to display custom dynamic pages. (exemple here)
Now, I use the wordpress plugin XML-Sitemap to automatically generate sitemaps.
Unsurprisingly, this plugin does not crawl the page using a custom template, and the many links within.
However, I thought that the crawlers of the major search engines would do so. But they didn’t. My custom pages are still not indexed anywhere.
So here is my question:
I have found a tool that can comprehensively crawl my website and generate a sitemap. If I use it, do I have to de-activate my wordpress pluging?
Thanks a lot!!
first of all, i'm not experienced in Word Press, but I came out with two ideas about your problem, so, if they could be useful, here are:
1) I don't think the plugin crawls the template. Instead I think the plugin generates the sitemap starting from the sitemap saved in the wordpress configuration (in drupal the sitemap and url aliases are saved in the database for example, and the sitemap plugin starts from there)
2) If your plugin generates a sitemap file (I think it does!), so you have to disable it first of use an other tool
Hope it helps!

WordPress - Preview of latest wordpress blog post in iframe

I have a website and a blog. I want to insert an iframe into the website, displaying the latest post from the blog.
So I need just the post content inside the iframe, without wordpress headers and sidebars.
Whats the best approach to achieve this?
Thanks for help.
If the site and the blog are on the same domain, you may be best off querying the latest post using the Wordpress API itself, making it unnecessary to fiddle with an iframe.
How to do that is described in Integrating WordPress with Your Website on the WordPress Codex.
If you need to do this using an iframe, I guess it's easiest to set up a new theme that doesn't display anything but the post itself. That would be some work though.
I recently put together a video tutorial of how I did this: http://www.youtube.com/watch?v=7GuocgQlCmw
I didn't get rid of the WordPress sidebar, but the tutorial shows how I used Firebug to get rid of parts of the header and the same technique should work for the sidebar. There are links in the youtube description to all the reference material I used including a link to a blog entry I wrote describing the process.
This doesn't really answer the question but why don't you use Wordpress for all of your website if you use templates you can make it look like a website and also have a blog. Have a look at this site i made using just Wordpress http://www.smkrc.co.uk. By doing this you would have access to the posts and would not need to use iframes.

RSS Failed to Fetch Wordpress Embed Videos

Before I go on I'd like to clarify that I use google reader to test my site's RSS feed.
Ok, if my title doesn't explain it well enough, my wordpress is using a custom made theme that I bought from some site, they actually provide support but I haven't gotten any actual answer so far, so I hope I can get some answer here.
Basically my site's RSS feed is not fetching my videos which is embed directly to post. I have troubleshoot it by using wordpress default theme, and the embed videos get fetched just right in my google reader. So I think the problem lies in the custom theme I'm using.
But I don't know how to troubleshoot and move on from this point. Anybody has got a clue what might just be the problem?
first of all, the authors of a bought Theme should offer solutions for that.
Try the source view of your RSS feed and check if the videos are included. If so, maybe there is some reason why Google Reader does not fetch these.
Add the videos to your RSS feed. Find out, how your Theme stores the videos. Write a custom function to manipulate your RSS-feed and put it into your functions.php (be carefully with updates, afterwards).
See this discussion: http://wordpress.org/support/topic/custom-fields-on-rss-feed-how-to
Plugin for additional RSS fields:
http://justintadlock.com/archives/2008/01/27/custom-fields-for-feeds-wordpress-plugin
Manipulation RSS feeds:
http://www.wpbeginner.com/wp-tutorials/how-to-add-content-and-completely-manipulate-your-wordpress-rss-feeds/

Resources