This will be somewhat dependent on where your single
post view is stored, but you’d be looking to add something to the effect of:
<?php
echo __('Written by', 'text_domain') .' <a href="'. get_author_posts_url(get_the_author_meta('ID')) .'" rel="author" class="fn">'. get_the_author() .'</a>';
Related Posts:
- How can I style the Comment Section of a blog post
- Change the template of my Blog entries
- How to create a new blog in wordpress?
- Essential technical features for high-end WordPress web hosting? [closed]
- Why doesn’t WP_Image_Editor save images using the Filesystem API?
- Default value for add_settings_field
- Disable Visible Edit Shortcuts in the Customizer
- How to make a script load after Custom Block is loaded in the editor?
- Custom ReCaptcha Login
- is_home() and is_single() Not Working as Expected with Custom Post Types?
- How to edit the actual paragraph dropdown in TinyMCE with custom text styles
- Add control in image detail panel
- using upload image with media_handle_upload .. but !
- Win7 Dev Environment
- 2 seperate installation 1 theme same server
- Is there a way to integrate WordPress within an existing PHP Framework, CMS, and Navigation system?
- No option to add a ‘featured image’ in my wordpress installation
- Friendica integration using wordpress authentication
- Post format selector in Thematic child theme post class
- WordPress in “Couch Mode”?
- How-to inspect filter-able $vars?
- pagination in woocommerce order history page
- Combine multiple words in custom meta search query
- How to run a test WordPressMu to WordPress3 update?
- Comparing two WordPress installations
- Get multiple db prefix with $wpdb
- Importing media medium setting image gallery / image attachments
- Could not create directory. /var/www/html/wp-content/plugins/PLUGIN_NAME/
- WordPress development using Docker – how to share directories? [closed]
- Unique User Account Number + Displayed Via Shortcode
- How can I add Google’s reCaptcha to Divi’s contact form module? [closed]
- How do I copy all “extra” data (menus, widgets, etc) from one theme to another?
- How to add more than one RSS Feed Link for wordpress
- How to create a list of items with fields in WordPress?
- Create default_content layout template based on post id
- Remove ability to Permanently delete an image from the Media Library
- Filter posts by custom taxonomy terms
- shortcodes – style them or change/remove the square brackets?
- Adding a login form that concatenates three fields into a username
- Moving from development while pulling production database without overwriting, to production
- Ability to only view (not edit) other user’s personal profile information
- Fastest way to get the comment and ping total count for a post
- want to create a subcategory.php to manage subcats
- Updates for a private theme
- Is it possible to add a ribbon in the background of h1 on every page?
- How to add textarea field to taxonomy (tag)?
- Contact From 7 Custom Validation Issues
- How to add an extra button on woocommerce shop page and use it to send the product info with image in a mail? [closed]
- changing font size and font of a custom message added after comment
- education system [closed]
- Custom wp-content and upload directory
- Lost password empty field error redirect to custom login
- Custom comments list, right depth
- Order posts with a custom field but also without
- How to hook up search results page to a back-end page?
- “An automated WordPress update has failed to complete – please attempt the update again now”– But there is no .maintenance file
- How do I redirect a post url to a custom url?
- Custom Login Process
- How could I verify whole WP directory before/after working with a freelancer? [closed]
- How to customize
- Modify files without losing customization after updates
- Determine if action was executed in functions
- Extending core class in plugin
- Applying WP-cli Search & Replace to Static SQL Dump File
- Is it possible to make wordpress LMS
- Saving contact form 7 data into custom Table
- Hiding Short Description in Shop Page, WooCommerce
- Media Upload not working after hiding some elements from functions.php
- How Can I limit the visible part of the short-description on the Category page?
- Is it possible to rename a customizer control heading?
- How to add WordPress JS Script Links
- Create Unique ID for user
- Customizing the gallery of the post correctly
- Will WordPress updates remove Gutenberg Additional Classes?
- WP_Query – sort the results by meta value custom attribute wocoomerce
- Multiple header style under meta box
- Show products per page drop down
- When developing WordPress plugin, is it a good idea to create my class object by hooking to existing class constructor?
- Static Page, need Last and Next links at the bottom
- How can I create a Custom Page? (not a page template!!)
- Client viewing before deployment
- How to have different background image based on post category
- Change meta-box title- “LearnDash Quiz Settings” to “Quiz Settings”
- How to use a custom playlist template:
- Run a welcome tour after multisite creation?
- Multisite – Getting Meta query to select from wp_2 tables
- How to compare number with id of post in certain category
- Custom stylesheet not loading
- WordPress Inline Style missing
- Need to over ride a !important from the index file
- how to hard link to the posts page?
- Error in establishing a database connection in wordpress?
- Make User Role a Filter
- Creating a search with tag variable also added for more detailed results
- Show WP content on different PHP Sites
- Template setting is not saving in wordpress
- How to keep the /blog slug even in single post slug
- Create a custom search for Estate Agency WordPress site
- WP is easy, The client has to learn it, So what do i offer? [closed]
- How do I add custom CSS animations for specific Gutenberg blocks?