Dodatak nije testiran s zadnje 3 glavna izdanja WordPressa. Možda ga se više ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama WordPressa.

SX Featured Page Widget

Opis

SX Featured Page Widget creates a widget that features a specific page, showing its contents.

Check official website for

SX Featured Page Widget is available on GitHub. If you want to contribute, please fork it and send a pull request!

Snimke zaslona

  • Admin Screen for SX Featured Page Widget http://www.redweb.tn/sx-featured-page-widget-wordpress-plugin

Instalacija

Ovaj odlomak opisuje kako instalirati dodatak i i kako ga natjerati da radi.

e.g.

  1. Upload sx-featured-page-widget directory to the /wp-content/plugins/ directory
  2. Aktivirajte dodatak kroz izbornik ‘Dodaci’ u WordPressu
  3. Go to ‘Widgets’ menu and drag it to your sidebar

ČPP

Can I use it outside my sidebar / widget area?

Sure you can! Just call the_widget() wherever you want to display your featured page. If you want to customize it, there’s four arguments:

  • page: The page ID. Required.
  • title: The widget title.

Primjer

<?php
the_widget( 'SX_Featured_Page_Widget', array( 'page' => 311 ) );
?>

If you don’t know the page ID, you can try get_page_by_path() function:

<?php
the_widget( 'SX_Featured_Page_Widget', 'page=' . get_page_by_path( 'about' )->ID );
?>

Frequently Asked Questions

Recenzije

Nema recenzija za ovaj dodatak.

Suradnici i Programeri

“SX Featured Page Widget” je softver otvorenog koda. Sljedeće osobe su doprinijele ovom dodatku.

Suradnici

Prevedite “SX Featured Page Widget” na svoj jezik.

Zainteresirani ste za razvoj?

Pregledajte kôd, pogledajte SVN spremišteili se pretplatite na dnevnik razvoja od RSS.

Dnevnik promjena

1.0

  • First version. Final 08/12/2015