1"use strict";(globalThis.webpackChunkbuilderius=globalThis.webpackChunkbuilderius||[]).push([[8631],{5296:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>l,contentTitle:()=>r,default:()=>d,frontMatter:()=>o,metadata:()=>n,toc:()=>h});const n=JSON.parse('{"id":"templates/template-author-archive","title":"Author Archive","description":"What it\'s for: Displaying posts from a single specific author - showing all content published by one particular author on your site","source":"@site/docs/templates/author-archive.md","sourceDirName":"templates","slug":"/templates/template-author-archive","permalink":"/docs/templates/template-author-archive","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"id":"template-author-archive","title":"Author Archive"},"sidebar":"docs","previous":{"title":"Tag Archive","permalink":"/docs/templates/template-tag-archive"},"next":{"title":"Date Archive","permalink":"/docs/templates/template-date-archive"}}');var a=i(4848),s=i(8453);const o={id:"template-author-archive",title:"Author Archive"},r=void 0,l={},h=[{value:"Examples of when this template appears:",id:"examples-of-when-this-template-appears",level:2},{value:"What dynamic data is available:",id:"what-dynamic-data-is-available",level:2},{value:"What you control:",id:"what-you-control",level:2},{value:"Doesn't affect:",id:"doesnt-affect",level:2},{value:"Template Priority: 70",id:"template-priority-70",level:2}];function c(e){const t={a:"a",admonition:"admonition",code:"code",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(t.p,{children:[(0,a.jsx)(t.strong,{children:"What it's for:"})," Displaying posts from a single specific author - showing all content published by one particular author on your site"]}),"\n",(0,a.jsxs)(t.p,{children:[(0,a.jsx)(t.strong,{children:"When it's used:"})," When someone clicks on an author's name, visits an author URL (like ",(0,a.jsx)(t.code,{children:"/author/john-smith/"}),"), or lands on an individual author's archive page"]}),"\n",(0,a.jsxs)(t.p,{children:[(0,a.jsx)(t.strong,{children:"What you can design:"})," Single author archive layouts - author bio headers, post listings from that specific author, and navigation elements tailored to browsing one author's content"]}),"\n",(0,a.jsxs)(t.p,{children:[(0,a.jsx)(t.strong,{children:"Appears when:"})," Any individual WordPress author archive page is visited"]}),"\n",(0,a.jsx)(t.h2,{id:"examples-of-when-this-template-appears",children:"Examples of when this template appears:"}),"\n",(0,a.jsxs)(t.ul,{children:["\n",(0,a.jsx)(t.li,{children:'Someone clicks on "Sarah Johnson" author link from a blog post and sees all posts written by Sarah.'}),"\n",(0,a.jsx)(t.li,{children:"That's your Author Archive template."}),"\n",(0,a.jsxs)(t.li,{children:["Or when someone visits ",(0,a.jsx)(t.code,{children:"/author/mike-davis/"})," and views all posts by Mike Davis - they see your Author Archive template."]}),"\n"]}),"\n",(0,a.jsx)(t.h2,{id:"what-dynamic-data-is-available",children:"What dynamic data is available:"}),"\n",(0,a.jsx)(t.p,{children:"You have access to the specific author's data and all their posts"}),"\n",(0,a.jsxs)(t.ul,{children:["\n",(0,a.jsx)(t.li,{children:"author name"}),"\n",(0,a.jsx)(t.li,{children:"author bio/description"}),"\n",(0,a.jsx)(t.li,{children:"author avatar"}),"\n",(0,a.jsx)(t.li,{children:"author contact information"}),"\n",(0,a.jsx)(t.li,{children:"posts by this author"}),"\n",(0,a.jsx)(t.li,{children:"pagination information"}),"\n",(0,a.jsx)(t.li,{children:"post count for this author"}),"\n",(0,a.jsx)(t.li,{children:"author metadata and custom fields"}),"\n"]}),"\n",(0,a.jsx)(t.admonition,{title:"Pro feature",type:"info",children:(0,a.jsxs)(t.p,{children:["You can also query author social links, filter posts by additional criteria within the author's content, and create conditional layouts based on the specific author being viewed. ",(0,a.jsx)(t.a,{href:"#",children:"Learn more about using dynamic data \u2192"})]})}),"\n",(0,a.jsx)(t.h2,{id:"what-you-control",children:"What you control:"}),"\n",(0,a.jsxs)(t.p,{children:[(0,a.jsx)(t.strong,{children:"Everything on individual author archive pages"})," - author bio sections, post grid layouts, filtering controls, pagination styles, sidebar content. You design the complete experience for people browsing posts from one specific author."]}),"\n",(0,a.jsx)(t.h2,{id:"doesnt-affect",children:"Doesn't affect:"}),"\n",(0,a.jsxs)(t.ul,{children:["\n",(0,a.jsxs)(t.li,{children:[(0,a.jsx)(t.strong,{children:"Individual posts or pages"})," - those use Single Post, Single Page, or Single CPT templates"]}),"\n",(0,a.jsxs)(t.li,{children:[(0,a.jsx)(t.strong,{children:"Other archive types"})," - category, tag, or custom taxonomy pages need their specific templates"]}),"\n",(0,a.jsxs)(t.li,{children:[(0,a.jsx)(t.strong,{children:"Homepage or blog index"})," - those need Front Page or Blog Index templates"]}),"\n"]}),"\n",(0,a.jsx)(t.h2,{id:"template-priority-70",children:"Template Priority: 70"}),"\n",(0,a.jsxs)(t.p,{children:["This template has default ",(0,a.jsx)(t.strong,{children:"priority 70"})," in Builderius template hierarchy. It will override general templates like All Archives (70) when specifically targeting author archives, but gives way to more specific author conditions you might create."]}),"\n",(0,a.jsxs)(t.p,{children:[(0,a.jsx)(t.strong,{children:"Note:"})," When you design a page or post directly (without using templates), that design always wins regardless of priority numbers. ",(0,a.jsx)(t.a,{href:"edit-a-page",children:"Learn more about designing pages directly \u2192"})]})]})}function d(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(c,{...e})}):c(e)}},8453:(e,t,i)=>{i.d(t,{R:()=>o,x:()=>r});var n=i(6540);const a={},s=n.createContext(a);function o(e){const t=n.useContext(s);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:o(e.components),n.createElement(s.Provider,{value:t},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.