• Hi,
    I integrated WordPress in an existing homepage — with this code (followed by the loop and the footer):

    <?php
    	define('WP_USE_THEMES', false);
    	/** Loads the WordPress Environment and Template */
    	require($rel . "wp/wp-blog-header.php");
    	wp_head();
    	require('wp/wp-blog-header.php');
    ?>

    Everything works fine. But eg the CSS files of the nextgen plugin are not linked in the header.

    So, which code is missing to output the files used by this plugin?

    Thanks.
    Carlos

    https://www.ads-software.com/extend/plugins/nextgen-gallery/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mtemp

    (@mtemp)

    Hmm, nobody can help me. The support for wordpress in generally is not very good, isn’t it?

    If NextGen Gallery is installed correctly and activated, the scripts and stylesheets it needs should be loaded by “wp_head();”. I’m not too familiar with integrating wordpress into existing sites, so I’m not sure if it presents problems for certain plugins.

    Check out this for the proper code

    It looks like you are might be using the wrong code (wp-blog-header), plus it’s included twice. Use the code from the link above.

    A link to your site will make helping you much easier as well.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: NextGEN Gallery] Integrating in existing website: how to output css files?’ is closed to new replies.