विवरण
Page-Cat-List is a WordPress Plugin (surprise) that you can use for generating a sorted list (where you can/must
define the order) with items from pages and categories. That’s the whole story. Unfortunately WordPress does not
implement this in its core-functionality so I had to build that on my own.
As of writing this Page-Cat-List supports:
- mix category- and page-items and display them in one list
- sort these items (first level only)
- define a title
- define a maximum depth
- define a html-id for the first ul-element
- most of the stuff you can do with get_pages and get_categories arguments:
- exclude items
- include items
- etc. pp.
स्क्रिनसटहरू
स्थापना
- download Page-Cat-List here
- extract the zip file and copy the folder to you wp-content/plugins/ folder via ftp/ftps/sftp/whatever-you’re-using-to-transfer-files-to-your-webspace
- goto Plugins in your admin-menu and activate Page-Cat-List
- goto Design–>Widgets and Drag’n’Drop the Page-Cat-List to one of your sidebars. Note: If you have no sidebars listed then, Google is your friend
- enter any options (title, depth, get_pages or get_categories arguments, ul-id) and save your changes
- done ;o)
प्रश्नोत्तर
- How to define an order?
-
Just type in the page and category-ids in a comma separated list in the “Order” widget option.
The items will be displayed in the exact order you typed in from top to bottom. Remember to add
a trailing “p” to every single page id. If your page id is 42 you’ll have to write down 42p.If you’re not sure about page and category ids search for a plugin or hover the links in the
listing views and look into the statusbar of your browser. The id should be part of the url. - What am I supposed to write down in “Page Args” or “Category Args”?
-
You can define excludes and stuff like that by providing args to Page-Cat-List that you would
normally hand over to get_pages or
get_categories. Just take
the syntax from there. - Do you have some kind of example configuration?
-
Well…click on the screenshots section. The important stuff is handled there.
समीक्षाहरू
यस प्लगिनको लागि कुनै समीक्षाहरू छैनन्।
योगदानकर्ता र डेभलपरहरू
“Page-Cat-List” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।
योगदानकर्ताहरू“Page-Cat-List” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्
विकासमा रुचि छ?
आरएसएस द्वारा कोड ब्राउज गर्नुहोस्, एसभीएन रिपजिटरी हेर्नुहोस्, वा विकास लग को सदस्यता लिनुहोस्।
चेन्जलग
0.1.3
- fixed bug that caused an infinite loop if a page had one or more subpage(s)
0.1.2
- added readme.txt file
0.1.1
- added support for max. display depth
- changed standard wordpress title handling: empty title means empty! no widget li wrapper is printed and no h2 either. use blank space for standard wp behaviour
- added id to first ul generated by widget
0.1.0
- initial release