A
A
Alexander Dio2021-08-28 15:49:05
contextual advertising
Alexander Dio, 2021-08-28 15:49:05

How to disable YAN ads for certain pages?

You need to disable the display of ads on one page. I did not find https://partner2.yandex.ru/ in the settings here .
Site on WordPress.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Zolin, 2021-08-28
@artzolin

Just do not display blocks with ads on the pages you need

if ( !is_page( 'contacts' ) ) {
  # code...
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question