CL 2013-11-23

As for the page.php, so it didn’t really work for this changelog page. I want to render the “List category posts” plugin obsolete and I don’t want to use a “tricky” CSS hack to remove a date-line in my list, as in this post. It’s not good for accessibility (The blinds should hear the date two times for each posts, and in a weird way).

  • New file created: page-14.php. As for the Template Hierarchy, WordPress would seek for a ID-specific page before a generalized page.php. Therefore the Changelog page would use page-14.php instead of page.php.
  • Instead of the default  the_content();  function in the loop in page-14.php, I used

    To filter the posts to only use the posts which is in the category ID ‘3’ and show the_date in <h3> tags and then, show the_content. No the_title(); function  is used.

Here comes a beautiful before and after picture of the change in the php code!

Before and after