Changing Shop Icon Link

Hi there,
On my site, I’ve built a shop page that is different than the default one. I’ve updated all of the links around the site but there is one I cant figure out where to change. I have attached a screenshot but it is the square with mini squares inside of it on the upper left of the product pages.

How might I achieve changing the link that that icon goes to? My shop page is

Thanks for the help!

Hey @powrider686,

I’m sorry but I didn’t see this:

There’s also no screenshot.

Please send us the screenshot and/or provide more details.


Sorry about that. I forgot to attach it. Now it is attached.

The icon is on the individual product pages as seen here -

How can I change that link?

Thanks and Merry Christmas!

Hi There,

To change the default shop link, please add this code under functions.php file locates in your child theme:

function x_ethos_entry_top_navigation() {

    if ( x_is_portfolio_item() ) {
      $link = x_get_parent_portfolio_link();
    } elseif ( x_is_product() ) {
      $link = get_permalink( 4037 );

    $title = esc_attr( __( 'See All Posts', '__x__' ) );


      <div class="entry-top-navigation">
        <a href="<?php echo $link; ?>" class="entry-parent" title="<?php $title; ?>"><i class="x-icon-th" data-x-icon-s="&#xf00a;"></i></a>
        <?php x_entry_navigation(); ?>



Please note that the 4037 is your new shop page ID. To find a page/post ID, please take a look at this:

Hope it helps :slight_smile:

Ok that worked great. Thank you!

You’re welcome!
Thanks for letting us know that it has worked for you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.