Get Most Recent Page from Category
Permalink Browser Info Environment
Hey guys,
So I'm using the problog list teaser add-on, which is working just fine. However, I was trying to tweak it to instead of pulling the most recent post... it pulled the most recent post from a specific category. Right now this is not currently an option.
So at the top it has:
foreach ($pages as $page)
Would I need something at the top, such as a get_pages, that would first pull in only pages from that category? I tried to find an example of this but I've been unsuccessful so far.
Thanks guys!
So I'm using the problog list teaser add-on, which is working just fine. However, I was trying to tweak it to instead of pulling the most recent post... it pulled the most recent post from a specific category. Right now this is not currently an option.
So at the top it has:
foreach ($pages as $page)
Would I need something at the top, such as a get_pages, that would first pull in only pages from that category? I tried to find an example of this but I've been unsuccessful so far.
Thanks guys!
Type: | Discussion |
---|---|
Status: | New |