WordPress.org

Support

Support » How-To and Troubleshooting » Integrate WP with a php file

Integrate WP with a php file

  • Hi guys! 🙂
    I created a abc.php file containing:

    define(‘WP_USE_THEMES’, true);
    require(‘/wp-blog-header.php’);

    and everything works fine except that I don’t want its content to be (as my blog home page does) the latest X posts but the code I want.

    In my abc.php file I want the HEADER, stop!!
    I want to code the part after the header within the abc.php …

    I hope it’s clear….. in my abc.php I just want the header, then I’ll start my HTML code for the content.

    Can you help me?

    Thanks in advance! 🙂

  • The topic ‘Integrate WP with a php file’ is closed to new replies.
Skip to toolbar