You can use the the_author_posts_link
filter to add the custom blog-link
class:
/**
* Add the 'blog-link' class to the output of the_author_posts_link()
*/
add_filter( 'the_author_posts_link', function( $link )
{
return str_replace( 'rel="author"', 'rel="author" class="blog-link"', $link );
});
Related Posts:
- How to have Function of a plugin using global vars into a shortcode?
- WordPress Shortcode and Dynamic CSS
- Current post’s author name in the author meta tag
- Need help on WordPress and php
- Multiple pages on one with different HTML
- WordPress Customizer not setting default value upon initial install?
- WordPress loop specific thumbnail size
- wp_enqueue_style with style.php and WordPress functions
- Minify HTML, CSS, JS with PHPWee?
- Get_the_author doesn’t return author name
- WordPress override bloginfo variable
- When using the_author hook, how can I determine the PHP file that generates each call to `the_author()`?
- Shortcode content output but not in correct place
- An unwanted inline style is added to my body tag
- Displaying theme options in css
- Add a custom stylesheet for BlackBerry
- How can I hide Home in my menu in a specific page?
- Get different images for mobile and desktop with php, advanced custom fields without using js and ajax
- Get Current User Id Inside a Loop Returns 0 For a Shortcode
- How to stop featured image thumbnail [set as background image] on blog index page just repeating same image across all posts
- Storing Array from returned database query and using the array in a new query
- Selectbox in admin panel function linking to CSS
- Using if/else statements with output from theme options
- Is there CSS to expand the gallery limit on Index Pages?
- How to display pictures from database?
- Different post styles depending on category
- two columns of posts on homepage, one of them “favorites”
- custom css for admin only
- responsive.css in the WordPress should be prioritized
- WordPress style.css not updating, only after theme reload
- Remove author link wherever author’s name is display
- Adding logo to WordPress header
- Thumbnails appear to be zoomed
- Odd / Even posts add class minus first post
- WordPress archive page showing 404 Error [duplicate]
- Styling the second sidebar
- How to add drag and drop functionalities to a div inside option panel
- Removing WordPress Footer -without access to PHP code?
- CSS change in woo commerce Place Order Text [closed]
- Post repeated when opening in overlay, how do I solve this? [closed]
- Menu Custom Data Attributes
- Add New Text Box To WordPress Twenty Seventeen Header
- Split site title and apply different classes
- How to modify mobile nav menu text in theme
- Need help removing […] after excerpt
- jQuery accordion menu
- Twentyfifteen style author comment
- Extend Menu Walker Output
- Dynamic CSS through PHP issue
- How to make changes to style.php [closed]
- conditional: if is page, and all subpages
- How to sort posts by active category in WordPress?
- Create Columns with Custom Walker and CSS Classes
- Background image no longer fits to screen now that project is in php files
- Why would the child theme load in the Customize preview, but not on the site itself?
- How to make only the valid active page of a multilevel menu active with – “.nav li.current-menu-item a”?
- echo cutom css code to WordPress page template file ? is this safe?
- WordPress custom php script to match standard page layout
- I can’t go to the page archive-{post_type}.php
- Problem with displaying CSS Stylesheets – Am I adding them correctly in my wordpress child theme?
- I have a background-image in css file but don’t show in site.how to fix this prblm. i sent screenshot. thx
- Trying to generate a CSS file in wordpress uploads folder
- WP Website is shown in HTML
- Posts missing on author page
- I cannot find the wordpress.scss file that my live site is pulling from
- I have a lot of JavaScript erorrs after SSL someone can help me?
- I got big white screen when i attach main style sheet of Html in functions.php
- register dependency css and js inside a plugin class
- Hide author from search results meta, still display date and categories
- How to locate parent theme functions and add functions to my wordpress child theme?
- Add a default style if no Featured image is selected
- Styling a specific post after hovering over it
- Send email to users when they get new followers
- custom field – changing an element or background of id div – different versions not working
- CSS loading as empty file in Custom Theme
- How to make a parent page for author.php?
- user update profile for custom code
- Changing WordPress author name in database
- Showing the authors username and bio on custom author.php
- How limit the width of a fixed menu-bar on scroll?
- Where to find the html for WordPress site? [closed]
- How to remove image on single product and get product to span page?
- widget: input the px value from user and use it as inline style in widget function
- Show contact 7 form in popup
- How Can I Center the Logo in the Navigation Menu? [closed]
- Show Nav Link To Users Signed In
- How to change the menu color
- Converting Menu Links to List Elements
- When I use rewind_post() it shows menu items in my loop
- How to get shared CSS body class between translated WPML pages [closed]
- How to customize posts in WordPress by using HTML and CSS?
- How to create and add js and css file when server is not on my PC?
- which php or css file has generated an inline style in WordPress that overwrites my css
- Header location [closed]
- Blog listing not showing dates for every post and arrow missing off image
- Custom HTML/CSS Theme into WordPress – SEO considerations
- ‘This Field is Required.’ is Not Displaying on CF7 [closed]
- WooCommerce Checkout Cart [closed]
- why css file not link?how to create permalink?
- Using Featured Image as Hero Background in Word Press