Welcome to WebmasterWorld Guest from 50.17.79.100

Forum Moderators: incrediBILL

Message Too Old, No Replies

Incorporate a blog on an existing website

working with a blog

     

Ben502

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

5+ Year Member



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

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

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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

Ben502

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

5+ Year Member



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

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

5+ Year Member



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

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

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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

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

5+ Year Member



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

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
 

Featured Threads

Hot Threads This Week

Hot Threads This Month