WordPress.org

Forums

NextGEN Gallery
Integrating in existing website: how to output css files? (3 posts)

  1. mtemp
    Member
    Posted 2 years ago #

    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

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. mtemp
    Member
    Posted 2 years ago #

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

  3. smigliorato
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.