I need to change the word posts to lists

Discussion in 'WordPress' started by Nigel Lew, Mar 27, 2011.

  1. #1
    Hi folks, I am wrapping up a WP gig today and to totally nail it I need to change the word posts to lists(resource site of sorts) hence the client is essentially making lists, not posts.

    I would like to change the word posts eg: recent posts, latest posts etc. to recent lists, latest lists etc.

    Tad stumped on this one, I thought I could find it in the po file but it seems to be escaping me.

    should I be rifling through some php? I was checking widgets to do this and changed some titles but its not actually changing anything.

    thanks much,
    Nigel
     
    Nigel Lew, Mar 27, 2011 IP
  2. dddougal

    dddougal Well-Known Member

    Messages:
    676
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    108
    #2
    i think you will need to change it in the template files. in the loops just change the html to lists instead of h2 and p's etc.
     
    dddougal, Mar 27, 2011 IP
  3. dddougal

    dddougal Well-Known Member

    Messages:
    676
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    108
    #3
    actually just thought, the content is already formatted into paragraphs isn't it. you could get the content then replace all the p tags with li tags.

    <?php $content = get_the_content(); ?>

    then replace the tags in $content
     
    dddougal, Mar 27, 2011 IP
  4. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    406
    Best Answers:
    21
    Trophy Points:
    295
    #4
    I don't think I was clear. In the sidebar for instance for widget titles I have say "Recent Posts" I need that to read "Recent Lists". Actually formatting the posts as a list is easily done with the wysiwyg.

    thanks for the quick response!

    Nigel

    Edit: more logically I need to change widget titles.

    OHH FFS... I got it. I was being totally thick :rolleyes: Note to self, get some sleep.
     
    Last edited: Mar 27, 2011
    Nigel Lew, Mar 27, 2011 IP
  5. ayekaye01

    ayekaye01 Peon

    Messages:
    214
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    check your sidebar.php, look for "RECENT POSTS", it's editable.
     
    ayekaye01, Mar 29, 2011 IP
  6. esektor

    esektor Peon

    Messages:
    207
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    In your post page, try to put this code <!--more-->, put it in before your first sentence. So in your blog page, only the title will appear. I hope this is what are you looking for.
     
    esektor, Mar 30, 2011 IP