{"id":2308,"date":"2017-08-21T14:20:00","date_gmt":"2017-08-21T18:20:00","guid":{"rendered":"https:\/\/www.pair.com\/support\/kb\/?p=2308"},"modified":"2021-09-14T13:14:22","modified_gmt":"2021-09-14T17:14:22","slug":"how-to-use-wordpress-avatars","status":"publish","type":"ht_kb","link":"https:\/\/www.pair.com\/support\/kb\/how-to-use-wordpress-avatars\/","title":{"rendered":"How to Use WordPress Avatars"},"content":{"rendered":"<p class=\"p1\"><span class=\"s1\"><a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/wp-enthusiast\/\"><p class=\"\"style=\"background-color:#1a3d6e!important;color:#fff !important;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">WP Enthusiast<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/wp-professional\/\"><p style=\"background-color:#1a3d6e !important;color:#fff !important;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">WP Professional<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/wp-professional-plus\/\"><p style=\"background-color:#1a3d6e !important;color:#fff !important;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">WP Professional Plus<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/pairsim-wordpress\/\"><p style=\"background-color:#1a3d6e !important;color:#fff !important;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">PairSIM WordPress<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/podcast-websites\/\"><p style=\"background-color:#1a3d6e !important;color:#fff !important;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">Podcast Websites<\/p><\/a><\/span><\/p>\n<h3>What are Avatars Used For?<\/h3>\n<p><span style=\"font-weight: 400;\">Avatars are little pictures used to distinguish users in chat or comment sections. <\/span><\/p>\n<p><span style=\"font-weight: 400;\"><a href=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/08\/avatars-2.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft wp-image-2317\" src=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/08\/avatars-2.png\" alt=\"Avatars image\" width=\"200\" height=\"160\" srcset=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/08\/avatars-2.png 252w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/08\/avatars-2-60x48.png 60w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/08\/avatars-2-150x120.png 150w\" sizes=\"(max-width: 200px) 100vw, 200px\" \/><\/a>Avatars can be a fun way to personalize user interaction on your site. Users can pick their own pictures for avatars, but you can choose the default image for users who don\u2019t choose. WordPress also enables you to choose a rating for avatars. These ratings are similar to those used for movies: G, PG, R, and X.<\/span><br \/>\n<a name=\"findYour\"><\/a><\/p>\n<h3>Find Your Avatar Settings<\/h3>\n<ol>\n<li style=\"font-weight: 400;\"><a href=\"https:\/\/www.pair.com\/support\/kb\/how-to-login-to-wordpress\/\"><span style=\"font-weight: 400;\">Log in to your WordPress admin account<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Hover over <\/span><b>Settings<\/b><span style=\"font-weight: 400;\"> in the left sidebar<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Click <\/span><b>Discussion<\/b><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Scroll down to the <\/span><b>Avatars<\/b><span style=\"font-weight: 400;\"> section<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">This is where you can see your avatar settings. You can do the following here: <\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Enable\/disable avatars<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Enable\/disable hovercards with user information<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Change maximum avatar rating<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Select a default avatar<\/span><\/li>\n<\/ul>\n<p><a name=\"addingNew\"><\/a><\/p>\n<h3>Adding New Default Avatars<\/h3>\n<p><span style=\"font-weight: 400;\">If you want to add your own custom default avatars, you have to be able to access your WordPress theme\u2019s files. <\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Access your WordPress <a href=\"https:\/\/codex.wordpress.org\/Child_Themes\">child theme<\/a>\u2019s files<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Open <\/span><span style=\"font-weight: 400; font-family: monospace;\">function.php <\/span><span style=\"font-weight: 400;\">file<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">In this file, add the following code:<\/span><\/li>\n<\/ol>\n<pre class=\"prettyprint\"><span style=\"font-weight: 400;\">&lt;?php<\/span>\r\n<span style=\"font-weight: 400;\">add_filter( 'avatar_defaults', 'new_default_avatar' );<\/span>\r\n\r\n<span style=\"font-weight: 400;\">function new_default_avatar ( $avatar_defaults ) {<\/span>\r\n <span style=\"font-weight: 400;\">\/\/add URL to where your avatar image is located<\/span>\r\n <span style=\"font-weight: 400;\">$new_avatar_url = get_bloginfo( 'template_directory' ) . '<\/span><span style=\"font-weight: 400; color: #ff0000;\">\/images\/new_default_avatar.png<\/span><span style=\"font-weight: 400;\">';<\/span>\r\n <span style=\"font-weight: 400;\">\/\/Add the name of the avatar. This will appear to the right of the avatar in \r\n \/\/your settings<\/span>\r\n <span style=\"font-weight: 400;\">$avatar_defaults[$new_avatar_url] = '<\/span><span style=\"font-weight: 400; color: #ff0000;\">Default Name<\/span><span style=\"font-weight: 400;\">';<\/span>\r\n <span style=\"font-weight: 400;\">return $avatar_defaults;<\/span>\r\n<span style=\"font-weight: 400;\">}<\/span>\r\n<span style=\"font-weight: 400;\">?&gt;<\/span><\/pre>\n<p>Change <strong><span style=\"font-family: monospace;\">\/image\/new_default_avatar.png<\/span><\/strong> with the file path of your new avatar.<\/p>\n<p>Change <strong><span style=\"font-family: monospace;\">Default Name<\/span><\/strong> to the name you want to be displayed with the avatar.<\/p>\n<p><span style=\"font-weight: 400;\">Once this file has been saved with the new code, your new avatar will appear in your avatar settings, where you can select it as a default avatar. <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What are Avatars Used For? Avatars are little pictures used to distinguish users in chat or comment sections. Avatars can be a fun way to personalize user interaction on your site. Users can pick their own pictures for avatars, but you can choose the default image for users who don\u2019t&#8230;<\/p>\n","protected":false},"author":11,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[181],"ht-kb-tag":[205,185],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Use WordPress Avatars - Knowledge Base - Pair Networks<\/title>\n<meta name=\"description\" content=\"Avatars are little pictures used to distinguish users in chat or comment sections. WordPress avatars can be a fun way to personalize user interaction on your site. Users can pick their own pictures for avatars, but you can choose the default image for users who don\u2019t choose.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pair.com\/support\/kb\/how-to-use-wordpress-avatars\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use WordPress Avatars - Knowledge Base - Pair Networks\" \/>\n<meta property=\"og:description\" content=\"Avatars are little pictures used to distinguish users in chat or comment sections. WordPress avatars can be a fun way to personalize user interaction on your site. Users can pick their own pictures for avatars, but you can choose the default image for users who don\u2019t choose.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pair.com\/support\/kb\/how-to-use-wordpress-avatars\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - Pair Networks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pairnetworks\/\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-14T17:14:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/08\/avatars-2.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@pairNetworks\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/how-to-use-wordpress-avatars\/\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/how-to-use-wordpress-avatars\/\",\"name\":\"How to Use WordPress Avatars - Knowledge Base - Pair Networks\",\"isPartOf\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#website\"},\"datePublished\":\"2017-08-21T18:20:00+00:00\",\"dateModified\":\"2021-09-14T17:14:22+00:00\",\"description\":\"Avatars are little pictures used to distinguish users in chat or comment sections. WordPress avatars can be a fun way to personalize user interaction on your site. Users can pick their own pictures for avatars, but you can choose the default image for users who don\u2019t choose.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/how-to-use-wordpress-avatars\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.pair.com\/support\/kb\/how-to-use-wordpress-avatars\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/how-to-use-wordpress-avatars\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.pair.com\/support\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Use WordPress Avatars\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#website\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/\",\"name\":\"Knowledge Base - Pair Networks\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.pair.com\/support\/kb\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#organization\",\"name\":\"Pair Networks\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg\",\"contentUrl\":\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg\",\"width\":360,\"height\":360,\"caption\":\"Pair Networks\"},\"image\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/pairnetworks\/\",\"https:\/\/twitter.com\/pairNetworks\",\"https:\/\/www.instagram.com\/pairnetworks\/\",\"https:\/\/www.linkedin.com\/company\/2269676\/\",\"https:\/\/www.pinterest.com\/pairnetworksinc\/pins\/\",\"https:\/\/www.youtube.com\/user\/pairnetworks\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Use WordPress Avatars - Knowledge Base - Pair Networks","description":"Avatars are little pictures used to distinguish users in chat or comment sections. WordPress avatars can be a fun way to personalize user interaction on your site. Users can pick their own pictures for avatars, but you can choose the default image for users who don\u2019t choose.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pair.com\/support\/kb\/how-to-use-wordpress-avatars\/","og_locale":"en_US","og_type":"article","og_title":"How to Use WordPress Avatars - Knowledge Base - Pair Networks","og_description":"Avatars are little pictures used to distinguish users in chat or comment sections. WordPress avatars can be a fun way to personalize user interaction on your site. Users can pick their own pictures for avatars, but you can choose the default image for users who don\u2019t choose.","og_url":"https:\/\/www.pair.com\/support\/kb\/how-to-use-wordpress-avatars\/","og_site_name":"Knowledge Base - Pair Networks","article_publisher":"https:\/\/www.facebook.com\/pairnetworks\/","article_modified_time":"2021-09-14T17:14:22+00:00","og_image":[{"url":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/08\/avatars-2.png"}],"twitter_card":"summary_large_image","twitter_site":"@pairNetworks","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.pair.com\/support\/kb\/how-to-use-wordpress-avatars\/","url":"https:\/\/www.pair.com\/support\/kb\/how-to-use-wordpress-avatars\/","name":"How to Use WordPress Avatars - Knowledge Base - Pair Networks","isPartOf":{"@id":"https:\/\/www.pair.com\/support\/kb\/#website"},"datePublished":"2017-08-21T18:20:00+00:00","dateModified":"2021-09-14T17:14:22+00:00","description":"Avatars are little pictures used to distinguish users in chat or comment sections. WordPress avatars can be a fun way to personalize user interaction on your site. Users can pick their own pictures for avatars, but you can choose the default image for users who don\u2019t choose.","breadcrumb":{"@id":"https:\/\/www.pair.com\/support\/kb\/how-to-use-wordpress-avatars\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pair.com\/support\/kb\/how-to-use-wordpress-avatars\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.pair.com\/support\/kb\/how-to-use-wordpress-avatars\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pair.com\/support\/kb\/"},{"@type":"ListItem","position":2,"name":"How to Use WordPress Avatars"}]},{"@type":"WebSite","@id":"https:\/\/www.pair.com\/support\/kb\/#website","url":"https:\/\/www.pair.com\/support\/kb\/","name":"Knowledge Base - Pair Networks","description":"","publisher":{"@id":"https:\/\/www.pair.com\/support\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pair.com\/support\/kb\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.pair.com\/support\/kb\/#organization","name":"Pair Networks","url":"https:\/\/www.pair.com\/support\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg","contentUrl":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg","width":360,"height":360,"caption":"Pair Networks"},"image":{"@id":"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pairnetworks\/","https:\/\/twitter.com\/pairNetworks","https:\/\/www.instagram.com\/pairnetworks\/","https:\/\/www.linkedin.com\/company\/2269676\/","https:\/\/www.pinterest.com\/pairnetworksinc\/pins\/","https:\/\/www.youtube.com\/user\/pairnetworks"]}]}},"_links":{"self":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/2308"}],"collection":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/comments?post=2308"}],"version-history":[{"count":28,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/2308\/revisions"}],"predecessor-version":[{"id":8094,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/2308\/revisions\/8094"}],"wp:attachment":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/media?parent=2308"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=2308"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=2308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}