• Hi all,

    I purchased a theme and all is going really well, i have hit a problem with my gallery, the theme comes with a page that contains a gallery for 9 images. but i would like to have more than 9 images and create a 2nd gallery page but havent got an idea on how to do this, can anyone point me in the right direction

    site is currently sitting here http://www.testhere.com.au/wordpress/?page_id=72

    thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • webriti

    (@priyanshumittal)

    Are you using any plugins for creating gallery?

    Thread Starter n0n1ckname

    (@n0n1ckname)

    not that im aware of, sorry first time i user wordpress and i bought the them from template monster, theres nothing obvious in the plugins menu

    webriti

    (@priyanshumittal)

    please provide me the code of this page
    http://www.testhere.com.au/wordpress/?page_id=72

    Thread Starter n0n1ckname

    (@n0n1ckname)

    /* Gallery */
    #gallery {

    }
    #gallery .portfolio {
    width:100%;
    overflow:hidden;
    list-style-type:none;
    padding:5px 0 0 0;
    margin:0;
    }
    #gallery .portfolio li {
    float:left;
    width:294px;
    margin:0 35px 50px 0;
    border:none;
    padding:0;
    font-family:Arial, Helvetica, sans-serif;
    font-size:13px;
    }
    #gallery .portfolio li.nomargin {
    margin-right:0;
    }
    #gallery .portfolio li a.image-wrap {
    display:block;
    padding:5px;
    border:1px solid #eee;
    overflow:hidden;
    width:290px;
    height:150px;
    position:relative;
    background:#FFF url(images/loading.gif) 50% 50% no-repeat;
    }
    #gallery .portfolio li a.image-wrap:hover {
    border-color:#dbdbdb;
    box-shadow:0 0 5px rgba(0, 0, 0, .2);
    -moz-box-shadow:0 0 5px rgba(0, 0, 0, .2);
    -webkit-box-shadow:0 0 5px rgba(0, 0, 0, .2);
    }
    #gallery .portfolio li a.image-wrap img {
    float:left;
    }

    #gallery .portfolio .folio-desc {
    margin-bottom:0;
    padding:.8em 0 0 4px;
    }
    #gallery .portfolio p.excerpt {
    padding:0;
    }

    .zoom-icon {
    display:block;
    position:absolute;
    left:1px;
    top:1px;
    width:290px;
    height:150px;
    background:url(images/magnify.png) 50% 50% no-repeat;
    display:none;
    cursor:pointer;
    }
    #gallery .portfolio li a.image-wrap:hover .zoom-icon {
    display:block;
    }

    Thread Starter n0n1ckname

    (@n0n1ckname)

    thats from the style.css sheet, there is also a seperate page i will post next

    Thread Starter n0n1ckname

    (@n0n1ckname)

    <?php
    /**
    * Template Name: Portfolio Full
    */

    get_header(); ?>

    <div id=”full-width”>
    <div id=”content”>
    <?php include_once (TEMPLATEPATH . ‘/title.php’);?>
    <?php global $more; $more = 0;?>
    <?php $wp_query = new WP_Query(); ?>
    <?php $wp_query->query(“post_type=portfolio&paged=”.$paged.’&showposts=9′); ?>
    <?php get_template_part( ‘loop’, ‘portfolio’ );?>
    </div><!– #content –>
    </div>
    <!– end #main –>
    <?php get_footer(); ?>

    webriti

    (@priyanshumittal)

    The number of images displayed can be changed by modifying “Showposts=9”

    Basically here Gallery is a Page which lists 9 images… To create new gallery you will need to create a new page where images can be displayed..

    Try creating a new page , you will need to select Page Template while creating it.

    Let us know if you find any success

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Add seccond gallery’ is closed to new replies.