@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix content: <http://purl.org/rss/1.0/modules/content/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<https://lhero.org/?post_type=lh-portfolio-doc&#038;p=147606>
  a sioc:Post ;
  dc:title "Shortcodes" ;
  dcterms:identifier 147606 ;
  dc:modified "2026-09-16T18:40:01Z"^^xsd:dateTime ;
  dc:created "2026-09-16T16:34:10Z"^^xsd:dateTime ;
  sioc:link <https://lhero.org/portfolio/lh-user-profiles/shortcodes/> ;
  sioc:has_creator <https://lhero.org/author/1/#account> ;
  sioc:has_container <https://lhero.org/#posts> ;
  content:encoded """<ul class="lh_portfolio-meta"><li><strong>Part of:</strong> <a href="https://lhero.org/portfolio/lh-user-profiles/">LH User Profiles</a></li></ul>
<h2 class="wp-block-heading"><code>&#091;lh_user_profiles_avatar&#093;</code></h2>



<p class="wp-block-paragraph">Outputs a single user&#8217;s avatar. It works inline, for example at the start of a sign-off paragraph, which a block cannot do. Outputs nothing if <code>user_id</code> or <code>size</code> is missing or not a positive number.</p>



<figure class="wp-block-table"><table><thead><tr><th>Attribute</th><th>Default</th><th>Notes</th></tr></thead><tbody><tr><td><code>user_id</code></td><td>(none)</td><td>The user whose avatar is shown. Required.</td></tr><tr><td><code>size</code></td><td><code>96</code></td><td>Avatar size in pixels.</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">Attributes pass through the standard <code>shortcode_atts_lh_user_profiles_avatar</code> filter.</p>



<h2 class="wp-block-heading">Removed: the listing shortcode</h2>



<p class="wp-block-paragraph">Versions 1.00 to 1.1.1 also provided <code>&#091;lh_user_profiles_shortcode&#093;</code>, which listed people by <code>include</code> (user IDs) and <code>fields</code> (contact lines, defaulting to <code>email,phone</code>). It was removed in 1.2.0. Use the <a href="https://lhero.org/portfolio/lh-user-profiles/block/">User Profiles block</a> instead, which produces the same output; note that the block shows no contact details unless you turn them on. Any remaining copy of the old shortcode in content will now display as plain text.</p>
"""^^rdf:XMLLiteral ;
  sioc:content """Part of: LH User Profiles
&#091;lh_user_profiles_avatar&#093;



Outputs a single user&#8217;s avatar. It works inline, for example at the start of a sign-off paragraph, which a block cannot do. Outputs nothing if user_id or size is missing or not a positive number.



AttributeDefaultNotesuser_id(none)The user whose avatar is shown. Required.size96Avatar size in pixels.



Attributes pass through the standard shortcode_atts_lh_user_profiles_avatar filter.



Removed: the listing shortcode



Versions 1.00 to 1.1.1 also provided &#091;lh_user_profiles_shortcode&#093;, which listed people by include (user IDs) and fields (contact lines, defaulting to email,phone). It was removed in 1.2.0. Use the User Profiles block instead, which produces the same output; note that the block shows no contact details unless you turn them on. Any remaining copy of the old shortcode in content will now display as plain text.
""" ;
  sioc:topic <https://lhero.org/?taxonomy=author&term=cap-1> .

<https://lhero.org/author/1/#account> rdfs:seeAlso <https://lhero.org/author/1/?feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=author&term=cap-1> rdfs:seeAlso <https://lhero.org/?taxonomy=author&term=cap-1&feed=lhrdf&format=turtle> .
