Hard coded url in place of home_url()

I'm trying to setup multisite where site logo will link to parent site even from subsites. Is there a way to remove below codes beans_open_markup_e( 'beans_site_title_link', 'a', array( 'href' => home_url(), // Automatically escaped. from framework and add hard coded url ie example.com in place of home_url()?

Thanks in advance.

Hi Nori,

You may change the link by adding the following line to your child theme:

beans_replace_attribute( 'beans_site_title_link', 'href', 'http://example.com' );

Will will find documentation and a lot of discussions around Beans HTML API which allows you to modify pretty much everything in Beans via your child theme.

Happy coding,

Thanks, that did the trick! I'll look though API documents.


Write a reply

Login or register to write a reply, it's free!