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?
- How to print all the inline styles in the WP_Styles instance together with their keys?
- I cannot find the wordpress.scss file that my live site is pulling from
- The style.php file inside theme-engine folder has other content on FTP
- Google CSE Malfunctions via Chrome/Safari on Mobile When Clicking on Either Search Icon/Menu Icon. How to Make Google CSE Default Theme Search
- I have a lot of JavaScript erorrs after SSL someone can help me?
- WordPress Slider is not working
- 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 display post meta bellow every posts
- How to locate parent theme functions and add functions to my wordpress child theme?
- How to let mobile navigation menu close when link is clicked?
- how to add functions to my function.php using a child theme?
- Add my footer menu to the header
- Replace header with large image on home page only, using Genesis child theme
- Add a default style if no Featured image is selected
- Add Shortcode to ::before class
- Make a full-width wordpress page
- Return author name as a tag using get_author
- Site title not showing. Please help me
- Fix hover images blink
- Send Notification to all users that followed some author
- Bring Font Awesome icons inside menu A tags
- PHP/CSS: Shortcode won’t display correctly, and only displays in the head (before content)
- Styling a specific post after hovering over it
- Hot to edit WooCOmmerce dashboard?
- Following/Followers Users list Using Ajax Pagination inside Author Profile
- Using Sprit-sheet on WordPress categories
- Blog Image and Title in Right Sidebar
- Send email to users when they get new followers
- Trying to add get_the_title hook to this line
- Add class for the_post_thumbnail_caption()
- custom field – changing an element or background of id div – different versions not working
- Target a specific container to style on WordPress storefront theme
- How to display post_content from database in different on template page?
- How to include different html tags in the header for different pages?
- Displaying POST content with HTML tags and all
- remove blank space where sidebar was
- CSS loading as empty file in Custom Theme
- How to add Open/Close Toggle button into Twenty Fifteen theme for hiding left sidebar?
- How to make a parent page for author.php?
- user update profile for custom code
- Display specific main Sub Nav on Woocommerce product pages
- Position a repeated article blocks
- Clone the “proceed to cart” button and place it above checkout on the cart page, but only appear display size is 320px
- Changing WordPress author name in database
- Showing the authors username and bio on custom author.php
- How can I output the slug of a comment author?
- How limit the width of a fixed menu-bar on scroll?
- Highlight Single Page Ancestor
- Custom Thumbnails [closed]
- Font-Family does not looks like how it should be [closed]
- Custom Theme, Editor won’t wrap text (i.e. change width)
- Where to find the html for WordPress site? [closed]
- Click to expand menu
- Relative post date in recent posts list
- How to add style in functions.php depending on conditions?
- How to remove image on single product and get product to span page?
- Widget edit and add in any page
- widget: input the px value from user and use it as inline style in widget function
- Modify arguments for parent theme’s `wp_register_style` via child theme
- Styling admin page rows in order of importance (checkboxes)
- Hide button based on PHP result
- Why isn’t my link attribute getting my css?
- How to save the output of php variables used in inline css code to the main style.css?
- Revision History for Entire WordPress Site
- Show contact 7 form in popup
- wp add inline style in loop
- Child theme not working properly
- WordPress – Image href for home menu nav not working
- How Can I Center the Logo in the Navigation Menu? [closed]
- featured post as div background
- Combining fancybox with multiple thumbnail plugin
- Display pages from specific page template
- Trying to customize wordpress drop down categories
- Show Nav Link To Users Signed In
- WP_Nav Highlight Parent Issue
- Cant get theme to change footer color through theme customizer
- Changing 2011 theme header image based on user dropdown
- How to change the menu color
- How do I use CSS or PHP to customize WordPress Form Manager Plugin Table?
- Sidebar doesnt get updated?
- Converting Menu Links to List Elements
- When I use rewind_post() it shows menu items in my loop
- PHP Puzzle: Unique Styles with PHP loop
- How to change a specific character in a theme option value – replace a space with a plus sign
- How to NOT override inline css rules
- How to use plugins_url() inside PHP stylesheet file [duplicate]
- Add CSS class to PHP Statement
- How to get shared CSS body class between translated WPML pages [closed]
- How to add margin underneath woocommerce total price amount -> productpages
- How do I get Roboto Google Font to display normal font-style? [closed]
- Load files content [closed]
- Using PHP for background-image property [closed]
- Integrating CSS Into a WP Function Call [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?
- WP_Query not returning results
- which php or css file has generated an inline style in WordPress that overwrites my css