• So I’ve been tweaking a wordpress theme to include all my functions of my msrs script. And I got the wordpress main content working but I need a way to add the navigation of wordpress to the nav menu’s of my msrs script. and have them work. The way I’ve got this set up as seen here:

    https://unholylayouts.com/wordpress/

    All the php includes from wordpress link to my root _theme directory for my msrs script. Is it even possible to be able add links like this for example:

    <a href="<?php bloginfo('rss2_url') ?>">Example</a>

    to my _theme navigation menu and have it read from wordpress’s theme directory.

Viewing 3 replies - 1 through 3 (of 3 total)
  • smurfwicked, I also wanna know the answer,who help us? thanks.

    [Sig Moderated: Forum Rules don’t allow Sigs]

    I’m after something similar….

    I’d like to be able to show the first couple of paragraphs from say the last 5 posts on a front page higher up the directory structure, plus say the last 5 comments, and maybe the category structure

    so if site is homesite.com and wordpress is in homesite/wordpress
    I’d like to have a homesite.com/index page showing the three sets of info from WordPress.

    I’ve figured out how to do it for the forums (SMF forums) and for the store (oscommerce) both using plugins available from their communities, but I can’t figure out how to do it with WordPress, nor can I find an extension for doing it.

    Any help or pointers appreciated

    Gaz

    Allowing your pages outside wordpress to use wordpress functions is as easy as adding the following line of code to those pages

    <?php require(‘path_to/wp-blog-header.php’); ?>

    Be sure to change path_to to the correct path for the file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding WP Links to a nav menu outside wordpress directory’ is closed to new replies.