|
Первый способ не очень удобен тем, что многие плагины и просто элементы темы, расположенные вне контента так же используют в своей HTML-разметке различные заголовки, которые унаследуют наши стили и в некоторых случаях это может привести к неожиданным и не очень приятным результатам, в итоге, придется тратить дополнительное время, исправляя стили нужных элементов.
|
|
The first way is not very convenient, because there are a lot of plug-ins and theme elements, located outside the content, that use different headings in their HTML-layout, and that will inherit our newly added styles. In some cases that may lead to unexpected and not pleasant results, so you will need to waste additional time fixing the styles of the required headings. To avoid that, we will use Title shortcode, thus only the headings inside this shortcode will get the required styles. The content structure will be like follows:
|