Forum Replies Created

Viewing 15 replies - 16 through 30 (of 58 total)
  • I think your confusing yourself trying to create a home.php page. You dont need to do any programing or have more than half a clue to do what I think you want to do.

    If you want a “static” starting page (homepage) where you make an entry once, and then manually update it by editing it every time you want it changed, then the static-front plugin is the one to do that. If you want the same thing, but want that starting page to update automaticly and show the most current post only, a simple way would be to use the opt-in plugin https://www.semiologic.com/projects/opt-in-front/

    That way you decide what post you want to show up on that started page by opting it in and opting out all others.

    Both are very simple installs.

    I’m not sure “what” you want to end up with. Are you looking for a wordpress site that has a static “homepage” like a non-wordpress site, rather than the blog entries displayed on the homepage? If so the static front page plugin will do that for you. That’s how my site is setup.

    https://www.semiologic.com/projects/static-front/

    I thought thats what I did in my post. It isn’t clear how to make this work, and it took me a few minutes to figure it out. So let me try again:

    1. Load redirectify plugin into plugin folder
    2. go into admin screen in WP and activate it
    3. go to write/page in the admin screen and give a title to a new blank page
    4. do not enter anything into the content, just go down to bottom and find the custom field section
    5. add a new custom field by entering the word “rectify” (remove the quotes) into the key field, then add the path to the lazy-index.php file (on your server) in the value field.
    6. save the page
    7. view your site and look at the page you created.

    cheers.

    Nice tip.

    Once you have the plugin loaded, create a new blank page and add a new custom field with a key called rectify, and with a value of the url to the lazy-index.php

    Works great. Thanks.

    Look in your template’s footer.php for the get_sidebar line mentioned above. Might be hiding in there.

    Forum: Plugins
    In reply to: No style in Lazy Gallery

    Does it look ok with the default template?

    You may have a hidden directory in your gallery folder. The path https://www.thebigtimer.com/gallery/_vti_cnf/ is valid and contains copies of your pictures. Thats why it is showing up like that, as that is how Lazy-Gallery displays folders.

    I think that folder is related to frontpage, but I’m not that familiar with FP.

    At this point I have to hope someone with more stylesheet experience than I can help you. I suggest you put the sidebar line back where it was before. That way worked fine for many templates I tried, including the default. I only had to move it up for a few styles. Does lazy-gallery format fine when you use the classic and/or default template? If so, then your current template has a stylesheet issue. Good luck!

    Your lazy-index.php should probably work if it looked like this:

    <?php
    /* Don’t remove this line. */
    require(‘./wp-blog-header.php’);
    ?>

    <?php get_header(); ?>
    <?php get_sidebar(); ?>
    <!– <link href=”./wp-content/plugins/lazy-gallery/lazy-style.css” rel=”stylesheet” type=”text/css” /> –>

    <style type=”text/css”>
    <?php include(“./wp-content/plugins/lazy-gallery/lazy-style.css”); ?>
    </style>

    <div class=”narrowcolumn”>
    <div id=”gallery”> <br/>
    <br/>
    <?php showGallery();?>
    </div>
    </div>

    <?php get_footer(); ?>

    The only change I made was to move one line. I moved the line “<?php get_sidebar(); ?>” up to right below “<?php get_header(); ?>” I hadd the same problem and this worked for me. Your mileage may vary.

    Forum: Plugins
    In reply to: Gallery suggestion?

    Oh, btw, I use a unofficial-modified version of Lazy-gallery, version .4++ that builds and caches thumbs and displays them as requested above. Find it here: https://student.kuleuven.be/~s0164195/lazy-gallery/

    cheers

    Forum: Plugins
    In reply to: Gallery suggestion?

    Onga, if you post a link to your site perhaps we can help. lazy-gallery is the easiest way by far I have found to display albums in WP. I tried several others before settling on this one. Depending on your template though, you may need to make minor changes to deal with sidebar issues.

    On the sidebar thing, that should fix once the code can find the lazy-gallery stylesheet, which will be solved when you move it and its comapnion file to the proper directory as per above.

    Not a problem. You have two files in the folder at: /plugins/lazy-gallery/lazy-gallery/

    They are lazy-style.css and lazy-img.php. Move those two file out of that folder and put them in the folder at: /plugins/lazy-gallery/

    Ok, I think this is your problem, you have nested two lazy-gallery folders. Your .css file is really at https://leavesofivy.com/WORDPRESS/wp-content/plugins/lazy-gallery/lazy-gallery/lazy-style.css

    You need to move the two files in that second lazy-gallery folder up to the lazy-gallery folder above it. Cheers.

    I had issues with the sidebar not showing in about 1/2 the templates I used. I added this line: <?php get_sidebar(); ?> right after this line: <?php get_header(); ?> into the lazy-index.php file.

Viewing 15 replies - 16 through 30 (of 58 total)