How to change or remove header link

Is it possible to change or remove the header link ,



By default it should point to homepage but you can change it by replacing this code with any URL.

<?php echo esc_url( home_url( '/' ) ); ?>

For example you can replace it with just a plain url like this

This function can be find in header.php file and it is mentioned twice there. You can replace both of them but depending on your setup only one of them is used.

Thanks Agiers,

But this is not what i mean, i mean the link to the page in the header slider.



Slider is slider and header is header. :slight_smile:

If you want to point slider to different pages or even URLs outside your website you can use plugin such as this one: Page Links To – WordPress plugin |

You can point post that you have used in slider to any page you want and users will never be able to access the actual post which you have added just to work in slider.

Let me know if this is what you were looking for.


Thanks this is what is mean, perfect.

Is it also possible to put the Slider on ever page of the site ?

Thanks, Thanks,


This question have been answered several times, so I hope you don’t mind that I will point you to one of these discussions.