SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Hybrid View

  1. #1
    SitePoint Wizard Blake Tallos's Avatar
    Join Date
    Jun 2008
    Location
    Cuyahoga Falls, Ohio.
    Posts
    1,510
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP into my blog for Wordpress.

    What im trying to do with my site is to take PHP and intergrate it into my website. - http://cssispoetry.com/index.html

    I dont want my entire Site to have PHP on it just my blog so I can start blogging again.
    Code HTML4Strict:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <link rel="stylesheet" type="text/css" href="index.css" />
    <title>CSSisPoetry| Homepage</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    </head>
    <body>
    <!-- The Start of the Markup -->
    <div id="container">
    	<div id="leftContent">
    		<a href="http://www.cssispoetry.com"><img src="http://www.cssispoetry.com/images/Logo.png" border="none"></a>
    		<p>I am Blake Tallos, I am an 20 year old web developer</p>
    		<p>I specialise in: (X) HTML, CSS,Design,Javascript,</p>
    		<p>I like: Blogging,Twitter,Music,Typography,</p>
    		<p>Location: Cuyahoga Falls,Ohio.</p>
    		<p>Favorite Websites:Sitepoint,Digital Point,Net Tuts</p>
    		<p>Experience:4 years</p>
    		<p>Advanced Skills: (X) HTML, CSS, Photoshop, Illustrator,</p>
    		<p>Intermediate Skills: Javascript, jQuery, PHP</p>
     
    			 <div id="twitter_update_list"> <script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
        <script type="text/javascript" src="http://twitter.com/statuses/user_timeline/BlakeAnthony.json?callback=twitterCallback2&amp;count=1"></script>
    <a href="http://www.Twitter.com/Blakeanthony">Twitter.com/BlakeAnthony</a>
     
     
    </div>
     
     
     
    	</div>
    	<ul id="nav">
    		<li><a href="index.html">Home</a></li>
    		<li><a href="#">Blog</a></li>
    		<li><a href="AboutMe.html">About Me</a></li>
    		<li><a href="Portfolio.html">Portfolio</a></li>
    		<li><a href="ContactMe.html">Contact Me</a></li>
    	</ul>
    	<div id="rightContent">
    		<h1>CSSISPoetry</h1>
    		<div class="BlogHeader">
     
     
                 <h2>Recent Blog Entries</h2>
    <span class="Recent">Blog Coming Soon <a href="">Read More >></a>
    </span>
     
    </div>
    		<h2>Introduction</h2>
    		<p>Hello, welcome to my site. I'm Blake and I built this website to show off my skill sets and techniques that I have in Webdevelopment. Enjoy your time here. I may not be the best designer out there but you would be suprised on what I can do with languages that rock the web.</p>
    		<h3>Advanced Skills</h3>
    	<p>(X) HTML, CSS, Photoshop CS3, Illustrator CS3, Valid Markup, Tableless Code, (Seperating Content From Presentation) Wordpress Installation, Blogging Platforms, Custom Intergration, Website maintenance, Debugging,</p>
    		<h3>Intermediate Skills</h3>
    	<p>Javascript, jQuery, Mootools, PHP,Managing Database(s)</p>
    <p><a href="Portfolio.html">Check out my Portfolio >></a></p>
    	</div>
     
    </div>
    </body>
    </html>
    What do I have to do to make it functionable into wordpress? All the tutorials ive found on the internet are a waste.

    If someone could show me the basic idea of what I have to do with PHP it would be really helpful. Would someone throw up some code for me to atleast learn from? Im not looking for you to code the whole thing obviously I just need the basic idea of what I need to do to be able to Start making blog posts. My (Blog) link is down because my blog isnt up yet.
    Blake Tallos - Software Engineer for Sanctuary
    Software Studio, Inc. C# - Fanatic!
    http://www.sancsoft.com/


  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,578
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Create a directory and drop WordPress in it. Edit the theme to match your website design.

  3. #3
    Non-Member
    Join Date
    Apr 2009
    Posts
    115
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you mean you want to have the same layout as before but add blogging functionality to your site without having to go to a different directory specifically for your blog? You could always use wordpress and open up the themes and edit the CSS in there

    ~

  4. #4
    SitePoint Wizard Blake Tallos's Avatar
    Join Date
    Jun 2008
    Location
    Cuyahoga Falls, Ohio.
    Posts
    1,510
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by a2K View Post
    Do you mean you want to have the same layout as before but add blogging functionality to your site without having to go to a different directory specifically for your blog? You could always use wordpress and open up the themes and edit the CSS in there

    ~
    Yes, I want to have the same layout but just add functionality to it. I already installed wordpress and created a directory. You see im really confused about the HTML or Id already change it because it has PHP inside. http://www.cssispoetry.com/blog/ I put up a Blank template for starters. My blog part of my website is already done and ready to be put up. HTML & CSS. Now I just need the PHP to intergrate it.
    Blake Tallos - Software Engineer for Sanctuary
    Software Studio, Inc. C# - Fanatic!
    http://www.sancsoft.com/


  5. #5
    Non-Member
    Join Date
    Apr 2009
    Posts
    115
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hm.. By integrate do you mean you want your home page to automatically update itself with the latest blog posts? I am sort of confused by your terminology

  6. #6
    SitePoint Wizard Blake Tallos's Avatar
    Join Date
    Jun 2008
    Location
    Cuyahoga Falls, Ohio.
    Posts
    1,510
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by a2K View Post
    Hm.. By integrate do you mean you want your home page to automatically update itself with the latest blog posts? I am sort of confused by your terminology
    Sorry. Yes, your correct! Do you see on my homepage how i've already set it up? All I need to do is add php into that and to make that blog link to actually be my blog.
    Blake Tallos - Software Engineer for Sanctuary
    Software Studio, Inc. C# - Fanatic!
    http://www.sancsoft.com/


  7. #7
    Non-Member
    Join Date
    Apr 2009
    Posts
    115
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well I got half the problem solved. Unfortunately I would have no idea how to do that so someone more advanced at PHP would have to help you with this. Good luck

    ~

  8. #8
    SitePoint Addict Poiesis01's Avatar
    Join Date
    Jun 2007
    Location
    Cape Town
    Posts
    233
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dan Grossman already gave you the answer: get a theme with a similar layout as your site and edit the CSS to match your existing site. Alternatively, open a template and see where they place the PHP code and insert it into your html code but Dan Grossman's solution may be easier.

  9. #9
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Yes Dan has it figured out for you.

    Create a directory called "blog" or whatever you want the link to it to be: yoursite.com/blog/ then install WP into that directory, create a theme based of your layout and link to the blog from your main sites nav and vice versa(from teh blog to te main site).

    To pull content from the db into a static page:
    http://codex.wordpress.org/Creating_...ting_WordPress

    You could alternatively install WP in the root, use it as a CMS to manage the entire site (blog, pages you already have, and so on...) then just turn your layout into a theme. IMO this is the best choice.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •