I recently fused a wordpress blog with PHP Link Directory. They now blend seamlessly with the same design. It is fairly simple to do with some modifications to the Default PHPLD template header and footer. Check out my new RSS directory for an example: www.RSSbuffet.com "Serving up fresh article and news feeds of all flavors." I am new here, so I can't link yet (Boggle). Feel free to copy and paste or someone link my example for me please. Using a Wordpress Theme with PHPLD We are basically taking the header and footer from the Wordpress theme and wrapping it around the PHPLD content. Basic Instructions ============ Wordpress Themes vary greatly in arrangement and complexity, this tutorial has been tested on a two column layout with a normal header/footer and body content section. Complex themes may require additional tweaking and hacking. Step 1. View the source code of your desired Wordpress theme from a browser. (Generally does not work well if you take the code directly from the Wordpress template files because alot of items are dynamically generated.) In your browser select View -> Page Source. Step 2. Copy everything from the top of the page to just before the DIV where the main content begins (usually the first blog post). Step 3. Open up the header.tpl file for the Default PHPLD template. Replace everything with the wordpress header code. (Note: You may want to keep certain code from the original header such as meta tags, etc.) Step 4. Copy the code after the main content of your Wordpress theme all the way to the end of the source code. This will usually include the sidebar as well. Step 5. Open up the footer.tpl file of the Default PHPLD template. Replace everything with the Wordpress footer code. Be sure to include your link back to PHPLD if required. Step 6. Open your PHPLD CSS file and copy/paste important styling such as error text, etc. to your Wordpress CSS stylesheet. For the most part, if you follow these steps your link directory should now have the exact design as your Wordpress blog theme. You can now link back and forth between the blog and the directory with a seamless design. You will most likely have to tweak your CSS stylesheet to get fonts and forms looking perfect. The only downside to this is that when you want to edit the header/footer or sidebar you need to make the changes in both your PHPLD and Wordpress template files. I hope this helps! Please ask questions if you need assistance.
Looks interesting. Thanks for sharing it with us! Besides,is it easy to translate a phpld template into wordpress? Say I have the design on http://www.livelydirectory.com/ and I want to translate it into a wordpress theme.
Thanks for this. I looked at the site where you did this. It is an interesting combination of wordpress and phpLD. I think you are on to a very novel idea that is likely to be successful. Good luck with your project.
You might try to experiment? Please let us know how that goes if you actually do end up trying (5% chance?...okay 1% chance then). The above post by jhnrang is an example of some of the posts I describe in the thread http://forums.digitalpoint.com/showthread.php?t=321546 Most themes will vary in design by having different layouts, coding, and content. I think this tutorial will offer a general idea of the concept of doing so, but it's not an actual tutorial to accomplish a working example. Good write-up though. I hope it helps those who are actually going to try it out (unlike jhnrang over here).
Has anyone tried to follow the instructions yet? (just curious) I'll give you some rep too. Good idea Glo-con.
I think paidhosting posted something similar to this here, http://www.dmoz-resources.com/zone/showthread.php?t=93 It should give you a brief idea of the concept.
Yeah stupid me, It was this one: http://www.phplinkdirectory.com/forum/showthread.php?t=13321 EDITED: same tutorials..different names...same person... not vice versa.