{"id":55564,"date":"2017-06-24T14:59:12","date_gmt":"2017-06-24T14:59:12","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ava-the-shortcode\/"},"modified":"2024-07-07T19:29:00","modified_gmt":"2024-07-07T19:29:00","slug":"ava-the-shortcode","status":"closed","type":"plugin","link":"https:\/\/bs.wordpress.org\/plugins\/ava-the-shortcode\/","author":565388,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.2","stable_tag":"1.0.2","tested":"6.6.0","requires":"4.6","requires_php":"","requires_plugins":null,"header_name":"Ava The Shortcode","header_author":"Billy Wilcosky","header_description":"","assets_banners_color":"f2f5fa","last_updated":"2024-07-07 19:29:00","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.wilcosky.com","rating":5,"author_block_rating":0,"active_installs":10,"downloads":7833,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"wilcosky","date":"2019-06-07 09:03:19"},"1.0.1":{"tag":"1.0.1","author":"wilcosky","date":"2020-12-28 00:02:53"},"1.0.2":{"tag":"1.0.2","author":"wilcosky","date":"2024-07-07 19:29:00"}},"upgrade_notice":{"1.0":"<p>No upgrades yet.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2102074,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2102074,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2102093,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2102093,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[128881,129,80,357,2153],"plugin_category":[43,44],"plugin_contributors":[142985],"plugin_business_model":[],"class_list":["post-55564","plugin","type-plugin","status-closed","hentry","plugin_tags-ava","plugin_tags-avatar","plugin_tags-shortcode","plugin_tags-shortcodes","plugin_tags-user","plugin_category-customization","plugin_category-discussion-and-community","plugin_contributors-wilcosky","plugin_committers-wilcosky"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/ava-the-shortcode_f2f5fa.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Ava is a minimal shortcode which allows you to easily display an avatar. All you need to do is type <code>[ava]<\/code> into a WordPress post or page. Doing this will display the currently logged in user's avatar.<\/p>\n\n<p>To show a specific user, do this:\n    [ava id=\"1\"]<\/p>\n\n<p>To change the size and add an alt attribute do this:\n    [ava size=\"32\" alt=\"me\"] or <code>[ava id=\"1\" size=\"32\" alt=\"me\"]<\/code><\/p>\n\n<p>If you are comfortable editing your theme and with PHP you may also utilize this shortcode by using: <code>&lt;?php echo do_shortcode('[ava]'); ?&gt;<\/code><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/ava<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Place [ava] in a page. <\/li>\n<li>Use CSS to make it pretty.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20style%20the%20avatar%3F'><h3>How do I style the avatar?<\/h3><\/dt>\n<dd><p>With CSS.<\/p><\/dd>\n<dt id='okay.%20could%20you%20be%20a%20little%20more%20specific%3F'><h3>Okay. Could you be a little more specific?<\/h3><\/dt>\n<dd><p>Try this first: <code>[ava class=\"whatever\"]<\/code><\/p>\n\n<p>Then, put the following code where your custom CSS is:<\/p>\n\n<pre><code>.whatever{border-radius:50%; width:50%;}\n<\/code><\/pre>\n\n<p>Now, if that does not work, I recommend wrapping the shortcode in a span tag with a class. For example: <code>&lt;span class=\"whatever\"&gt;[ava]&lt;\/span&gt;<\/code><\/p>\n\n<p>Either way, you need to know some CSS\/HTML basics.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Tested with WordPress 6.2<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>The release.<\/li>\n<\/ul>","raw_excerpt":"A minimal shortcode which allows you to easily display an avatar.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/55564","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=55564"}],"author":[{"embeddable":true,"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wilcosky"}],"wp:attachment":[{"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=55564"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=55564"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=55564"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=55564"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=55564"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=55564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}