Ivica Zivaljic
asked 1 week ago

Hey guys, Is there any possibility to add Button Link from Home Page to Category Page too?
 
Basically there’s no any links to send users from Category Page to Home Page.
 
I hope you all doing well,
 
Thank you

1 Answers
DominicStaff
answered 1 week ago

In this case, you should use the menu item, to create a home menu on the header. 
If your site does not use the menu, you can insert the Breadcrumb for the categories page. Please open the header.php file then add the following code under line 138:

<?php if ( is_archive() ): ?>
              <p class="cat-breadcrumb"><a href="<?php echo get_home_url(); ?>">Home</a> > <?php echo dw_timeline_title(); ?></p>
<?php endif ?>
Ivica Zivaljic
replied 1 week ago

How do I remove this code from my website? It broke my website.

I’ve added the code and then deleted it but the website is still broken,

Thank you

Dominic Staff
replied 1 week ago

Please send me your site URL and username & password of your site for further checking. I will help you resolve it.

Ivica Zivaljic
replied 1 week ago

Just tell me how to remove the code.

As I see in the code you added it in Archive?

Dominic Staff
replied 1 week ago

You can open the file that you have added the code and remove it. You should use the FTP account.
Also, the code that I have provided in the previous answer for the templates/header.php file.
See the screenshot: https://prnt.sc/q4xrln

Ivica Zivaljic
replied 1 week ago

As I said before I removed the code but the code settings remained.

How do I remove code settings?

Thank you

Dominic Staff
replied 1 week ago

I think you have some confusion about this issue. I have sent the PHP code and I don’t understand the code settings as you mentioned.
If the code is an error, you can remove it and the site will work back.
You should send me a screenshot for further checking.

Powered by DW Question & Answer Pro