Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Showing active pages based on mod date
#1
I want to get a list of the most recently modified pages to display on my site.

Anyone know how I can do this with existing plugins or do i need to just write my own code to grab all pages and do the logic ?

For example
The last 10 pages that were updated and when.
With filters, pages must be public and on menu etc.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#2
shawn_a Wrote:I want to get a list of the most recently modified pages to display on my site.

Anyone know how I can do this with existing plugins or do i need to just write my own code to grab all pages and do the logic ?

For example
The last 10 pages that were updated and when.
With filters, pages must be public and on menu etc.

The I18N Search plugin allows you to order by publishing date descending (order=date), but it requires you to specify a search word or tag.

Edit: only public pages are indexed, but you can't determine yet, if the page is on the menu or not.

I added an example on how to achieve this on the I18N Search Custom Indexing page.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
#3
Thanks, Looks promising.

I might be better off writing a component for this it seems, since I don't have tags I can use always.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)