Jonathan Wold
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Easy way to make index.php your homepage WP1.5Glad to see things are going good for ya! Keep at it bro you’re getting it! ??
-Jonathan
Forum: Fixing WordPress
In reply to: [Tutorial] Integrating WordPress 1.5 into your existing PHP websiteHey Graybeard! Thanks for that! Do you know which photos in particular were giving you trouble? Did you have a popup blocker enabled?
Forum: Fixing WordPress
In reply to: [Tutorial] Integrating WordPress 1.5 into your existing PHP websiteThanks for the feedback :). I haven’t read over it twice yet.. *guilty grin*.. I wanted to see what you guys thought before I went through and made revisions :).
-Jonathan
Forum: Fixing WordPress
In reply to: Easy way to make index.php your homepage WP1.5Hey Joe!
I went through the same thing not too long ago :). View your image links when you’ve loaded up the page and see where they are actually pointing to.. PHP can mess up your directory structures with all of the “include” magic.
I also wrote a tutorial that mayyy be helpful to ya:
https://www.jonathanwold.com/tutorials/wordpress_integration/
Hang in there bro! Its worth it ??
-Jonathan
Forum: Fixing WordPress
In reply to: [1.5] Integrating WordPress into existing PHP siteAlright.. I’ve got this one working like a charm.. thankyou all SOO much for all your help! I’ve taken what I’ve learnt and I’ve put together a tutorial. I look forward to your feedback!
https://www.jonathanwold.com/tutorials/wordpress_integration/
-Jonathan
Forum: Fixing WordPress
In reply to: [1.5] Integrating WordPress into existing PHP siteI’ll be giving this another try later on this morning after I get some sleep :). If anyone has any updates on getting this to work, let me know! I’ll be posting my results!
-Jonathan
Forum: Fixing WordPress
In reply to: [1.5] Integrating WordPress into existing PHP site..any new ideas? Once I figure this out I plan to write a guide on it :). So far the best I’ve got is to integrate an RSS feed using zfeeder.. anything better?
-Jonathan
Forum: Fixing WordPress
In reply to: [1.5] Integrating WordPress into existing PHP siteHey Lorelle!
Thanks for the additional help :).
Basically, what I have is a totally clean webpage that I’ve built from the ground up. Index.php is what I’ve built, so is blog.php.
What I wanted to do, was provide a way to create blog entries in an easy fashion, WYSIWYG and all the works, and then have that content put directly into the website.
So.. I installed wordpress into the /blog folder (https://www.amaezing.net/blog) and as you can see, that’s working great.
So now, I want to take the feed from there and integrate it directly into the site.
So, I took the blog.php page and put the following code:
<!– Begin main content –>
<div class=”prop minheight” id=”right_content”>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php endwhile; else: ?>
<?php _e(‘Sorry, no posts matched your criteria.’); ?>
<?php endif; ?></div>
<!– End main content –>..That obviously didn’t work ;). See.. I’m simply trying to get the blog feed to show up inside the “Main Content” divs.
As for the reason the page is all messed up.. I have this piece of code at the top which is attempting to pull in the blog header:
<?php
include( “blog/wp-blog-header.php” );
get_header();
?>..Its obviously working, and the default theme is conflicting with mine :).
So, it boils down to, I’m simply trying to figure out how to get the contents of the blog to show up, as they’re updated, into the website.
I’m looking into the links you guys mentioned right now.. this is confusing stuff but I’ll get it! Thanks SOO much for all your help! Any and all suggestions are very welcomed.
-Jonathan
Forum: Fixing WordPress
In reply to: [1.5] Integrating WordPress into existing PHP siteThanks so much for the replies guys! Thanks for the lengthy reply Lorelle! ?? – Very informative and in my case, this isn’t a transfer but a clean install.
I’ll check out the Feedread link and let you guys know how it goes.. and again, thanks so much!
-Jonathan
Forum: Fixing WordPress
In reply to: [1.5] Integrating WordPress into existing PHP site..Any new ideas guys? I’ve been working on this and still nothing ??
Forum: Fixing WordPress
In reply to: [1.5] Integrating WordPress into existing PHP siteOK guys, we’re getting close!
If you go to https://www.amaezing.net/blog you can see that its working nicely.
If you go to:
https://www.amaezing.net/blog.php which the site where I am actually wanting the blog to integrate with, you can see that its messed up. Its DOING something finally but its pulling the whole site in and its forgetting the text. I’m using the following in blog.php:
<?php
include( “blog/wp-blog-header.php” );
get_header();
?><?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php endwhile; else: ?>
<?php _e(‘Sorry, no posts matched your criteria.’); ?>
<?php endif; ?>… Any suggestions? I’m REALLY looking forward to getting this working :). Remember, my goal is to simply get the blog posts to show STRAIGHT as text into my content.. Thanks a ton guys!
-Jonathan
Forum: Fixing WordPress
In reply to: [1.5] Integrating WordPress into existing PHP siteTried reuploading and still the same error..
Fatal error: Call to undefined function: get_header() in /site_address/blog.php on line 2
Forum: Fixing WordPress
In reply to: [1.5] Integrating WordPress into existing PHP siteHmm.. haven’t tried either of those.. I’ll try redownloading and uploading the package now.. Will let you know :).
Forum: Fixing WordPress
In reply to: [1.5] Integrating WordPress into existing PHP siteI reuploaded all my source code, just incase it was corrupt.
The top of my blog page now reads:
<?php require(‘site_address/wp-blog-header.php’); ?>
<?php get_header(); ?>… and when I access the page I get:
Fatal error: Call to undefined function: get_header() in /site_address/blog.php on line 2
I have tried without the “require” and of course nothing happens then and I still get the same error.
Any suggestions guys? I’m a tad discouraged but I’m not giving up :).
-Jonathan
Forum: Fixing WordPress
In reply to: [1.5] Integrating WordPress into existing PHP siteI did experience a bunch of timeouts when uploading.. will try reuploading everything :). Thanks!
-Jonathan