humanmade / humanmade/page-for-post-type

Show notice if none of the post type has archive enabled

Open
#13 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
188
Forks
30
PR merge metrics
No merged PRs in 30d

Description

Great plugin!

If none of the custom post types has archive enabled the plugin will only output the heading `Pages for post type archives` (see #12):

![screenshot-dev vias-goerlitz de 2018 03 29 11-07-35](https://user-images.githubusercontent.com/8144115/38080508-f8da1e50-3341-11e8-94ae-cfc98e4be390.jpeg)

I expect to get a notice like `None of your post types has archives enabled`.
What do you think? Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named in the issue. Start by locating the code that renders the “Pages for post type archives” heading and inspect how enabled post type archives are collected. Done means showing a notice such as “None of your post types has archives enabled” when that collection is empty, while retaining the existing heading and behavior otherwise.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.