Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter fluffage0

    (@fluffage0)

    So what php code is used exactly in the single.php? I see what you are saying, but I still need to know exactly what php code do I need to include in the single.php for it to display just a single post?

    My content area.. would be the area where the bulk of the content is displayed. For example.. on a blog.. the area where the actual posts are displayed at. That’s the content area. That is where I’d want my single posts to be displayed at. On the index page that is where the posts are displayed at. Like this…

    [header]
    [navigation]
    [content area]
    [footer]

    So what I need to know is exactly what php code needs to be in content area if I were to create a single.php. I need the code that would call for that single post when that page is accessed.

    Thread Starter fluffage0

    (@fluffage0)

    Bump.

    Thread Starter fluffage0

    (@fluffage0)

    Right, I understand what themes are and what they do. But I’m not using the appearance of any theme, nor do I wish to. And I’m not going to make my hand coded site a theme either.

    Like I’ve said I created a web-site, hand coded. I put the loop on the home page for news, and I also included it on another page where people will be writing articles.

    NOW… when someone clicks on the title of the post/article… OR the link to the comments, it takes them to the single post, which like you said(and I had also assumed) is controlled my single.php. I, however do not want to use the default single.php. I want to create my own.

    So using one of my own pages, I cleared the content out, opened the original single.php and copy and pasted into the content area of my site… everything from single.php that I thought I would need… And it did not work.

    So what I need to do know: what exactly do I need to copy out of the original single.php into the content area of my hand coded page so that when someone wants to read just a single post it will show that single post, but while using my own designed pages.

    Thread Starter fluffage0

    (@fluffage0)

    @r

    I don’t think any of that really covers what I need.

    I’m not using themes, and most all of that info(being very useful nonetheless)applies to themes.

    I just need to know… what exactly do I need from the original single.php to make a new hand coded single.php? What part of the code do I need in the new single.php? Do I need to make any changes to the code?

    Thanks for the link, R. I’ll be reading up on a lot of that.

    Thread Starter fluffage0

    (@fluffage0)

    Bump.

    Thread Starter fluffage0

    (@fluffage0)

    I’m just not sure exactly what I need to copy and paste over.

    But let me try to understand what you did…

    You opened the original single.php and copied EVERYTHING and then just pasted it right in the middle of your content area?

    What about the part that looks for the theme?

    I’m pretty noobish at this :/

    Thanks for the reply ??

    Thread Starter fluffage0

    (@fluffage0)

    Bump.

    I just finished doing this myself. I used this really short guide to do so:

    https://moshublog.com/2005/07/05/integrate/2/

    The only thing I can’t figure out.. is how to create single pages for each “post”… WordPress will generate them, but it will try to use the single.php that is already installed on your server. I’m still trying to figure out how to create your own custom single.php.

    Good luck!

    Thread Starter fluffage0

    (@fluffage0)

    Nothing? ??

    Bump.

Viewing 9 replies - 1 through 9 (of 9 total)