WordPress.org

Forums

twenty eleven remove/hide recent post from pages (14 posts)

  1. silviopalladino
    Member
    Posted 4 years ago #

    hello,
    I would like my Pages to be static html looking pages. with no posts.
    I can't find the way to delete/hide the Recent Post widget(?) at the bottom of the page.

    can anyone help?

    thanks.

  2. Godzifa
    Member
    Posted 4 years ago #

    Hello,

    By the way, did you find a solution?

    I'm also interested to remove the "Recent Post" on Twentyeleven theme.

  3. alchymyth
    Forum Moderator
    Posted 4 years ago #

    can you post a link to your site?

    afaik, the featured posts only show on the 'showcase template' - what is the reason that you use that template?

    the code for it is in showcase.php; and part of it is in content-featured.php

    also, don't edit twenty eleven directly - create a child theme and make the customisation there.
    http://codex.wordpress.org/Child_Themes

  4. silviopalladino
    Member
    Posted 4 years ago #

    site is http://www.whatdoyoulivefor.net

    I am not an expert in modifying code, so it would be great if anyone could give me some guidance :)

    thanks,

    Silvio

  5. Godzifa
    Member
    Posted 4 years ago #

    My website is not online for the moment.

    But I already created a child theme, then i followed your advice:
    I copied/pasted showcase.php and deleted lines 152 to 205 included. It works! :) Thank you.

    I have just a thin white bar between the page and the footer. How can I remove or reduce it?

    I tried to delete the widget portion in showcase.php but it didn't work.

  6. silviopalladino
    Member
    Posted 4 years ago #

    haaa I think I missed some steps of the process...Godzifa can you direct me to some step to step instructions please?

  7. Godzifa
    Member
    Posted 4 years ago #

    It will be too long to explain step by step but you should start by creating a child theme (click on the link that alchymyth posted above).

    Then copy and paste the file "showcase.php" from the parent theme to the child theme.
    Open the file with a text editor (i.e. Notepad++).
    Delete lines 152 to 205 included.
    Save your modification.

    It should be okay.

  8. WickedDSign
    Member
    Posted 3 years ago #

    Hi,

    I made a child theme and are making any modifications here. So far I only made a CSS file and a showcase.php file.
    I cant seem to figure out how to make my page "front" the first page U see when entering my site http://flowtogrow.dk. I also don't want this first site to show the recent posts from the blog - this I want shown on a separate page called "blog", so I used the above solution, but it did not seem to work for me.

    Can anyone tell me why? (i am quite knew to this - so any well explained help is much appreciated :)

  9. aly22
    Member
    Posted 3 years ago #

    This works --
    In child theme style.css or custom.css (I actually inserted this into Twenty Eleven Theme Extensions Custom CSS block):

    .recent-posts {
    display:none;
    }

  10. boriskamp1991
    Member
    Posted 3 years ago #

    GREAT aly22! that did the trick for me!

  11. lolaliz
    Member
    Posted 3 years ago #

    Did anyone figure out how to remove the white area between the page and the footer Godzifa mentions? I have the same problem.

  12. Alienoiduk
    Member
    Posted 3 years ago #

    I added this to my child-style styles.css to remove the white bar.

    article.intro {
    	margin: -1.855em -8.9% 0.155em;
    }
  13. lolaliz
    Member
    Posted 3 years ago #

    Alienoiduk, you're awesome, thanks, that worked.

  14. Zander70
    Member
    Posted 3 years ago #

    Thanks y'all. I'm just starting out and this thread helped a lot.

Topic Closed

This topic has been closed to new replies.

About this Topic