• YoMommaIII

    (@yomommaiii)


    My landing page for my site is not my blog page. I prefer it this way, however I want to have my logo direct readers to my blog. I am not code literate and hope there is a simple solution in the theme to change the url.

    I have tried to search Minamaze-exclusive support posts but keep getting posts for all other themes. Sorry if it is in here. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey YoMommaIII,

    Hope you’re well today!

    This should be possible with making some modifications to header.php which is located in the root folder of your theme. I strongly suggest not editing theme core files but rather making a copy in your child theme and making changes there.

    Once you got that, please open your child theme header.php and go to line 57, it looks like this:

    <a rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php /* Custom Logo */ thinkup_custom_logo(); ?></a>

    Add your blog page name after the forward slash right next to home_url. For example if your blog page is named News you should add the following:

    <a rel="home" href="<?php echo esc_url( home_url( '/news' ) ); ?>"><?php /* Custom Logo */ thinkup_custom_logo(); ?></a>

    This should make your logo link to your blog page instead of home page.

    Hope this helps ??

    Best regards,
    Bojan

    Thread Starter YoMommaIII

    (@yomommaiii)

    Ah OK. I was hoping I didn’t have to make a child theme. I’ve been able to avoid doing so so far. I lack the capacity to understand exactly how to do one. Guess I’ll just leave it as is until the theme allows you to change it easily. ??
    Thanks for your help!

    Hey again,

    Changing theme core files is not suggested because all modifications will be lost once you update the theme. Creating a child theme is not really that hard. Please check this guide here:

    https://premium.wpmudev.org/blog/how-to-create-wordpress-child-theme/

    You’ll have it in no time ?? After that simply copy the header.php and make the change there.

    Hope this helps ??

    Cheers,
    Bojan

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirect logo to blog page, not front page’ is closed to new replies.