Forums

bloginfo + string concatenation + ngg gallery (2 posts)

  1. I_Know_God
    Member
    Posted 3 years ago #

    my page is
    http://www.decoradoors.com/gallery

    basicly this page is a page with an album on it and the album has 5 galleries in it powered by ngg gallery. now when they click on a gallery in the page it takes them into the gallery but stayes on the same page. but im wating to put a blurb of text above the gallery they click on, since its on the same page im needing to code something into page.php

    but what ?

    im not sure but if i could concatenationa string with my blog url i think i could have it, is this possible ?

    bloginfo('url' +/gallery?p=35 ??

    <?php /* if ((is_page('32') && (bloginfo('url' +/gallery?p=35) {
    $temp_query = $wp_query;
    							query_posts('category_name=doors');
    									 while (have_posts()) : the_post();
                         echo '<p><a href="'; the_permalink(); echo '" rel="bookmark" title="Permanent Link to '; the_title(); echo'">'; the_title(); echo'</a></p>';
    							 endwhile;
      }*/ ?>
  2. Michael Fields
    Theme Wrangler
    Posted 3 years ago #

    php concatenation works a little differently:

    <?php print get_bloginfo('url') . '/gallery/?p=35'; ?>

Topic Closed

This topic has been closed to new replies.

About this Topic