Member Offer
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to remove recent posts section from Wordpress theme/blog?

Discussion in 'Website Design Forum:' started by bamme, Apr 3, 2010.

  1. bamme

    bamme Senior Member


    I am using this theme (Notepad Chaos) on my blog

    I want to remove the recent posts section. I can redesign the area where the recent posts bit appears by myself, but i do not know how to get wordpress to stop listing recent posts. I do not have recent posts in my sidebar.. havent done this before.. :S Can anyone give me a hint??

    Ive looked in the theme's sidebar.php file and all it says is:

    the theme files are available for download on the link to it above. any help much appreciated! :/
  2. ralphsaunders

    ralphsaunders Senior Member

    My guess is that the code enables the widget sidebar. So if you go into your admin area, scroll to the appearance section on the sidebar and then click on widgets you should be able to control it from there.

    Just a guess mind.

  3. bamme

    bamme Senior Member

    Ahh i did have a look at the sidebar.. theres nothing in it at all now :/ is there a way to disable the widget sidebar/would this work? im sure theres something in theme files buti cant really see anything, im not too experienced with construction of wordpress themes
  4. tbwcf

    tbwcf Active Member

    Have you got this sorted? if its widgetized you might not have to go into the code in the admin area there is a 'widget' tab under 'appearance' you may be able to alter there
  5. bamme

    bamme Senior Member

    well, ive tried both going into wordpress and clearing the sidebar in the widgets tab, and also clearing the sidebar.php file itself and reuploading it.. doesnt seem to have had an effect :/
  6. glenwheeler

    glenwheeler Senior Member

    HI Emma,

    I have just looked at the site and it seems a stylehseet it missing so I canot really do anything until thats back again. I imagine the recent posts uses a style somewhere can this not just be set as

    #widgetarea {

    Do you know what I mean by that?
  7. bamme

    bamme Senior Member

    Hi Glen, literally just managed to remove it - it was in a file called columns.php the finished result is here: Ziggiville :)

    there are still a few bits and bobs with it though that are more general tweaks i suppose - does anyone know is it possible to remove the "posted under" bit beneath each page?

    And also how to change page urls/permalinks of pages from the ugly to something like .. . i think it might be something to do with htaccess - i dont have a htaccess file, nor much knowledge about that sort of thing :S

    on a diff wp blog i use, which uses version 2.9.1 - i can literally just change the permalink by clicking Edit right under the page title, but with this blog using 2.9.2 i cant.. again i think it may be to do with file permissions, but not sure! any ideas?
  8. glenwheeler

    glenwheeler Senior Member

    All these can be done using the display:none; css setting. You have a class in there called "meta" just set it to display:none; you shouldnt need to remove or play with php

    I dont understand what you mean by the permalinks question. Do you want to change what they look liek is that what you mean ?
  9. Greg

    Greg Active Member

    Check the write permissions for the .htaccess file in the root directory using your FTP client, should be write enabled to allow WP to modify the permalinks either through the main permalinks settings, or through the options under the post titles like you mentioned.
  10. bamme

    bamme Senior Member

    Ahh i thought that might be it thankyou Greg, i didnt do this install (do you remember when you helped me with the last one? that same setup..) the server people did it, and there seems to be no htaccess file, so i am going to download a fresh version of WP 2.9.2, upload the htaccess file.. and see what happens. is the permission 755?
  11. bamme

    bamme Senior Member

    Managed to sort the sidebar, was all in a file called columns.php - im okay with playing with php once i find the right bit hah managed to get it in the end, thankyou though, on looking back that woulda been a much quicker way to do it :D

    I think Greg hit it on the head with the file permissions solution when it comes to changing permalinks - im going to give it a go!
  12. glenwheeler

    glenwheeler Senior Member

    Glad you got it sorted Emma :)
  13. bamme

    bamme Senior Member

    oh it worked :) cool thankyou!!
  14. jackbency

    jackbency Guest

    Hey Glen, This is very nice so I am going to install because I liked the way you have done.
  15. bamme

    bamme Senior Member

    Yeah v easy and logical way of doing it isnt it! :) For me, i didnt have a "widgetarea" in my theme, So i would have instead targeted the <ul> that displayed the pages.

    I tried a similar thing v recently inspired from this idea to remove single page links from the pages link list in the sidebar without going into php --

    (removing the second <li> within the page links <ul> )

    not sure if this would still apply with a widgetized sidebar (mine uses list_pages in the php) but it worked fine :) Good shout Glen thankyou for that as well!

Share This Page