Modify Site Title URL Based On User Capability

The code in this tutorial enables you to change the site title link based on the user capability.

In this case, the site title links to the about page for users with a contributor capability.

Based on the following question from a member of the Genesis community :

The logo redirect always links back to the home page. But I would like the logo to redirect to a different page based on the user role. For example, a ‘subscriber’ will be redirected to the home page, and ‘contributor’ will be redirected to the about page.

Uses a ternary operator.

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.