1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How I Can Fix All My Posts

Discussion in 'WordPress' started by gedarnet, Nov 29, 2014.

  1. #1
    Hello guys!
    I have a lot of posts in WordPress contains many mistakes, the most important is the lack of a ID of images in this posts.

    Is there a quick solution to fix all the problems in all the posts at one time?

    Take a look, this is one of them.

    [​IMG]
     
    gedarnet, Nov 29, 2014 IP
  2. themes4all

    themes4all Well-Known Member

    Messages:
    662
    Likes Received:
    47
    Best Answers:
    6
    Trophy Points:
    100
    #2
    Hello,

    Can you be more clear about the Problem you face!? If you setup the wordpress to add the Alt with image-name and ID so it's doing so... otherwise i don't see where is the mistakes !!!
     
    themes4all, Dec 2, 2014 IP
  3. sarahk

    sarahk iTamer Staff

    Messages:
    28,500
    Likes Received:
    4,460
    Best Answers:
    123
    Trophy Points:
    665
    #3
    You need an id for images?
    Write a simple plugin to extend the image editor so that you can enter an id and insert it into the post.

    For the existing images you may be able to do something directly through the database. maybe an md5() of the path? Or write a custom script ...

    How you approach it will depend on each and every tweak you need.
     
    sarahk, Dec 8, 2014 IP
  4. gedarnet

    gedarnet Well-Known Member

    Messages:
    139
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #4
    Thank you very much for all, especially @sarahk, all images has been modified manually, there was no other solution.
     
    gedarnet, Dec 9, 2014 IP
  5. emdubl

    emdubl Member

    Messages:
    74
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #5
    if you were doing it on just one page, you could paste the text into notepad and do a copy and replace...

    replace '<img alt' with '<img id="foo" alt'
     
    emdubl, Dec 10, 2014 IP