homepage Welcome to WebmasterWorld Guest from 204.236.254.124
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Incorporate a blog on an existing website
working with a blog
Ben502




msg:4200763
 12:58 pm on Sep 12, 2010 (gmt 0)

One of my clients would like to incorporate a blog into their existing website and have it still match the style of the page (instead of looking like a wordpress page or something). is this possible to do with an existing blog?

Thanks Ya'll

 

rocknbil




msg:4200796
 4:26 pm on Sep 12, 2010 (gmt 0)

Why can't you create a Wordpress theme to match the site?

Ben502




msg:4200874
 7:50 pm on Sep 12, 2010 (gmt 0)

mainly i am inexperienced at doing it. I have never worked with any of the bloging sites. if there is a way to do it i would appreciate some tips. many thanks

Ben502




msg:4200877
 8:03 pm on Sep 12, 2010 (gmt 0)

i also don't want a them i want it to just fit into the main content area of the website while keeping the same header and nav bar

rocknbil




msg:4201179
 3:15 pm on Sep 13, 2010 (gmt 0)

Well, Wordpress is funny that way, it uses a bunch of stuff in the header to trigger functions within the blog.

Really, it's not that hard. Find out what "theme" is being used by the blog (example, twentyten is the one in the latest release, I think.) You'll see that in the WP CP.

In the blog/wp-content/themes directory you will find the theme (in this example, "twentyten." Download this directory and make a backup of it.

Rename this directory something else. Basically treat it as a "new theme."

You will start with three files, header.php, footer.php, and *possibly* style.css. This style sheet you would modify ONLY if it conflicts with your site's styles. Modify it only as a last resort as it contains styles that affect many of the content elements in WordPress.

Open a "template" of your normal site, and open the header.php. Don't mess with any of the "placeholders" or PHP blocks. Add your site's style sheet to the head, and add any containers used by the main site. You'll have to play with it a bit but once you start looking at it you will see what I mean. Repeat for the footer.

Follow the directions on the wordpress site for installing a new theme, so that when you go into the CP you can select your modified theme and make it current.

Of course, if you mess up . . . switch back to the original. :-)

Ben502




msg:4201338
 7:49 pm on Sep 13, 2010 (gmt 0)

right on. thanks. sounds like this should be a good time. ;) i will make sure a bottle of bourbon is next to my keyboard for if i run into trouble

zuchri




msg:4202007
 6:58 am on Sep 15, 2010 (gmt 0)

one alternative, try rss feed script and place it anywehere you like on the site, use configurable script so you can customize the appearance

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved