Forums

[resolved] Lazy gallery on a Page (4 posts)

  1. jorgeandresito
    Member
    Posted 6 years ago #

    Hi, does anyone knows how to include lazygallery in a Page? (not a link, but a page). I know this should be very simple, but i've searched and found nothing
    Thanks for your help.

    by the way, my site is http://jorgeonline.com
    my lazy gallery adress is http://jorgeonline.com/lazy-index.php
    i would like that to be as my Home page...

  2. jwurster
    Member
    Posted 6 years ago #

    I tried to do that for a long time, but could never get it to work. So I did what you did as a link.

  3. jorgeandresito
    Member
    Posted 6 years ago #

    Hi. Already figured it out. What i did was this:
    Installed ezstatic plugin and activate it.
    Installed Static Front Page plugin and activate it (create a page called "Home", also)
    Then, on this page, i insert this code (extracted from lazy-index.php and with some modifications)

    < ?php
    /* Don't remove this line. */
    ?>
    <link href="./wp-content/plugins/lazy-gallery/lazy-style.css" rel="stylesheet" type="text/css">
    <div id="content" class="narrowcolumn">
    <div id="gallery">

    < ?php showGallery();?>
    </div>
    </div></link>

    Remember to check on the box that says "Execute as page content between..."

    that's it. Now i have my lazy gallery as static home page on my blog. Check it out at http://jorgeonline.com

  4. hbalagh
    Member
    Posted 6 years ago #

    a nice easy way to also do this is to use the redirectify plugin...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags