Free Directory, Listing & Classifieds WordPress Plugin Support Themes ListingHive add another button like + in header?

add another button like + in header?

  • Author
    Posts
  • justinbryeans

    Id like to add another button, just like the one in the header for adding a list. I’ll of course link it to another action, etc. but wondered if you might have a quick suggestion for adding such. Thanks!

    ihordeveloper

    Please try using this code snippet:

    add_filter(
    	'hivetheme/v1/areas/site_header',
    	function( $output ) {
    		$output .= '<a href="#" class="button button--secondary">Button</a>';
    
    		return $output;
    	}
    );

    It may require additional CSS styles for alignment.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Subscribe

Sign In

Don't have an account? Register

Forgot password?

Register

Already have an account? Sign In

Forgot password?

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.