{"id":2419,"date":"2023-09-07T19:48:36","date_gmt":"2023-09-07T17:48:36","guid":{"rendered":"https:\/\/www.molongui.com\/help\/?p=2419"},"modified":"2024-05-09T11:24:58","modified_gmt":"2024-05-09T09:24:58","slug":"byline-issues-and-how-to-fix-them","status":"publish","type":"post","link":"https:\/\/www.molongui.com\/help\/byline-issues-and-how-to-fix-them\/","title":{"rendered":"Byline Issues and How to Fix Them"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"2419\" class=\"elementor elementor-2419\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2c333d25 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2c333d25\" 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-56257db6\" data-id=\"56257db6\" 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-4825e42 elementor-widget elementor-widget-text-editor\" data-id=\"4825e42\" 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<h2 id=\"what-is-a-byline\">What Is a Byline<\/h2>\n<p>The <a href=\"\/help\/what-is-a-byline\/\" target=\"_blank\" rel=\"noreferrer noopener\">byline<\/a> on a post gives the name of the writer. And that name is usually a link to the <a href=\"\/help\/what-is-an-author-page\/\" target=\"_blank\" rel=\"noopener\">author page<\/a> \u2014a page listing all posts by that author.<\/p>\n<p>Bylines are commonly placed between the headline and the text of the post, although they might be placed at the bottom, or even at the side, of the content.<\/p>\n<p>When a post is written by one single person, that person&#8217;s name is the one displayed on the post byline. On WordPress sites, it is your theme the one responsible to display post bylines. Third party plugins may also display post bylines sometimes, though.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0a92217 elementor-widget elementor-widget-text-editor\" data-id=\"0a92217\" 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<h2 id=\"byline-issues\">Byline Issues<\/h2>\n<p>Bylines issues may happen on co-authored posts. The ability to credit multiple authors for a post is not available on a WordPress site by default. It is the <a href=\"https:\/\/www.molongui.com\/authorship\/\" target=\"_blank\" rel=\"noopener\">Molongui Authorship<\/a> plugin the one providing that functionality. Molongui Authorship hooks into built-in WordPress functions to include the name of all the authors and make them link to their author pages. Unfortunately, this doesn&#8217;t always work out of the box. When byline information is retrieved in a way that we cannot modify or overwrite, the byline will display wrong or missing information.<\/p>\n<p>Keep reading to get to know how to fix byline issues.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-77fd205 elementor-widget elementor-widget-text-editor\" data-id=\"77fd205\" 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<h2 id=\"byline-integration\">Byline Integration<\/h2>\n<p>Theme and plugin developers are encouraged to integrate <a href=\"\/help\/byline-template-tags\/\" target=\"_blank\" rel=\"noopener\">Molongui&#8217;s template tags<\/a> into their code. Using template tags is the best way to go in order to avoid byline issues.<\/p>\n<p>The markup returned by our template tags can be easily localized and customized with your own HTML snippets and CSS styles.<\/p>\n<p>If you decide to integrate our template tags into your code, please add the snippet below to ensure that hacks added by our plugin to automatically support multi-authored post bylines are not run, preventing them to be executed at all.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7f29e6c elementor-widget elementor-widget-code-highlight\" data-id=\"7f29e6c\" 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>add_filter( 'authorship\/add_byline_support', '__return_false' );<\/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<div class=\"elementor-element elementor-element-e6ad5a3 elementor-widget elementor-widget-text-editor\" data-id=\"e6ad5a3\" 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<h2 id=\"byline-fixes\">Byline Fixes<\/h2>\n<p>Integrating template tags is not a trivial task. It takes some coding skills that you may not have. So if your bylines are displaying wrong information or linking to the wrong place, and integrating our template tags is not an option for you, please do as follows.<\/p>\n<p>First, go to <strong>Authors &gt; Settings &gt; Advanced<\/strong> and find the <strong>Compatibility<\/strong> panel. Toggle on the &#8220;<strong>Enable byline compatibility<\/strong>&#8221; option and click on the <strong>Save Settings<\/strong> button. Check if the issues persists. If it does, try adding the snippet below to your child theme&#8217;s functions.php file (or wherever you think best):<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-31e7ae0 elementor-widget elementor-widget-code-highlight\" data-id=\"31e7ae0\" 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>add_filter( 'authorship\/author_link\/filter_version', 'v2' );<\/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<div class=\"elementor-element elementor-element-ac852be elementor-widget elementor-widget-text-editor\" data-id=\"ac852be\" 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<h2 id=\"byline-help\">Get Help<\/h2>\n<p>If none of the solutions presented above work for you, just <a href=\"\/help\/support\/\" target=\"_blank\" rel=\"noopener\">get in touch with us<\/a> and we will do our best to try to help. Chances are that we will be able to find a fix for you, but please know that, in very weird cases, that is not possible and template tags integration is the only solution available. If that was your case, we could integrate them for you for a small fee.<\/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>What Is a Byline The byline on a post gives the name of the writer. And that name is usually a link to the author page \u2014a page listing all posts by that author. Bylines are commonly placed between the headline and the text of the post, although they might be placed at the bottom, [&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,45],"tags":[],"class_list":["post-2419","post","type-post","status-publish","format-standard","hentry","category-authorship","category-howto"],"_links":{"self":[{"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/posts\/2419","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=2419"}],"version-history":[{"count":38,"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/posts\/2419\/revisions"}],"predecessor-version":[{"id":2465,"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/posts\/2419\/revisions\/2465"}],"wp:attachment":[{"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/media?parent=2419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/categories?post=2419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/tags?post=2419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}