<?php $paged_maxnum = $GLOBALS['wp_query']->max_num_pages; $paged_current_page = get_query_var('paged') ? intval(get_query_var('paged')) : 1; $title_page_nrs = 'Porady dermatologiczne i kosmetologiczne - Strona ' . $paged_current_page; if ((strpos($_SERVER['REQUEST_URI'], 'blog')) && ($paged_current_page >= 2)) { echo '<title>' . $title_page_nrs . '</title>'; } else { echo '<title>Porady dermatologiczne i kosmetologiczne</title>'; } ?>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter