Title: Add/Replace Fields
Last modified: November 27, 2017

---

# Add/Replace Fields

 *  [jayfriedmn](https://wordpress.org/support/users/jayfriedmn/)
 * (@jayfriedmn)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/add-replace-fields/)
 * I’m a relative neophyte but have only a little bit of sql and php knowledge. 
   What I’d like to do is to add/replace the external_link_title and external_link
   on all my posts en mass. I’m not sure if there is a plug-in to do this or what
   the specific sql commands would be. Can someone offer advice? thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [paulwpxp](https://wordpress.org/support/users/paulwp/)
 * (@paulwp)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/add-replace-fields/#post-9724702)
 * There is this plugin that might be helpful for you
    [https://wordpress.org/plugins/search-and-replace/](https://wordpress.org/plugins/search-and-replace/)
 *  Thread Starter [jayfriedmn](https://wordpress.org/support/users/jayfriedmn/)
 * (@jayfriedmn)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/add-replace-fields/#post-9732304)
 * This seems to only replace already existing content. I’m trying to add an external_link_title
   and external_link to posts that don’t yet have them and to update those that 
   already do.
 *  [paulwpxp](https://wordpress.org/support/users/paulwp/)
 * (@paulwp)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/add-replace-fields/#post-9733540)
 * Not exactly sure what external link and link title you wanted to insert.
 * In case it is an anchor text that wanted to appear in all posts, this is doable
   via text widget inside a widget area that’s registered to appear before (or after)
   post content. The text widget can also be controlled to appear conditionally 
   based on WP conditional tags, like add this to only posts that has this tag or
   category.
 * If the above is what you wanted, look for info on how to add widget area into
   post content (like the after post widget), and look for a plugin that control
   appearance of widget based on conditional tags.
 * If this is not what you exactly looking for, please post your question again 
   in **Developing with WordPress** sub forum here.
    [https://wordpress.org/support/forum/wp-advanced/](https://wordpress.org/support/forum/wp-advanced/)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Add/Replace Fields’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [sql](https://wordpress.org/support/topic-tag/sql/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [paulwpxp](https://wordpress.org/support/users/paulwp/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/add-replace-fields/#post-9733540)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
