Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • <li class="selected" style="opacity: 1;">
        <a class="thumb" title="Title #0" href="#leaf" rel="history">
    
        <br><!-- << for what? -->
    
        <img alt="Title #0" src="//......../xxx.jpg">
    
        <br><!-- << for what? -->
    
        </a>
        <p></p>
    </li>

    if your really need space their, make them padding top & bottom. So kick that <br> ??

    Yes, you got it ??
    For faster page-loading put the galleriffic-calls (js) at the end of your file.
    Actually I don’t figure out how to use “wp_enqueue_script”, so that’s why I load the galleriffic-calls IN the standalone gallery-template (right, not the finest art I know ?? ) so they don’t load not everytime when they didn’t have to…

    For reference/archiv (broken down) here is how I did (with the scripts where they have to be ?? :

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset='utf-8''>
    <meta tags... "blah blah blah">
    
    <title><?php bloginfo('name'); wp_title(); ?></title>
    
    <link rel='stylesheet' href='../wp-content/themes/** THEMENAME **/style.css'>
    <link rel='stylesheet' href='../** PATH-TO **/css/galleriffic.css'>
    
    <?php /** Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline */ ?>
    <?php wp_enqueue_script("jquery"); ?>
    <script src='//code.jquery.com/jquery-latest.pack.js'></script>
    <script>!window.jQuery && document.write(unescape('%3Cscript src="../** PATH-TO **/libs/jquery-1.6.1.min.js"%3E%3C/script%3E'))</script>
    
    <?php wp_head(); ?>
    </head>
    <body>
    
    ...
    
    <div id="container" class="one-column">
        <div id="content"
    
            <article id="post">
                <h1 class="entry-title"><?php the_title(); ?></h1>
                <div class="entry-content">
                    <?php the_content(); ?>
                    <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'page:', '** THEMENAME **' ), 'after' => '</div>' ) ); ?>
                    <?php edit_post_link( __( 'Edit', '** THEMENAME **' ), '<span class="edit-link">', '</span>' ); ?>
    
                <div id="galleriffic" class="content">
                     ** The galleriffic gallery itself **
                </div><!-- /galleriffic -->
    
            </article><!-- /post -->
    
        </div><!-- /content-->
    </div><!-- /container-->
    
    ...
    
    <!-- Galleriffic Srcipts -->
    <script src="../** PATH-TO **/js/jquery.galleriffic.js"></script>
    <?php /** Optionally include jquery.history.js for history support */ ?>
    <!-- <script src="../** PATH-TO **/js/jquery.history.js"></script> -->
    <script src="../** PATH-TO **/js/jquery.opacityrollover.js"></script>
    <!-- We only want the thunbnails to display when javascript is disabled -->
    <script>
    document.write('<style>.noscript { display: none; }</style>');
    </script>
    <script>
    jQuery(document).ready(function($) {
        /** your configuration */
        /**
          * give your website compression or use
          * https://javascriptcompressor.com/
          */
    });
    </script>
    
    </body>
    </html>

    @everimag
    This is no plugin!
    And it looks like there is none.
    So after i came with that site (see link below) from Drupal i had to figure out how to run the nice gallery in wordpress.

    I hope i can help you… at the moment its not the best/perfect integration (like i read in wp-codex). I make “static” pages that’s where i linked to. So, for me at the moment, it’s not possible to make a gallery from WP-Backend!

    for some possible ideas…
    Put the codes in the header before the <?php wp_head(); ?> or put it after… Neither of these tips worked or had any effect.

    I read this to ??

    1st: call jquery in header…
    2nd: place your gallerffic-galery (after < body >)
    3rd: call your gallerffic-scripts at document end (before < /body >)

    e.g. you can see it here: https://thomasmeinke.de/farbe/schwarz-weiss/

    o_o yeah I know my “gallerffic-scripts” are currently not at the documents end… ??

    p.s. sorry for my english… i hope you/everyone knows what i mean.. when not ask ??

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