Support » Fixing WordPress » Programmatically switch "Title" and "Alt" text values in WordPress images

  • Hi there,

    I have hundreds of images in my WP for which I would like to switch the values of alt and title. I’m aware that the best way to do this would be via an SQL query, but coding one is far beyond my comprehension currently. Is there anyone out there who can code it? Or is there another way to do this?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Another hacky way of doing this that I just thought of is forcing wordpress to output a value for the alt tag that originally was meant for the title tag, but of course this method would not survive subsequent updates of the software.

    Any ideas still?

    Anyone?

    nessup

    (@nessup)

    Ping?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Programmatically switch "Title" and "Alt" text values in WordPress images’ is closed to new replies.