Some permalinks on Apache/localhost development setup return 404’s when set to anything other than plain permalinks

The slug you use for the CPT looks very weird. You should inspect the rewrite rules being used in parsing a request with something like the query monitor plugin, but the gut feeling is that your CPT slug makes all URLs to match it and since there is no CPT for the URL of a … Read more

In the admin, how can you list thumbnails instead of titles for a custom post type?

I would look into adding a custom post column for that post type which shows the image you’d like to. See this link. edit: here’s a working example. function add_column_header_298736( $defaults ) { $defaults[ ‘image’ ] = ‘Image’; return $defaults; } add_filter( ‘manage_results_posts_columns’, ‘add_column_header_298736’, 20 ); function add_column_content_298736( $column_name, $post_id ) { if ( $column_name … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)