WordPress.org

Ready to get started?Download WordPress

Forums

Embed WP Loop into Menalto Gallery2 Template (1 post)

  1. HLH_RealEstate
    Member
    Posted 8 years ago #

    Ok - this seems to be somewhat backwards from what most people try to do...but rather than embed my photo gallery into my WP blog, I'd like to embed my WP loop into a template that I've created for my Gallery2 photo gallery. So far I've put the <?php require('./myblogdirectory/wp-blog-header.php'); ?> into my main.php file, and put the loop (which works in the rest of my website) into the theme.tpl file...but it doesn't pull the information from the blog into the gallery template. For an example, please check out http://www.HernandoLuxuryHomes.com

    The main pages of the site have the loop in the lower right...but if you click on "Luxury Residential" in the left-sidebar it takes you into my Gallery template that I use to showcase my listings...I can't get my WP loop to work inside that template.

    Any help would be immensely appreciated...cuz I'm at a bit of a loss...

    Thanks,

    Josh

Topic Closed

This topic has been closed to new replies.

About this Topic