Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #527620

    Hi, I know you all just LOVE seeing me around here(:p) But there does seem to be a pretty persistent problem, on the front page, we have a couple magazines(modified by a template to include other fancy bits), the blogs work just fine, but the “VIDEOS and PODCASTS” magazine does not show all posts from the “VIDEOS and PODCASTS” category,

    Here is the front page,

    http://www.manic-expression.com/

    And here is the category,

    http://www.manic-expression.com/category/zero/videospodcasts/

    As you can see, there are more in that category for October 30th then are appearing on the front page.

    #527667

    Hi James!

    In the magazine element do you have it set to display certain number of posts per page? Are you sure both categories are selected?

    Try deactivating all plugins while testing and send us a WordPress login so we can take a look.

    Cheers!
    Elliott

    #527677

    Both columns are set to display 13 posts from their respective categories. I’ll be testing this now.

    #527683

    Both are set to 13, yes, and I have disabled all plugins, I’ve gone ahead and put in the default magazine, which seems to display all the items properly(as well as put the noresponse text at the top of the page), this means, I assume, that there is a problem with the template file, I understand that you can’t help much with that, but if you can, below is the code in that file.

    <?php
    	/*
    	Template Name: Home
    	*/
    
    global $avia_config;
    
    	/* 
    	 * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
    	 */
    	 get_header();
    
     	 if( get_post_meta(get_the_ID(), 'header', true) != 'no') echo avia_title();
     	 
     	 do_action( 'ava_after_main_title' );
    	 ?>
    
    		<div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'>
    
    			<div class='container'>
    
    				<main class='template-page content  <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'page'));?>>
    
                        <?php
                        /* Run the loop to output the posts.
                        * If you want to overload this in a child theme then include a file
                        * called loop-page.php and that will be used instead.
                        */
    
                        $avia_config['size'] = avia_layout_class( 'main' , false) == 'entry_without_sidebar' ? '' : 'entry_with_sidebar';
                        get_template_part( 'includes/loop', 'page' );
                        ?>
    
    				<!--end content-->
              <div class="postblock">
                <div class="posthalf">
                  <div class="homeposttopbar">
                    <a href="#">
                      Blogs</a>
                  </div>
              <?php query_posts( 'cat=1&showposts=13' ); 
                while (have_posts()) : the_post();?>
                <div class="postcontent">
                  <div class="thumbnail"><div class="imgdiv">
                   <a href="<?php the_permalink();?>"> <?php if ( has_post_thumbnail() ) {
     the_post_thumbnail('thumbnail');
    }
    else {
     echo get_avatar( get_the_author_meta('ID'), 48);
    }
    ?></a></div>
               </div>
               <div class="posttext">
                 <div>
                   <div class="date"><?php the_time('F j, Y') ?></div><span>|</span>
                 		<div class="comments"><?php comments_number( '0 comments', '1 comment', '% comments' ); ?></div>
                 </div>
    							<h3 class="av-magazine-title entry-title" itemprop="headline">
                    <a href="<?php the_permalink();?>"><?php the_title();?></a>
                 </h3>
                 <div class="author-name"><p>By <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"><?php the_author(); ?></a></p></div>
                </div>
                  </div>
                <?php endwhile; ?>
                </div>
                <div class="posthalf last">
                  <div class="homeposttopbar">
                    <a href="#">
                      Videos and Podcasts</a>
                  </div>
          <?php query_posts( 'cat=2061&showposts=13' ); 
                while (have_posts()) : the_post();?>
                <div class="postcontent">
                  <div class="thumbnail"><div class="imgdiv">
                   <a href="<?php the_permalink();?>"> <?php if ( has_post_thumbnail() ) {
     the_post_thumbnail('thumbnail');
    }
    else {
     echo get_avatar( get_the_author_meta('ID'), 48);
    }
    ?></a></div>
               </div>
               <div class="posttext">
                 <div>
                   <div class="date"><?php the_time('F j, Y') ?></div><span>|</span>
                 		<div class="comments"><?php comments_number( '0 comments', '1 comment', '% comments' ); ?></div>
                 </div>
    							<h3 class="av-magazine-title entry-title" itemprop="headline">
                    <a href="<?php the_permalink();?>"><?php the_title();?></a>
                 </h3>
                 <div class="author-name"><p>By <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"><?php the_author(); ?></a></p></div>
                </div>
                  </div>
                <?php endwhile; ?>
                </div>
    				</main>
    
    				<aside class="sidebar sidebar_right  alpha units" role="complementary" itemscope="itemscope" itemtype="https://schema.org/WPSideBar"><div class="inner_sidebar extralight-border"> <a class="twitter-timeline" href="https://twitter.com/JamesManic" data-widget-id="650917932797677568">Tweets by @JamesManic</a>
    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>  <?php
    
    				//get the sidebar
    	$avia_config['currently_viewing'] = 'page';
    				dynamic_sidebar('standard-side-bar');
    
    				?></aside></div>
    
    			</div><!--end container-->
    
    		</div><!-- close default .container_wrap element -->
    
    <?php get_footer(); ?>
    #528170

    Okay, this is the absolute last thing(I’ve managed to figure everything else out myself), for some reason, all forum replies are displaying on this category page, which, obviously, it’s not supposed to be doing,

    http://www.manic-expression.com/category/one/blogs/

    Thoughts?

    #528800

    Hi!

    Not sure, I’m guessing it’s a customization. Try uploading a fresh copy of the theme and deactivate all plugins.

    But besides that, why are you using a custom page template for your homepage? You can easily create the same thing using our layout builder when editing the page.

    Regards,
    Elliott

    #528881

    And how would I do that? cause I’ve gone through 2 Web Designers that seemed pretty darn convinced that it was impossible. :/

    (They were professionals to, if it’s really as simple as you’re making it sound, they are so getting a bad review. :p)

    #529479

    Hey!

    Well maybe I am misunderstanding but if your just wanting to display the magazine element and other blog elements on your homepage then you would just edit your homepage and use the layout builder to add them to the page.

    You can set your homepage in Dashboard > Enfold > Theme Options.

    Cheers!
    Elliott

    #531718

    Sorry it took me so long to get back to you, the reason we needed a template was so that the featured image would default to the Buddypress profile image, so that the number of comments would be displayed, and so that the username of the person who posted it will also be displayed.

    #532804

    Hey!

    I’m sorry but that’s bordering on custom work. It would be best to hire a freelancer to help you out with this customization.

    Cheers!
    Elliott

    #536299

    Bordering? It is custom work. XD Not to worry though, I figured it out, and all is good. :)

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Magazine Not Displaying all Posts Within a Category’ is closed to new replies.