Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

First Blog

         

captainron19

2:13 pm on Mar 3, 2020 (gmt 0)

10+ Year Member



I all of the years I have been making websites this is the first time I had to do a BLOG

Today I added one to my friends website that I made for her fitness company. I was easily able to add the blog to the site via cpanel and install of wordpress. But the big question is ..... how can I conform the blog pages to look like they are more a part of the existing website?

Am I able to embed the blog into an existing page with the use of a php include? or is there another method? Or do I have to completely edit an existing blog theme?

Sorry if this sounds elementary but like I said.... first blog I ever started. The current one is located at <snip> and you can get an idea of a currently formatted page on the site at<snip>

[edited by: engine at 2:22 pm (utc) on Mar 3, 2020]
[edit reason] please see WebmasterWorld TOS [/edit]

lammert

3:11 pm on Mar 3, 2020 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



A few months ago I converted a static HTML site to WordPress. To get exactly the same layout as the original site, I couldn't use one of the existing blog themes. I wrote my own theme using the CSS files of the original site instead. You have to understand PHP and the basic concepts of the WordPress post loop, but it was surprisingly simple.

The total number of code lines I had to write was about 600, but more than 80% was for the use of custom fields to fill multi-language menus. Functionality you probably do not need.

Basicly, the Wordpress main code is just short as in this example. All other code is for headers, footers, and other elements.
get_header();

printf( "<h1>" );
the_title();
printf( "</h1>\n" );

while ( have_posts() ) {

the_post();
the_content();
}

get_footer();

not2easy

7:16 pm on Mar 3, 2020 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Different WP themes offer different levels of customization. If you're comfortable editing the css file for the theme to more closely match the rest of the site most elements can take on the same appearance. It is not as simple as the WP installation but only depends on your css skills. Some themes include customization from within the theme, listed under "Appearance" in the Admin 'home page'. It pretty much depends on the theme you're using as to how simple or maddening those tools might be.