{"id":10159,"date":"2023-02-23T14:15:23","date_gmt":"2023-02-23T13:15:23","guid":{"rendered":"https:\/\/wp-akuten.se\/okategoriserad\/searching-and-editing-in-wordpress\/"},"modified":"2024-04-20T09:08:34","modified_gmt":"2024-04-20T07:08:34","slug":"searching-and-editing-in-wordpress","status":"publish","type":"post","link":"https:\/\/wp-akuten.se\/en\/tips-wp\/searching-and-editing-in-wordpress\/","title":{"rendered":"Searching and editing in WordPress"},"content":{"rendered":"\n<p>Sometimes I find myself in a situation where a customer wants to replace a word or a whole phrase with another on a website. It can be more or less complicated.<\/p>\n\n<p>First I will find where the phrase is used and then the phrase will be replaced. I&#8217;m not going to go through where the word is used right now, but how to replace it easily.<\/p>\n\n<p>Most people know that you can use Ctrl+F to search for a word in a browser and if the word is only found once or a few times, it is a <a><\/a>viable option.<\/p>\n\n<p>But if there are 40 times, it becomes more difficult and the risk of error increases significantly.<\/p>\n\n<p>There is a chrome add-on &#8220;find and replace for text editing&#8221; that you can use in the same way as search and replace in Word, for example. This makes it very smooth.<\/p>\n\n<p>In cases where the customer wants to replace a company name or service name across the entire website where the phrase may be found on many different sub-pages, I prefer to do it directly in the database. Then I can do it in a few minutes.<\/p>\n\n<p>If I have to open and edit page after page, it can be time-consuming. The risk of error also increases if you have to write the same word hundreds of times. In one place there is a spelling mistake  <img decoding=\"async\" height=\"16\" width=\"16\" alt=\"????\" src=\"https:\/\/static.xx.fbcdn.net\/images\/emoji.php\/v9\/ta5\/1.5\/16\/1f642.png\"\/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes I find myself in a situation where a customer wants to replace a word or a whole phrase with another on a website. It can be more or less complicated. First I will find where the phrase is used and then the phrase will be replaced. I&#8217;m not going to go through where the &hellip;<\/p>\n","protected":false},"author":2,"featured_media":10043,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[112],"tags":[],"class_list":{"2":"type-post","7":"category-tips-wp","8":"entry"},"taxonomy_info":{"category":[{"value":112,"label":"Tips"}]},"featured_image_src_large":["https:\/\/wp-akuten.se\/wp-content\/uploads\/2020\/01\/search-1024x1024.png",800,800,true],"author_info":{"display_name":"Karin H Olsson","author_link":"https:\/\/wp-akuten.se\/en\/author\/adaro3r\/"},"comment_info":0,"category_info":[{"term_id":112,"name":"Tips","slug":"tips-wp","term_group":0,"term_taxonomy_id":112,"taxonomy":"category","description":"","parent":0,"count":25,"filter":"raw","meta":[],"cat_ID":112,"category_count":25,"category_description":"","cat_name":"Tips","category_nicename":"tips-wp","category_parent":0}],"tag_info":false,"acf":[],"_links":{"self":[{"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/posts\/10159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/comments?post=10159"}],"version-history":[{"count":4,"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/posts\/10159\/revisions"}],"predecessor-version":[{"id":10220,"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/posts\/10159\/revisions\/10220"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/media\/10043"}],"wp:attachment":[{"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/media?parent=10159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/categories?post=10159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/tags?post=10159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}