R
R
Rebldomakr2018-04-28 20:45:36
WordPress
Rebldomakr, 2018-04-28 20:45:36

How to change the header of different pages in Wordpress?

Hello.
For example, when I switch to About - I would like the background and text to change (LET`S BUILT.....)
5ae4b290a3ce6376195892.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maksym Davydchuk, 2018-04-28
@Rebldomakr

Wordpress has what are known as conditional functions . Specifically for this task, you can:

if( is_page( 'about' ) ){
   //ваш код
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question