• I want to use the same theme from my wordpress on my forum, i’ve done some research and found that i can call the header and footer from my wordpress theme?

    If this is correct, what code would i use? My forum and wordpress installations are in two seperate folder …

    Help? Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • To use WordPress functions, you’ll need to include the wp-blog-header.php in your forum template.

    There after, you would be able call the get_header(), get_footer and other relevant functions which you need.

    Thread Starter cssfeeds

    (@cssfeeds)

    How would i include the wp-blog-header.php file in my template?

    <?php
    // Include WordPress
    define(‘WP_USE_THEMES’, false);
    require(‘./blog/wp-blog-header.php’);
    ?>

    something like that? (probably need some adjusting, its how I call it for use on my website, where I DON’T want to use the theme….

    Thread Starter cssfeeds

    (@cssfeeds)

    What file should i include this code in? I’m using MyBB …

    no clue on that one boss…I use SMF for my forums…..never seen MyBB

    Thread Starter cssfeeds

    (@cssfeeds)

    I’m totally lost. I’ve no idea how i can do this … lol

    No idea on that too mate… I don’t know how the template engine of that forum works…

    However, if I were to guess, you could can try linking the wp-blog-header.php in the template index file..

    According to SMF forum:

    index this is the stuff around the main content that goes on every page.

    Note: If you do try it out… pls DO NOT try it on a live site….

    geraldyeo,
    I have wordpress and smf. What exactly do I need to do to get the header above the smf forum? I have looked and tried everything?! i would appreciate any help ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Call Header’ is closed to new replies.