Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Puchar WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Jak dodać funkcję strony w WordPressie

Uwaga redakcyjna: Otrzymujemy prowizję z linków partnerskich na WPBeginner. Prowizje nie mają wpływu na opinie i oceny naszych redaktorów. Dowiedz się więcej o Proces redakcyjny.

Czy widziałeś popularne witryny internetowe z funkcją określonych stron w ich panelach bocznych? Te statyczne strony są używane do wyświetlania informacji, takich jak strona informacyjna, strona dla nowych czytelników, strona archiwalna itp. Niedawno jeden z naszych użytkowników zapytał nas, czy istnieje sposób na funkcję stron w WordPressie. W tym artykule pokażemy, jak dodać funkcję strony w WordPress.

Featuring a page in WordPress sidebar

Pierwszą rzeczą, którą musisz zrobić, to zainstalować i włączyć wtyczkę Feature A Page Widget. Po włączeniu wystarczy przejść do Wygląd ” Widżety, gdzie zostanie powiadomiony nowy widżet o nazwie „Widżet funkcji strony”. Następnie przeciągnij i upuść widżet na panel boczny.

Feature a page in WordPress widget settings

Pierwszą opcją w ustawieniach widżetu jest wybór tytułu widżetu. Jeśli chcesz, możesz pozostawić go pustym. Po drugie, z rozwijanego menu należy wybrać stronę, która ma pełnić funkcję widżetu.

Po wybraniu strony widżet wyświetli jej status. Sprawdzi miniaturkę strony(obrazek wyróżniający) i zajawkę.

Jeśli twoja strona ich nie ma, widżet podświetli je na czerwono. Możesz kliknąć ikonkę ołówka, która otworzy stronę w edytorze wpisów, gdzie możesz ustawić miniaturkę i zajawkę.

Jeśli nie widzisz pola meta Zajawka podczas edycji strony, musisz je włączyć. Kliknij przycisk Opcje ekranu w prawym górnym rogu ekranu. Pojawi się rozwijane menu, w którym należy zaznaczyć pole obok opcji Zajawka.

Show excerpt and featured image boxes for pages on post editor screen in WordPress

Teraz przewiń w dół do pola meta zajawki, które znajduje się poniżej edytora wpisów.

Gdy twoja strona ma już zarówno zajawkę, jak i miniaturkę, możesz wybrać układ dla twojego widżetu. Obecnie dostępne są trzy opcje układu. Układ z zawiniętym obrazkiem wyświetli miniaturkę twojej strony wraz z zajawką. Opcja banner image layout wyświetli twoją miniaturkę na górze zajawki. Wreszcie, opcja układu dużego obrazka wyświetli większą wersję obrazka na górze zajawki twojej strony.

Po wybraniu opcji układu możesz kliknąć przycisk Zapisz, aby zapisać twoje ustawienia widżetu.

To wszystko, możesz teraz wyświetlić podgląd twojej witryny internetowej, aby zobaczyć funkcję wyróżnionej strony w WordPress. Pamiętaj, że możesz dodać wiele widżetów wyróżnionych stron w twoim panelu bocznym. Można również wyświetlać lub ukrywać widżety na określonych stronach WordPress.

Mamy nadzieję, że ten artykuł pomógł ci w funkcji wyróżnionych stron w WordPress.

Jeśli podobał Ci się ten artykuł, zasubskrybuj nasz kanał YouTube, aby zobaczyć poradniki filmowe dotyczące WordPressa. Możesz nas również znaleźć na Twitterze i Google+.

Ujawnienie: Nasze treści są wspierane przez czytelników. Oznacza to, że jeśli klikniesz na niektóre z naszych linków, możemy otrzymać prowizję. Zobacz jak WPBeginner jest finansowany, dlaczego to ma znaczenie i jak możesz nas wspierać. Oto nasz proces redakcyjny.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Najlepszy zestaw narzędzi WordPress

Uzyskaj BEZPŁATNY dostęp do naszego zestawu narzędzi - zbiór produktów i zasobów związanych z WordPressem, które każdy profesjonalista powinien mieć!

Reader Interactions

12 komentarzyZostaw odpowiedź

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Sarah says

    Nice plugin,

    One thought as an idea..

    Allow admin to set posts/pages a 'Featured Post Of The Day’ as a popup where they can select at time intervals, Day, Month, Banner, Except, Link URL.

    We don’t use sidebar widgets that much so having an ability to allow this as a popup on target pages would be a bonus!

    Nice plugin :-)

    • Mark Root-Wiley says

      Hi Sarah,

      I’m glad to hear you like the plugin! (It’s always appreciated if you can leave a review saying as much!)

      Since the plugin’s focus is on *Pages*, date-driven features are low on the priority list. The most likely would be a „Most Recent Post” option if anything.

      As for using the widget as a popup, I’d encourage you to explore plugins that allow for Widgets in pages or give you a widget shortcode. That’s always my recommendation for getting Feature a Page Widget into non-sidebar locations.

  3. Mark Root-Wiley says

    Hi Everyone,

    Mark the plugin’s developer here again. I’m happy to belatedly announce that 2.0.0 is now officially available in the plugin repository!

    The new version includes a ton of great new features:

    – Allows you to feature posts of any post type. Pages and Posts are enabled by default.
    – New advanced options allow you to hide the Page Title, Feature Image, and Excerpt or add a „Read More” link.
    – Improved interface makes more sense and better matches the current admin styles.
    – New templating system uses separate files for each layout and is much easier to modify.
    – New filters allow for more control over the widget output.

    Full documentation of the new version is available on my website.

    Thank to everyone who’s ever tried the plugin. I hope this new version makes the plugin even more powerful and easy to use.

  4. Claire says

    Hi Mark – if you’re there..?
    I installed the plugin and set up the widget, but my excerpt is transposed, displaying vertically down the page. Can you help me fix it?
    Thanks everso
    Claire

  5. mrwweb says

    Hi Everyone,

    I’m Mark, the developer of the Feature a Page Widget. I’m glad you’ve found it worth reviewing and using!

    Today I released the 2.0.0-beta version that has lots of new goodies. It needs a bit more testing, so if you’re interested in the new features, please try it out and let me know what you think of it.

    You can find the details about the new version and information for trying it out at http://wordpress.org/support/topic/feature-a-page-widget-200-beta-available-for-testing?replies=1#post-6013471.

    I look forward to hearing your feedback!

    -Mark

  6. Paul Ames says

    nicely done, used this in my site, how can you disable sharing buttons within the featured box, without disabling them on each page, which are showing up, using shareaholic? Have you heard of this one?

Zostaw odpowiedź

Dziękujemy za pozostawienie komentarza. Pamiętaj, że wszystkie komentarze są moderowane zgodnie z naszymi polityka komentarzy, a Twój adres e-mail NIE zostanie opublikowany. NIE używaj słów kluczowych w polu nazwy. Przeprowadźmy osobistą i konstruktywną rozmowę.