cyi101

Forum Replies Created

list of topics you have created till now.

  • cyi101
    Participant
    Posted in : Archives by Year

    Thank you Mehmet, that was exactly what I needed! You guys are awesome :)

    cyi101
    Participant
    Posted in : Archives by Year

    Yes, I’ll be using a child theme. So I’d love to know how to modify that block of code to show only a certain year. Then I can figure out the rest myself, thank you!

    cyi101
    Participant
    Posted in : Archives by Year

    Thanks for the link, but I don’t like the look of the plugin. I’d rather keep the look of your Archives page, but just do a simple modification to the php file.

    Can you show me what to change in that block of code (from “template-archives.php”) so I can bring in certain years? For example, if you show me how to modify this so only entries from 2016 show up, I can figure out how to do it for the other years:

    $args_loop = array( 'post_type' => 'post', 'posts_per_page' => 9999999 );
    $loop_custom = new WP_Query( $args_loop );
    
    if ( $loop_custom->have_posts() ) :
    	while ( $loop_custom->have_posts() ) : $loop_custom->the_post();
    

    Thank you!

    cyi101
    Participant

    Hi, when I click “include sticky posts” I notice it has the sticky posts on the main slider AND shows the sticky posts under it. However, when I click “exclude sticky posts” it removes those posts from my blog posts completely.

    Is there a way we can have the sticky posts SHOW on the main slider and also show up in the blog posts in the ORIGINAL order (not moving the sticky posts to the top, or removing them completely)?

    Thank you!!

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