[Resolved] Change the Site Title URL

Home Forums Support [Resolved] Change the Site Title URL

Home Forums Support Change the Site Title URL

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #204803
    Chad

    It looks like the site title is pulled from ‘Settings -> General’ but I want the link to point to something else.

    The homepage of my site is an email list signup form with no navigation on it. “Behind” that page is a premium membership, where I’d want the site title to link to.

    You can see a post inside the site here: http://tokyospark.com/salvatore-cuomo-bros-daikanyama/

    I want it to link to http://tokyospark.com/premium/ instead of http://tokyospark.com.

    Thanks!

    #204828
    Jamal

    Hi

    Please give this a try

    add_filter( 'generate_site_title_href','generate_custom_site_title_href' );
    function generate_custom_site_title_href()
    {
    	// Enter the URL you want your logo to link to below
    	return 'http://YOURURLHERE.com';
    }
    • This reply was modified 5 years, 5 months ago by Jamal.

    Agressively support the kind of work you want to see. Buy it. Talk about it. Review it.

    #204998
    Chad

    Thanks Jamal, that works great.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.