• Resolved suntower

    (@suntower)


    Hi,

    I have integrated my wordpress blog into my web site. I know html and css quite well and php enough to work with basic functions.

    What I want to do is create a ‘most recent post’ link on my main site’s home page with the excerpt of that post displayed as a hyperlink to the blog. I see a function wp_content() but I am not sure how I can use this to get the -excerpt- of just the 1 most recent post.

    Also, since my main site is in the root folder and my blog is in the wordpress subdir, I’m wondering what I need to do to reference the word press php functions which are not loaded with the main site.

    Can someone give me a starting point?

    THANKS!

    —JC

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter suntower

    (@suntower)

    Bump.

    Anyone? I want to clarify that I understand how to get the excerpt if my site folder was the same as the wordpress folder. What I don’t get is how to reference the php functions from outside of the wordpress folder.

    Can someone give me a start?

    TIA,

    —JC

    Thread Starter suntower

    (@suntower)

    bump. Pretty please. Just a start? All I need is a way to pull in the excerpt of the most recent post to a folder that is -not- part of wordpress as described above.

    BTW: I -have- tried searching through this forum, but haven’t been able to find this particular situation. Every reference seems to be for people who want to pull an excerpt into their -blog- and not into another site.

    Thanks,

    —JC

    nah…its on here…

    for instance…. http://wordpress.org/support/topic/332672?replies=3

    I know I’ve answered the question a few times this week.

    http://www.corvidworks.com/articles/wordpress-content-on-other-pages

    is the tutorial I used to learn how to do it

    I use it so that my site on a different domain (same host) can grab my recent posts

    The main thing is telling the php how to get to your other site….you know using ./ or ../ or whatever to navigate your directory structure in the require('./blog/wp-blog-header.php'); line

    Thread Starter suntower

    (@suntower)

    FANTASTIC! You rock. Like a hurricane, baby!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Create Most Recent Excerpt link On Another Site.’ is closed to new replies.