Byline not coming across correctly.
-
Published a couple of articles in preview mode in order to get approved by Apple. However, apparently the byline and date are not coming out right. It shows as the following:
by 31UTCam08E198+000032016|M j, Y|g:i A#
Any ideas?
Thanks,
Anu
-
Have you edited the “Byline Format” setting? Can you please copy and paste the current value you have for that? Can you please download the JSON file for that post and paste it here as
code
as well?Thanks.
Hi,
I have not edited the setting. Where can I find that setting and should I edit it? Also, can you tell me how I can download the JSON file?
Thanks,
Actually I just found where the byline setting is. This is what is in there currently
by #author# | #M j, Y | g:i A#
I have not edited it.
Can you confirm the theme you’re running and the full list of plugins? Something is corrupting either the byline or date.
Hi,
We are using a custom theme and the plugins we are using are
Advanced Custom Fields PRO
AJAX Thumbnail Rebuild
Featured Image Column
Import external attachments
Ninja Forms
Ninja Forms reCAPTCHA
Publish to Apple News
Redirection
Remove Category URL
WP User Avatars
Yoast SEOThanks,
Have you tried disabling plugins one by one and/or disabling your theme in favor of something like twentysixteen just to narrow it down? I strongly suggest you do that first. There are tens of thousands of plugins and themes and we can’t necessarily guarantee compatibility with all of them.
Thanks.
I will disable the plugins and try again. In the meantime here is the JSON file
{“version”:”1.1″,”identifier”:”post-60553″,”language”:”en”,”title”:”Simone Biles’ Triumphant Moment at the Rio Games”,”documentStyle”:{“backgroundColor”:”#fafafa”},”layout”:{“columns”:7,”width”:1024,”margin”:100,”gutter”:20},”components”:[{“role”:”header”,”layout”:”headerPhotoLayout”,”components”:[{“role”:”photo”,”layout”:”headerPhotoLayout”,”URL”:”bundle:\/\/Simone-Biles-Gymnas-Caro_original_57674.jpg”}],”behavior”:{“type”:”parallax”,”factor”:0.8}},{“role”:”container”,”layout”:{“columnStart”:0,”columnSpan”:7,”ignoreDocumentMargin”:true},”style”:{“backgroundColor”:”#fafafa”},”components”:[{“role”:”title”,”text”:”Simone Biles’ Triumphant Moment at the Rio Games”,”textStyle”:”default-title”,”layout”:”title-layout”},{“role”:”byline”,”text”:”by 31UTCam08E198+000032016 | M j, Y | g:i A#”,”textStyle”:”default-byline”,”layout”:”byline-layout”},{“role”:”body”,”text”:”She stands only 4\u20199 and weighs 104 lbs., but Simone Biles\u2018 diminutive stature was apparently giant when it came to capturing the gold medal in team gymnastics at the 2016 Rio Olympics on Tuesday. \u00a0With a score of 184.897, TeamUSA stood eight points ahead of the rest of the field and there was little doubt that they would capture the event and Biles, 19, gave a performance that dazzled the crowd and amazed watchers all over the world.\n\nBesides the team gold, she\u2019s already a three-time all-around gymnastics world champion and is expected to medal several more times in the individual competitions. How\u2019s that for a super-athlete?\n\nTake a look at some photos of her amazing acrobatics.”,”format”:”markdown”,”textStyle”:”dropcapBodyStyle”,”layout”:”body-layout-last”}]}],”componentTextStyles”:{“dropcapBodyStyle”:{“textAlignment”:”left”,”fontName”:”AvenirNext-Regular”,”fontSize”:18,”lineHeight”:24,”textColor”:”#4f4f4f”,”linkStyle”:{“textColor”:”#428bca”},”paragraphSpacingBefore”:18,”paragraphSpacingAfter”:18,”dropCapStyle”:{“numberOfLines”:4,”numberOfCharacters”:1,”padding”:5,”fontName”:”AvenirNext-Bold”,”textColor”:”#4f4f4f”}},”default-body”:{“textAlignment”:”left”,”fontName”:”AvenirNext-Regular”,”fontSize”:18,”lineHeight”:24,”textColor”:”#4f4f4f”,”linkStyle”:{“textColor”:”#428bca”},”paragraphSpacingBefore”:18,”paragraphSpacingAfter”:18},”default-title”:{“fontName”:”AvenirNext-Bold”,”fontSize”:48,”lineHeight”:52,”textColor”:”#333333″,”textAlignment”:”left”},”default-byline”:{“textAlignment”:”left”,”fontName”:”AvenirNext-Medium”,”fontSize”:13,”textColor”:”#7c7c7c”}},”componentLayouts”:{“body-layout”:{“columnStart”:0,”columnSpan”:5,”margin”:{“top”:12,”bottom”:12}},”body-layout-last”:{“columnStart”:0,”columnSpan”:5,”margin”:{“top”:12,”bottom”:30}},”headerPhotoLayout”:{“columnStart”:0,”columnSpan”:7,”ignoreDocumentMargin”:true},”headerBelowTextPhotoLayout”:{“columnStart”:0,”columnSpan”:7,”ignoreDocumentMargin”:true,”margin”:{“top”:30,”bottom”:0}},”title-layout”:{“margin”:{“top”:30,”bottom”:0}},”byline-layout”:{“columnStart”:0,”columnSpan”:7,”margin”:{“top”:10,”bottom”:10}}},”metadata”:{“excerpt”:”She stands only 4’9 and weighs 104 lbs., but Simone Biles’ diminutive stature was apparently giant when it came to capturing the gold medal in team gymnastics at the 2016 Rio Olympics on Tuesday. \u00a0With a score of 184.897, TeamUSA stood eight points ahead of the rest of the field and there was little doubt…”,”thumbnailURL”:”bundle:\/\/Simone-Biles-Gymnas-Caro_original_57674.jpg”,”dateCreated”:”2016-08-10T03:45:12+00:00″,”dateModified”:”2016-08-13T03:52:59+00:00″,”datePublished”:”2016-08-10T03:45:12+00:00″,”canonicalURL”:”http:\/\/newebony.staging.wpengine.com\/entertainment-culture\/simone-biles-triumphant-moment-rio-games”,”generatorIdentifier”:”publish-to-apple-news”,”generatorName”:”Publish to Apple News”,”generatorVersion”:”1.1.5″},”advertisingSettings”:{“frequency”:1,”layout”:{“margin”:{“top”:15,”bottom”:15}}}}
So I did some more digging and figured out that the only posts that are getting the strange bylines are the ones that have the author value set to #teamebony. So, I think the hashtag(#) in front of the author name is throwing something off. What do you think? Any ideas how to get around that?
Thanks,
Yeah, that would do it. Not something we ever anticipated to be honest.
I’ve opened an issue in github for that, though I can’t guarantee a timeframe to resolve right now: https://github.com/alleyinteractive/apple-news/issues/209
I’ll update this thread when we release a fix.
Thanks.
This will be fixed in version 1.1.6, releasing on Monday.
Thank you for getting the fix in place. Works like a charm now.
- The topic ‘Byline not coming across correctly.’ is closed to new replies.