WordPress Posts & comments on my custom site. (2 posts)

  1. Vitality93
    Posted 4 years ago #

    Hey everyone, so I just installed word press on my server and I have a custom made site that I currently have to edit the HTML each time I wanna post some sort of news.. which is why I turned to Word Press. What I'm trying to do is only take a few features from word press and put them on my custom site:
    Posts & Comments.

    I know posts are surrounded by:

    <div class="post" id="post-<?php the_ID(); ?>">

    in the source code... but I know it isn't that simple to just copy and paste that code into where I want it on my site.

    Any suggestions?

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    to do it properly, you would need to change your .html site into a .php site (which is normally as simple as renaming index.html, or wherever you want your posts to show, to index.php)


Topic Closed

This topic has been closed to new replies.

About this Topic