Wordpress custom post type archive and single.php files not working -


hi i've created custom post type called shows.

here code it. pastebin

i've created 2 files follow accordingly wordpress hierarchy , called them archive-shows.php , single-shows.php. these should automatically link correct pages reason both default index.php.

fix's tried permalinks flushed has archive = true

please suggestions.

try wordpress admin => settings => permalinks , choose else "default"


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -