modified to include all public post types, with available filter. closes #2 props @mendezcode