WordPress header on SMF forum
I’ve been looking everywhere and I still can’t find a solution to my question.
I have a WordPress blog and a SMF forum. For now, I’m using an iframe on the forum page as you can see here because I want it to have the same look as the blog.
The only problem is that sometimes, when making a new post or in some long pages, the iframe gets cropped at the bottom. So I thought it would be better to edit the SMF forum template.
I tried these codes but I can’t get them to work.
<?php /* Short and sweet */ define('WP_USE_THEMES', false); require('./wp-blog-header.php'); ?>
<?php require('/the/path/to/your/wp-blog-header.php'); ?>
I’m a newbie with very little knowledge of coding so I don’t know if I’m getting this right.
Wordpress is installed in the root directory and SMF in sub, I don’t know if this might be the problem.
Also, if this is possible to do with HTML let me know how.
Any help will be appreciated!
- The topic ‘WordPress header on SMF forum’ is closed to new replies.