WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How can I remove the list of Recent Articles? (3 posts)

  1. havingfun
    Member
    Posted 1 year ago #

    I am using the Creativix theme. I would like to remove the "Recent Articles" section on my pfrontpage. Can someone explain to me what file in the Editor I can find the code and remove it? How does the "Latest Articles" code look so I do not accidentally remove the wrong code?

    youandthekids.com

  2. alchymyth
    Forum Moderator
    Posted 1 year ago #

    I would like to remove the "Recent Articles" section on my pfrontpage.

    index.php;
    remove:

    <h2>Latest Articles</h2>
                    <h3>Latest Articles from the Blog</h3>
                    <ul class="latest-posts">
                            <?php
    
                            wp_reset_query();
    
                            query_posts("posts_per_page=8&orderby=date&order=DESC");
    
                            while (have_posts()) : the_post();
    
                            ?>
    
    				<li id="latest-post-<?php the_ID();?>"><a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a><span class="date">Published <?php the_time(get_option('date_format')); ?> at <?php the_time(get_option('time_format'));?></span></li>
    
                            <?php endwhile;?>
                    </ul>
  3. havingfun
    Member
    Posted 1 year ago #

    alchymyth...thank you! It worked perfectly. I sure wish I had your knowledge.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.