Wordpress trick

Discussion in 'WordPress' started by Lastbutnotleast, Nov 1, 2007.

  1. #1
    In order to use Wordpress as a CMS, do you know how to deactivate the Archives category ?

    Same question for the date, is it possible to deactivate the dates of posts ?
     
    Lastbutnotleast, Nov 1, 2007 IP
  2. fitforfreedom

    fitforfreedom Peon

    Messages:
    70
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You´ll have to edit your WordPress theme. Just delete the archive listing from your sidebar and the part showing the date of your post.
     
    fitforfreedom, Nov 2, 2007 IP
  3. libertygone

    libertygone Active Member

    Messages:
    2,625
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    90
    #3
    Yup! It's easy. Just edit your wordpress theme and remove:

    <?php wp_get_archives('type=monthly'); ?>

    ;)
     
    libertygone, Nov 2, 2007 IP
  4. andrej

    andrej Notable Member

    Messages:
    3,210
    Likes Received:
    130
    Best Answers:
    0
    Trophy Points:
    220
    #4
    Or in the admin panel go to Presentation > Widgets and just remove the Archives category - widget.

    To get rid of the dates, delete this in the index.php and page.php files of the theme you are using:
     
    andrej, Nov 2, 2007 IP
    Red_Virus likes this.
  5. Lastbutnotleast

    Lastbutnotleast Peon

    Messages:
    2,612
    Likes Received:
    105
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I will try

    Thanks for your help ;)
     
    Lastbutnotleast, Nov 2, 2007 IP
  6. kapengbarako

    kapengbarako Peon

    Messages:
    914
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #6
    do that also in other php files that show your date
     
    kapengbarako, Nov 3, 2007 IP
  7. bochgoch

    bochgoch Peon

    Messages:
    1,918
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Make sure you take copies of your WP files before you start changing them ...
     
    bochgoch, Nov 3, 2007 IP
  8. Lastbutnotleast

    Lastbutnotleast Peon

    Messages:
    2,612
    Likes Received:
    105
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Yep - I will try on a blog built for the purpose of testing things

    I just have a concern : no database issue ?

    :confused:
     
    Lastbutnotleast, Nov 3, 2007 IP
  9. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #9
    Changing what your theme shows does not interfere with the database.
     
    mizaks, Nov 3, 2007 IP
  10. Red_Virus

    Red_Virus Well-Known Member

    Messages:
    3,756
    Likes Received:
    249
    Best Answers:
    0
    Trophy Points:
    135
    #10
    Thanks man, Just got what I was looking for, thanks for sharing this. I was just going around with the code :)

     
    Red_Virus, Nov 3, 2007 IP
    andrej likes this.
  11. Lastbutnotleast

    Lastbutnotleast Peon

    Messages:
    2,612
    Likes Received:
    105
    Best Answers:
    0
    Trophy Points:
    0
    #11
    And what about WP updates ?
     
    Lastbutnotleast, Nov 3, 2007 IP