WordPress.org

Ready to get started?Download WordPress

Forums

Can I embed my WordPress content in my website? (9 posts)

  1. SAMWeb
    Member
    Posted 5 years ago #

    I do not want WordPress to run my site, for various reasons. I only need an authoring tool to allow contributors to keep my news items up to date on my website. I don't want to redo the entire site with WordPress. I like having complete and total control over my site, without using a complete CMS solution, because invariably when I use those solutions I always run into a roadblock with something I cannot do. If I use only the portions that I want to use, I can maintain the complete control over my website without being dependent on a third-party tool. I also don't know/use PHP, my site is .net. I don't want to take the time to learn PHP for whenever I need to extend something with WordPress.

    So, any tips? Can I embed WordPress articles on my site?

  2. figaro
    Member
    Posted 5 years ago #

    The simple answer is Yes, but doing it (and making it look like part of your site) may take a little hacking. For example, this is a simple html site, but the news you see if from a WP blog. I did that to make it easy for people to post news.

  3. SAMWeb
    Member
    Posted 5 years ago #

    Thanks, figaro! Any pointers on where I should start looking to accomplish something similar?

  4. figaro
    Member
    Posted 5 years ago #

    I just used the basic kubrick theme and stripped everything out except for the blog content...then just used an iframe to show the content in the html page. Post an email and I'll send you the theme.

  5. chris-melchior
    Member
    Posted 5 years ago #

    I have a similar question . . . I have an existing (static) site which I want WordPress NOT to change at all, I just want to add a WordPress Blog on one new page. How do I do that? (I've spent a couple of hours looking through the FAQ's and docs, but I can't seem to find the basic conceptual info I want . . . the info I can find seems to assume that WordPress exists in its own universe, and no-one could possibly want to do anything else!).

    If I do a standard (automatic) WordPress installation (using SimpleScripts) on my existing site (presumably putting WordPress files into the root directory?), will that change anything on existing (static) pages of my website?

    How do I determine what URL (I want it on a new page) on my site WordPress puts the new Blog on (once I write it)? Is this the Permalink (do all blog posts go on one page, or do different categories somehow appear on different pages (URL's)??)? Then I just put a link from my existing home-page to that new Blog-page Permalink, right?

    Thanks very much in advance for any answers :)

  6. chris-melchior
    Member
    Posted 5 years ago #

    I have a similar question . . . I have an existing (static) site which I want WordPress NOT to change at all, I just want to add a WordPress Blog on one new page. How do I do that? (I've spent a couple of hours looking through the FAQ's and docs, but I can't seem to find the basic conceptual info I want . . . the info I can find seems to assume that WordPress exists in its own universe, and no-one could possibly want to do anything else!).

    If I do a standard (automatic) WordPress installation (using SimpleScripts) on my existing site (presumably putting WordPress files into the root directory?), will that change anything on existing (static) pages of my website?

    How do I determine what URL (I want it on a new page) on my site WordPress puts the new Blog on (once I write it)? Is this the Permalink (do all blog posts go on one page, or do different categories somehow appear on different pages (URL's)??)? Then I just put a link from my existing home-page to that new Blog-page Permalink, right?

    Thanks very much in advance for any answers :)

  7. abyudh4u
    Member
    Posted 5 years ago #

    i have a web site build in a symfony frame work and i want to show some of the widgets and post contents on the homepage of my site .. after using this code

    <?php
    define('WP_USE_THEMES', false);
    require($_SERVER['DOCUMENT_ROOT'].'/offshoreadvisor.com/web/resources/wp-blog-header.php');
    ?>
    <?php
    $posts = get_posts('numberposts=10&order=ASC&orderby=post_title');

    foreach ($posts as $post) : start_wp(); ?>
    <?php the_date(); echo ""; ?>
    <?php the_title(); ?>
    <?php the_excerpt(); ?>
    <?php
    endforeach;
    ?>

    i got couple of errors then i resolved them but still i am getting a blank array i.e i m not getting any data through the query infact i am having lods of posts in the wordpress database

  8. jschwartz8101
    Member
    Posted 4 years ago #

    I figured this task out, at least how to do it with my web host, 1and1. Go to my website and click on the Blog and News Coverage tab on the left and see if this is what y'all are trying to accomplish. If so, then read on.

    My goal was to have tab (menu item) to jump directly to the blog. But the obstacles were:
    1. I use 1and1's online Website Builder, which does not provide a tool for doing this.
    2. I wanted the blog's banner to emulate the website's banner to look seamless.

    So I had to basically do 2 things:
    1. To make the blog emulate he website, I had to install WordPress on the server and make the blog from that. The reason for this is that although 1and1 has a tool for setting up a WordPress blog, the banner templates they offer are very limited. I would have had to choose the same one for the blog and the website. But my website banner is not one of 1and1's template choices at all. Rather, it is one I custom made. And on the blog side, 1and1 does not allow making a custom blog banner when using their WordPress blog tool.
    The process of installing WordPress on the web server was simple and involved making a mySLQ database (simple using the 1and1 tool provided), making a subdomain called blog.healthaccessri.com, and then linking the mySLQ database to the subdomain.
    When I installed WordPress software on the server (rather than using their WordPress creation tool) then I was able to use Kubrickr to replace the standard WordPress banner with my own via uploading my properly sized banner to flickr and then following the instructions on how to get that banner into my WordPress blog (note: there is a quirky thing about kubrickr that the size of the banner you make has to be bigger than the one it is replacing or it will not work).

    2. Now that my blog looks like the rest of my website, I had to make a tab (menu item) link directly to it. Remember I had said that 1and1's online web creation tool, Website Builder, does not provide for this. So this was done using a redirect. I knew squat about how to do this and a google search turned up this page. After trying a few of the suggestions, the one that worked quite easily was in the section titled, 301 Redirect Using htaccess. I followed the instructions, creating a file on my local computer called htaccess.txt, uploaded the file to my web server via ftp and then renamed it on the server to htaccess (dropping the .txt). The content of the file was exactly this:
    Redirect 301 /Blog_and_News.html http://blog.healthaccessri.com

    when I looked at my website in a browser - BAM! It was done.

  9. propoo
    Member
    Posted 4 years ago #

    Here is a video tutorial of how to embed a wordpress to your website in less than 3 min . http://www.webdesignandprintmedia.com/css/?p=42

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags