Unstoppable Domains

How To: Merge Wordpress Themes with PHP Link Directory thread

Spaceship Spaceship
Watch

DotSauce

Established Member
Impact
56
How To: Merge Wordpress Themes with PHP Link Directory

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."


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.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Very nice. Thanks for posting this.
 
0
•••
Quite welcome, anybody tried it yet?
 
0
•••
Thats awesome, very nice look.

I think I'm going to try this with one of my parked domains.

I will post results when finished.

Haha, well it didn't work so good ... check it out here http://octaneinvesting.com/phpLD/
 
Last edited:
0
•••
0
•••
Appraise.net
Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back