The set of advanced widgets for WordPress include:
WK_Pages
Thе Extended Page widget works based on the function.
Names of all the fields are saved in the original version to avoid any confusion.
more additions:
start_depth: the depth from which the pages are supposed to be shown;
collapse: hide inactive hierarchy branches;
title_lenght: crop the page title (cropping by words);
end_cut: character at the end of the cut line.
WK_Categories
It displays the list of categories. This widget works by a function and all of the parametres are the same.
more additions:
start_depth: the depth from which the pages are supposed to be shown;
collapse: hide inactive hierarchy branches.
WK_Posts
It shows any set of records. The widest choice of options provided by the use of WP_Query class – the WordPress heart. Parameters names and operating principle was described in detail in the article.
To specify a data array in such fields as category__and, tag__in, tag_slug__and, post__not_in and other similar use the comma to separate data.
For example:
tag__and:
Additional parameters:
title_lenght: crop the page title (cropping by words);
end_cut: character at the end of the cut line;
image_size: -45×45 record format will makes WP_Query to search for only records that are contain images. The resulting array contains returned image field that equal of ID of first image was loaded to this record.
image_size:
CSS wk-style.css – looking in the plugin directory.
Warning, some of the parameters in these functions conflict with each other, read the documentation carefully!