Strict Standards: Redefining already defined constructor for class wpdb in /wp-includes/wp-db.php on line 57

Deprecated: Assigning the return value of new by reference is deprecated in /wp-includes/cache.php on line 36

Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /wp-includes/cache.php on line 384

Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl($output) in /wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl($output) in /wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el($output) in /wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el($output) in /wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el($output) in /wp-includes/classes.php on line 560

Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl($output) in /wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl($output) in /wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el($output) in /wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el($output) in /wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el($output) in /wp-includes/classes.php on line 684

Deprecated: Assigning the return value of new by reference is deprecated in /wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /wp-includes/theme.php on line 540

Strict Standards: Redefining already defined constructor for class AdvancedExcerpt in /wp-content/plugins/advanced-excerpt/advanced-excerpt.php on line 44

Deprecated: Assigning the return value of new by reference is deprecated in /wp-content/plugins/exec-php/exec-php.php on line 22

Deprecated: Assigning the return value of new by reference is deprecated in /wp-content/plugins/exec-php/includes/manager.php on line 34

Deprecated: Assigning the return value of new by reference is deprecated in /wp-content/plugins/exec-php/includes/manager.php on line 35

Deprecated: Assigning the return value of new by reference is deprecated in /wp-content/plugins/exec-php/includes/manager.php on line 36

Deprecated: Assigning the return value of new by reference is deprecated in /wp-content/plugins/exec-php/includes/admin.php on line 42

Deprecated: Assigning the return value of new by reference is deprecated in /wp-content/plugins/exec-php/includes/admin.php on line 48

Deprecated: Assigning the return value of new by reference is deprecated in /wp-content/plugins/exec-php/includes/admin.php on line 49

Deprecated: Assigning the return value of new by reference is deprecated in /wp-content/plugins/exec-php/includes/admin.php on line 50

Deprecated: Assigning the return value of new by reference is deprecated in /wp-content/plugins/exec-php/includes/ajax.php on line 61

Deprecated: Assigning the return value of new by reference is deprecated in /wp-content/plugins/exec-php/includes/cache.php on line 33

Deprecated: Assigning the return value of new by reference is deprecated in /wp-content/plugins/exec-php/includes/cache.php on line 42

Strict Standards: Non-static method LinkLiftPlugin::check_request() should not be called statically in /wp-content/plugins/linklift_divlist_yie2i6pr24/linklift_divlist.php on line 2328

Strict Standards: Redefining already defined constructor for class ngg_Tags in /wp-content/plugins/nggallery/lib/nggallery.lib.php on line 481

Deprecated: Non-static method Redirection_Item::get_by_position() should not be called statically, assuming $this from incompatible context in /wp-content/plugins/redirection/redirection.php on line 375

Deprecated: Non-static method wpdb::escape() should not be called statically, assuming $this from incompatible context in /wp-content/plugins/redirection/models/redirection_item.php on line 58

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method LinkLiftPlugin::widget_linklift_init() should not be called statically in /wp-includes/plugin.php on line 164

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method LinkLiftPlugin::linklift_init() should not be called statically in /wp-includes/plugin.php on line 164

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GoogleSitemapGeneratorLoader::Enable() should not be called statically in /wp-includes/plugin.php on line 164
Tytuł rozdziału w nagłówku » Word - porady
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /wp-includes/kses.php on line 627

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /wp-includes/kses.php on line 691

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /wp-includes/kses.php on line 692

Tytuł rozdziału w nagłówku


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /wp-includes/formatting.php on line 82

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /wp-content/plugins/easy-post-to-post-links/post-to-post-links.php on line 77

Strict Standards: Only variables should be assigned by reference in /wp-includes/post.php on line 117

Strict Standards: Non-static method nggallery::get_option() should not be called statically in /wp-content/plugins/nggallery/nggfunctions.php on line 10

Istnieje duże zapotrzebowanie na umieszczanie w nagłówkach stron tworzonych dokumentów rozmaitych dodatkowych informacji, z których najbardziej powszechną jest tytuł rozdziału. Proces ten można w pełni zautomatyzować, ale warunkiem podstawowym aby to się udało jest stosowanie w tytułach rozdziałów styli nagłówkowych. Używanie styli po raz kolejny okazuje się niezastąpione, bo oprócz możliwości zautomatyzowania czynności tworzenia spisu treści (o czym była mowa w artykule "Spis treści") możemy teraz wykorzystać je do umieszczenia w nagłówku dowolnych innych informacji - aktualnie interesuje nas wstawienie tam tytułów rozdziałów. Przejdźmy zatem do rzeczy.

Aby mieć możliwość pisania w obszarze nagłówka strony musimy go uaktywnić. Klikamy w menu Widok pozycję Nagłówek i stopka

tyt_w_nag_01.jpg

Ukaże się nam pasek narzędzi nagłówka i stopki

tyt_w_nag_02.jpg
oraz otrzymamy możliwość pisania w obrębie nagłówka i stopki.

tyt_w_nag_07.jpg
Na tym etapie warto wiedzieć, że już po wpisaniu czegokolwiek w miejscu kursora pojawi się to na wszystkich stronach. Można też skorzystać z rozwijanego menu Wstaw pozycję Autotekstu i wybrać interesujący element do wstawienia. Polecam poeksperymentować z innymi możliwościami tego narzędzia.

Wracając do tytułów rozdziałów w nagłówku strony - posłużymy się specjalnym polem. Z menu Wstaw wybieramy Pole

tyt_w_nag_04.jpg

Następnie w otwartym okienku

tyt_w_nag_05.jpg

wybieramy w jego lewej części kategorię Łącza i odsyłacze, a z prawej strony zaznaczamy pole StyleRef. Klikamy przycisk Opcje i przechodzimy na zakładkę Style.

tyt_w_nag_06.jpg

Z listy używanych w dokumencie styli wybieramy i zaznaczamy ten, którym pisane były tytuły rozdziałów (standardowo używa się do tytułowania rozdziałów najwyższego poziomu stylu Nagłówek 1), po czym klikamy przycisk Dodaj do pola. Zatwierdzamy OK. Powracamy tym krokiem do pierwszego okna, gdzie też zatwierdzamy nasze działanie OK.

tyt_w_nag_08.jpg

Dodanie poziomej kreski pod tekstem to kwestia ustawienia dolnego obramowania akapitu. Prościej można to uzyskać wpisując pod tytułem rozdziału w nagłówku kilka znaków “-”, lub “=” (dla uzyskania podwójnej linii) i wciskając Enter - znaczki zamienią się na linię.

tyt_w_nag_09.jpg

Cel osiągnięty. Koniec.