Jump to content

Search the Community

Showing results for tags 'sort child'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hi Guys, I am pretty new to process wire so apologises if this is a silly question. Basically I have created a blog where it shows the excerpts of each blog post so to speak, my issue is that I cannot arrange these by date (most recent being at the top) using the blog_date field. I have read through similar questions however cannot implement my code to work. Any help would be greatly appreciated, Melissa <?php foreach ($results as $child) { echo "<div class='article'><div class='row'><div class='col'><h3>"; echo "$child->blog_title </h3> </div></div>"; echo "<div class='row'><div class='col twocol blog_meta'>$child->blog_date</div>"; echo "<div class='col eightcol post'><p>$child->blog_excerpt</p>"; echo "<a href='$child->url' class='read_more'>>> Continue Reading</a>"; echo "</div></div></div>"; } ?>
×
×
  • Create New...