Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Elliott Wall

    (@elliott-wall)

    I would be perfectly happy with pass protecting the category page that shows the videos— it doesn’t have to be the main blog page, if that helps.

    The index.php for my theme is:

    <?php 
    
    get_header();
    
    if ( is_home() && !is_paged() ) {
    
    	if ( savona_options( 'featured_slider_label' ) === true || savona_options( 'featured_links_label' ) === true ) {
    		// Featured Slider, Carousel
    		if ( savona_options( 'featured_slider_label' ) === true ) {
    			get_template_part( 'templates/header/featured', 'slider' );
    		}
    
    		// Featured Links, Banners
    		if ( savona_options( 'featured_links_label' ) === true ) {
    			get_template_part( 'templates/header/featured', 'links' ); 
    		}
    	}
    }
    
    ?>
    
    <div class="main-content clear-fix<?php echo esc_attr(savona_options( 'general_content_width' )) === 'boxed' ? ' boxed-wrapper': ''; ?>" data-layout="<?php echo esc_attr( savona_page_layout() ); ?>" data-sidebar-sticky="<?php echo esc_attr( savona_options( 'general_sidebar_sticky' )  ); ?>">
    	
    	<?php
    	
    	// Sidebar Left
    	get_template_part( 'templates/sidebars/sidebar', 'left' ); 
    
    	// Blog Grid Wrapper
    	get_template_part( 'templates/grid/blog', 'grid' );
    
    	// Sidebar Right
    	get_template_part( 'templates/sidebars/sidebar', 'right' ); 
    
    	?>
    
    </div>
    
    <?php get_footer(); ?>
    

    And if I understand correctly from the forum comment I mentioned above, I wanted to integrate that into this:

    <?php
    /*
    Template Name: postspage
    */
    ?>
    <?php get_header(); ?>
    <?php
    $lastposts = get_posts();
    foreach($lastposts as $post) :
    setup_postdata($post);
    ?>
    <div class=”item”>
    <h2><?php the_title(); ?></h2>
    <p class=”date”><?php the_time(‘j.m.Y’) ?></p>
    <?php the_content(); ?>
    </div>
    <?php endforeach; ?>
    <?php get_sidebar(); ?>
    <?php include (TEMPLATEPATH . “/footer.php”); ?>

    Since it’s above my skill level and the pay grade of this gig to spend much further time on this, and it being a problem I’ll never have to face again, I probably can’t really be looking into how every hook works. So the results of my efforts thus far are probably pretty comedic— I have no idea what I’m doing! 🙂

    <?php
    /*
    Template Name: postspage
    */
    ?>
    <?php 
    get_header();
    if ( is_home() && !is_paged() ) {
    
    	if ( savona_options( 'featured_slider_label' ) === true || savona_options( 'featured_links_label' ) === true ) {
    		// Featured Slider, Carousel
    		if ( savona_options( 'featured_slider_label' ) === true ) {
    			get_template_part( 'templates/header/featured', 'slider' );
    		}
    
    		// Featured Links, Banners
    		if ( savona_options( 'featured_links_label' ) === true ) {
    			get_template_part( 'templates/header/featured', 'links' ); 
    		}
    	}
    }
    ?>
    
    <div class="main-content clear-fix<?php echo esc_attr(savona_options( 'general_content_width' )) === 'boxed' ? ' boxed-wrapper': ''; ?>" data-layout="<?php echo esc_attr( savona_page_layout() ); ?>" data-sidebar-sticky="<?php echo esc_attr( savona_options( 'general_sidebar_sticky' )  ); ?>">
    	
    <?php
    $lastposts = get_posts();
    foreach($lastposts as $post) :
    setup_postdata($post);
    ?>
    <div class=”item”>
    <h2><?php the_title(); ?></h2>
    <p class=”date”><?php the_time(‘j.m.Y’) ?></p>
    <?php the_content(); ?>
    </div>
    <?php endforeach; ?>
    	<?php
    	// Sidebar Left
    	get_template_part( 'templates/sidebars/sidebar', 'left' ); 
    
    	// Blog Grid Wrapper
    	get_template_part( 'templates/grid/blog', 'grid' );
    
    	// Sidebar Right
    	get_template_part( 'templates/sidebars/sidebar', 'right' ); 
    	?>
    </div>
    <?php get_footer(); ?>
    Thread Starter Elliott Wall

    (@elliott-wall)

    Hi— I never solved it, but I did come to a satisfactory solution. I started using Jetpack carousel and it does respect your gallery page thumbnail sort order.

    I also used this plugin http://ww.wp.xz.cn/plugins/media-category-library/ to change the upload date of my paintings to match the actual painting’s creation date and categorize them by year; I can’t remember if that helped the attachment page navigation issue or not since I may have just decided to use carousel anyway, but I’m pretty sure attachment pages are always arrayed according to post id.

    I customized carousel a little bit and I’m really pleased at how it looks: http://www.elliottwall.com/contents/paintings/

    Thread Starter Elliott Wall

    (@elliott-wall)

    I figured it out— there was a margin in between the menu menu item and the secondary/drop down ones, but I couldn’t find the selector for it— it in wp-folio/css/superfish.css and I think the line I edited was:

    background-position: -10px -100px; /* arrow hovers for modern browsers*/

    … the background-position being set to something else.

    Thread Starter Elliott Wall

    (@elliott-wall)

    (Sorry— I thought it would show up somehow…)

    http://elliottwall.com

    About 50% of the time the drop down menu disappears upon hover (only the menu item Weblog has a drop down menu). I’ve noticed that if the fade effect doesn’t work when hovering over Weblog then the drop down menu won’t work upon hover. If upon hovering on Weblog the drop down *does* fade in though then the menu won’t disappear.

    [ Please do not bump, that’s not permitted here. ]

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