WordPress.org

Ready to get started?Download WordPress

Forums

Remove 'Recent Posts' from TwentyEleven Showcase template (3 posts)

  1. fcmoss
    Member
    Posted 10 months ago #

    I've found a way to eliminate the 'Recent Posts' element from the twentyeleven Showcase template. There's a section in showcase-template.php marked '<section class="recent-posts">.' In my Dreamweaver it starts on line 159.
    Delete everything from '<section class="recent-posts">' to the end, '</section>,' line 212. I renamed the file 'New Showcase Template.'
    Here's the result: http://www.cartoonscripts.com/blog/.
    The problem I haven't solved is that the content margins narrow to the Default. I edited style.css to change references '.page-template-showcase-php' to '.page-template-new-showcase-php' but it didn't work. Just in case I saved the original style sheet as 'old-style.css.'

  2. WPyogi
    Volunteer Moderator
    Posted 10 months ago #

    You should be using a child theme to make changes to the theme - as is, all of your changes will be lost when WP is updated -

    http://codex.wordpress.org/Child_Themes

  3. fcmoss
    Member
    Posted 10 months ago #

    I renamed the modified template. Would WP delete it or change templates on my pages?

Reply

You must log in to post.

About this Topic