This is entirely possible. Though, I would recommend using the Post custom metadata (i.e. custom fields, or better yet, a custom metabox).
I would use a custom metabox, with two radio select options:
Byline:
(*) Author
( ) None
Then, in your template file, you can output the author byline only if the appropriate post_meta key has the appropriate value. If you want to get really fancy with it, you can even use the post_meta key/value to customize the Loop for your Author archive index output, so that Posts indicated not to display the byline don’t output in the Author’s archive index.
Related Posts:
- How to display value of custom fields in page
- Custom post type single-{custom}.php not working
- Change permalinks for posts but not for custom post types
- Mini-Site Strategy
- Assign single template to multiple custom post types?
- Getting a list of custom posts by author
- Display Authors Comments on Profile Page
- How to build a complex page structure
- Adding %author% in custom post type URL structure?
- How can I fix those issues generated by the Themecheck plugin
- Why is get_post_format() for “Standard” returns empty
- Custom Post Type Archive URL takes over page URL
- Password-protect a custom rss feed
- Rename a current used post type
- Recent comments on author page?
- Custom post type archive sorted and grouped by date in post meta field
- Prevent author role from editing all posts in custom post type?
- How to retrieve custom field types for all posts in WordPress/PHP?
- Display only custom post type count for current author on the “At a Glance” dashboard widget
- adding .current* tags to custom post types and taxonomies
- Page as a child of a Custom Post Type
- How do I prefix blog post urls as mysite.com/blog/%postname%/ but allow authors to still be located at mysite.com/authors/%nicename%?
- Why is archive.php used for my page
- WordPress post count not showing for custom post type author
- Filter post by current 2 differents users id
- ACF simple text field value not showing
- What’s the difference between same wp functions get_posts(); functions in different form?
- get_attached_media() on author page not working
- Help need making decision. Ads rotating site on wordpress
- What is the recommended / best way to do this: Event calendar post/type in a block-based theme?
- JS innerhtml changing style when using AJAX
- Display a grid of taxonomy terms at root taxonomy page
- Permit users with author role to edit a custom post type
- Get unique superset of taxonomy terms from a list of custom posts in another hierarchical taxonomy
- How to have this permalink structure: post_type/postname/custom_inner_page
- Can multiple authors be assigned on a single custom post?
- custom comments form for custom post type
- Warning: Invalid argument supplied for foreach() [closed]
- Custom post type isn’t working
- Warning: Invalid argument supplied for foreach() in post.php [closed]
- Getting Un Wanted Gallery Shortcode In The Page on Loop
- Author posts not appearing for custom post type
- Custom WP_Query doesn’t display all posts
- WordPress app page not found error for posts with hyphen in permalink
- Display an authors post on a single page only when they are logged in
- Two column layout with alphabetical ordering
- Create a comments template for custom post types
- Select other roles as custom post authors
- Show Taxonomies with admin area for custom post type?
- Pagination doesnt work in custom post type
- Archive links for custom post types
- Include custom post type custom taxonomies in Categories widget
- Should Custom post types and fields be in the theme files or in a custom plugin packed into the theme?
- Restrict category access to specific users/groups. Author always has access
- Methods for development wordpress themes [closed]
- Custom post type title of each author in his own post
- Custom Post Type – Main page for certain posts
- How does one go about converting custom post type to post format?
- How to display magic field’s custom write panel in wordpress theme?
- Not Able to Add New Class To CPT Attachment Image
- How to Enable Ascending or Descending In WordPress Default Built-in Loop
- How to store the third party script with HTML code in the wordpress custom input field?
- How to display posts from a certain category in a bootstrap 5 carousel loop with multiple items?
- How to get the custom post data using post id in WordPress?
- Loop all post on single.php
- Custom post type 404 category page
- How to display custom field in product description?
- Manually adding current_page_parent to wp_list_pages()
- Limit custom post type to the authors only on front-end!
- programmatically generated custom post type is created more than once
- Add extra elements to the_post in a custom post_type
- Visualize info in just custom post_type in theme
- cpt not display inside nav menu
- Issue on Getting URL of Uploaded Image to a Custom Post Type
- Custom Post Type has wrong label and is not found when called by a loop
- Custom post type single page uses the right template in preview mode but shows a different template after being posted
- Custom Post Type archive page listing a 404 or single post
- Too many revision when post status is changes [duplicate]
- Having issue on Loading Meta Data From CSV to CPT
- Need to display author’s email id in the “Edit post” field in wp dashboard. How do I do this?
- Values show up in custom home page but not in custom post pages
- Permanent Custom Post Type
- How to make id user can be view content
- call a function when insert and update a custom post type
- creating a custom post template
- 2 custom posts types, in their own columns, one pagination for both
- wordpress query_posts with foundation 6 Accordion not working correctly
- How To Display Category list from Portfolio post type plugin?
- Custom post type with custom taxonomy permalinks
- Search form to find custom meta box generated data
- erase post excerpt limitation [×]
- Why is my custom form saving with ‘autodraft’ as title and slug?
- Having some trouble properly displaying Custom Post Types in templates
- How to Create Custom Post Type with Multiple Color Options?
- Custom Post Type supports author
- Author template – separate custom post type by custom taxonomy term for $curauth
- How is get_the_author connected to a custom post type?
- How to create custom page templates with default page layout framework?
- Retrieve a post with its ACF repeater fields in wordpress
- WordPress search results grouped by post type