{"id":225,"date":"2019-02-10T10:50:31","date_gmt":"2019-02-10T09:50:31","guid":{"rendered":"https:\/\/www.molongui.com\/help\/how-to-display-the-author-box-on-author-archive-pages\/"},"modified":"2025-04-08T00:19:23","modified_gmt":"2025-04-07T22:19:23","slug":"how-to-display-the-author-box-on-author-archive-pages","status":"publish","type":"post","link":"https:\/\/www.molongui.com\/help\/how-to-display-the-author-box-on-author-archive-pages\/","title":{"rendered":"How To Display The Author Box On Author Archive Pages"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"225\" class=\"elementor elementor-225\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ed73930 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ed73930\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-fa18eab\" data-id=\"fa18eab\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-403411f elementor-widget elementor-widget-text-editor\" data-id=\"403411f\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Author archives (aka <strong>Author Pages<\/strong>) are WordPress built-in pages which display a list of all posts written by an author. By default, they are displayed using the template provided by your active theme.<\/p>\n<p>It makes sense to show author information on author pages, helping building credibility and strengthening your site&#8217;s authority among users. In this regarding, some themes show author information, like name, bio or social profiles, but most don&#8217;t.<\/p>\n<p>In any case, you might want to display that author information just like you do on posts. That is showing the author box provided by the Molongui Authorship plugin.<\/p>\n<p>Unlike posts or other pages you add to your WordPress site, you cannot edit an author page easily. So if you want to customize it you need to edit some PHP code.<\/p>\n<p>To display an author box on an author page, you will need access to the template file being used to render the author page. That file is placed into your site&#8217;s theme folder and it should be called something like: <a href=\"https:\/\/codex.wordpress.org\/Author_Templates\"><code>author.php<\/code><\/a> or <a href=\"https:\/\/codex.wordpress.org\/Category_Templates\"><code>archive.php<\/code><\/a>. If none of them exist, then <code>index.php<\/code> must be the file.<\/p>\n<p>Once open, just place the following code right where you would like the author box to appear:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-df00813 elementor-section-stretched elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"df00813\" data-element_type=\"section\" data-settings=\"{&quot;stretch_section&quot;:&quot;section-stretched&quot;,&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f110a86\" data-id=\"f110a86\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b5de81d elementor-widget elementor-widget-code-highlight\" data-id=\"b5de81d\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-php \">\n\t\t\t\t<code readonly=\"true\" class=\"language-php\">\n\t\t\t\t\t<xmp><?php\nif ( shortcode_exists( 'molongui_author_box' ) )\n{\n    echo do_shortcode( '[molongui_author_box]' );\n}\n?><\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-79543383 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"79543383\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f25af50\" data-id=\"f25af50\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-67f2a0d6 elementor-widget elementor-widget-text-editor\" data-id=\"67f2a0d6\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>There&#8217;s no need to indicate the ID of the author because the plugin will show the correct one.<\/p>\n<p>And you can override global author box styling providing here your own. Just use any of the <a href=\"https:\/\/www.molongui.com\/help\/molongui_author_box\/\">available attributes<\/a>. The example below would display the author box with a dotted border and a lightgray background.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6b1a668 elementor-section-stretched elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6b1a668\" data-element_type=\"section\" data-settings=\"{&quot;stretch_section&quot;:&quot;section-stretched&quot;,&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-097befd\" data-id=\"097befd\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6c23689 elementor-widget elementor-widget-code-highlight\" data-id=\"6c23689\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-php \">\n\t\t\t\t<code readonly=\"true\" class=\"language-php\">\n\t\t\t\t\t<xmp><?php\nif ( shortcode_exists( 'molongui_author_box' ) )\n{\n    echo do_shortcode( '[molongui_author_box layout=stacked box_border_style=dotted box_background=lightgrey]' );\n}\n?><\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-06df6ef elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"06df6ef\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-wide\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-3f03989\" data-id=\"3f03989\" data-element_type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c02eff4 elementor-view-default elementor-widget elementor-widget-icon\" data-id=\"c02eff4\" data-element_type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-exclamation-triangle\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b6a3b52 elementor-widget elementor-widget-heading\" data-id=\"b6a3b52\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-heading-title elementor-size-default\">Important<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-de3dc0e\" data-id=\"de3dc0e\" data-element_type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d206de8 elementor-widget elementor-widget-text-editor\" data-id=\"d206de8\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>When adding any of the snippets to your PHP files, you might need to remove the opening\u00a0<strong>&lt;?php<\/strong> and closing\u00a0<strong>?&gt;<\/strong> PHP tags.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Author archives (aka Author Pages) are WordPress built-in pages which display a list of all posts written by an author. By default, they are displayed using the template provided by your active theme. It makes sense to show author information on author pages, helping building credibility and strengthening your site&#8217;s authority among users. In this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,1],"tags":[30,35,12,19],"class_list":["post-225","post","type-post","status-publish","format-standard","hentry","category-authorship","category-doc","tag-author-box","tag-author-pages","tag-howto","tag-shortcodes"],"_links":{"self":[{"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/posts\/225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/comments?post=225"}],"version-history":[{"count":10,"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/posts\/225\/revisions"}],"predecessor-version":[{"id":2658,"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/posts\/225\/revisions\/2658"}],"wp:attachment":[{"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/media?parent=225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/categories?post=225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/tags?post=225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}