Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter jenkinzz

    (@jenkinzz)

    Thanks for the quick response and help!

    I just spent a couple hours setting up optimize, and at first seemed to have the same problem. Then I tested with my wife’s phone and it worked! (Optimize, that is.) I was using incognito windows, so I figured that would clear the cookies, but maybe they’re doing it via IP or something? I don’t know.

    Anyways, thanks again for the tip on Optimize, it really is a nice solution.

    Even though the setting still isn’t showing up, I did enable the functionality by going to

    /core/post-formats/standard.php and commenting out line 37:

    <?php // if (suevafree_setting('suevafree_view_comments') == "on" ): ?>
    and the corresponding endif; on 46.

    This is definitely just a work-around since it only affects standard posts, but I can’t find for the life of me the suevafree_view_comments action in the core files.

    What exactly does this toggle?

    I put the code in exactly where you said, but nothing has shown up in customizer. Do I have to plug something else in somewhere else, or is it just not a free feature?

    I’m hoping this is for showing the # of comments at the top of the posts—they have it working on the demo but it doesn’t show up at all on my theme, and I can’t find any setting for it.

    Same thing with tags, but that’s a story for another thread.

    Thread Starter jenkinzz

    (@jenkinzz)

    Resolved!

    For future reference, I noticed that there was some conditional logic giving the posts a class of span12, aka full-width, and when that happened some more conditional logic turned off the sidebar.

    What I did was just replace it with static data through trial and error, comparing it to tempate-right-sidebar.php . Here’s what I have right now:

    *For some reason, the comments are showing up on the first post but none of the others. I would like it to show on none of them, but I’ve given up for now. I’m calling it a feature rather than a bug.

    <?php
    /*
    Template Name: Top Rated Posts
    */
    	$query = new WP_Query(array(
        'post_status' =>'publish',
        'post_type' =>'post',
        'orderby' => 'meta_value_num',
        'meta_key' => '_liked',
        'paged' => (get_query_var('paged')) ? get_query_var('paged') : 1
        ));
    
    ?>
    
    <?php get_header(); ?>
    
    <div class="container">
    
    	<div class="row" id="blog" >
    
            <div class="span8">
    
            	<div class="row">
    
        <?php if ( $query->have_posts() ) :  ?>
    
            <div <?php post_class(); ?> >
    
    			     <article class="article category">
    
    				       <p>Most Inspiring Stories</p>
    
    			     </article>
    
        	  </div>
    
    		<?php while ( $query->have_posts() ) : $query->the_post(); ?>
    
                <div class="pin-article span8 right-sidebar" >
    
    				<?php do_action('suevafree_postformat');  ?>
    
                  <div style="clear:both"></div>
    
                </div>
    
    		<?php endwhile; else:  ?>
    
                <div class="pin-article span8 right-sidebar" >
    
                    <article class="article category">
    
                        <h1> Not found </h1>
    
                        <p><?php _e( 'Sorry, no posts matched into ',"suevafree" ) ?> <strong>: <?php the_category(' '); ?></strong></p>
    
                    </article>
    
                </div>
    
    	<?php endif;?>
    
                </div>
    
            </div>
    
            <section id="sidebar" class="pin-article span4">
    
                <div class="sidebar-box">
    
                    <?php if ( is_active_sidebar('category-sidebar-area') ) {
    
                        dynamic_sidebar('category-sidebar-area');
    
                    } else {
    
                        the_widget( 'WP_Widget_Archives','',
                        array('before_widget' => '<div class="widget-box">',
                              'after_widget'  => '</div>',
    						  'before_title'  => '<h4 class="title">',
    						  'after_title'   => '</h4>'
                        ));
    
                        the_widget( 'WP_Widget_Calendar',
                        array("title"=> __('Calendar','suevafree')),
                        array('before_widget' => '<div class="widget-box">',
                              'after_widget'  => '</div>',
    						  'before_title'  => '<h4 class="title">',
    						  'after_title'   => '</h4>'
                        ));
    
                        the_widget( 'WP_Widget_Categories','',
                        array('before_widget' => '<div class="widget-box">',
                              'after_widget'  => '</div>',
    						  'before_title'  => '<h4 class="title">',
    						  'after_title'   => '</h4>'
                        ));
    
                     }
    
                     ?>
    
                </div>
    
            </section>
    
        </div>
    
    </div>
    
    <?php
    
    	get_template_part('pagination');
    	get_footer();
    
    ?>
    Thread Starter jenkinzz

    (@jenkinzz)

    Yes, you responded with “What is so confusing” on October 31. I have since replied 3 times and asked for my refund repeatedly. You have not repsonded.

    Ticket #7846

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