How is post formatting done?
-
Okay, I have my blog but it’s separated from my main website (in a different subdomain.) Anyway, I would like to make it so the newest post always shows up on the main page. As of right now I have played with just connecting to the database and grabbing the needed info, but the main content of post contains no line breaks or returns.
I know this is must be done via the PHP, but I can’t find where. Is it possible for me to tap into the function that formats the paragraph breaks in? If so, how?
Another option I have thought of would be *simply* set up a page on my blog, similar to a “single post” without the header, comments, sidebar, etc… and do an include of that into my home page. My only problem with that is that I don’t know what functions are being called for in all the related documents that I would be ignoring.
Any suggestions, comments, and/or questions would be most appreciative. Thanks a ton!
- The topic ‘How is post formatting done?’ is closed to new replies.