Apraksts
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!
Ekrānuzņēmumi

Uzstādīšana
This section describes how to install the plugin and get it working.
Kā piemēram
- Upload
sx-featured-page-widgetdirectory to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to ‘Widgets’ menu and drag it to your sidebar
BUJ
- 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.
Piemērs:
<?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 ); ?>
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“SX Featured Page Widget” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “SX Featured Page Widget” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.0
- First version. Final 08/12/2015
