Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Latest update returns 404 for all pages #9014
    alasdairc
    Participant

    Tried it now, has fixed the problem. Thanks Steve.

    in reply to: Latest update returns 404 for all pages #9013
    alasdairc
    Participant

    Ah – and because I used the built-in status ‘Public’ I made ALL public posts / pages etc hidden?

    That makes sense, I’ll try this out tomorrow.

    in reply to: Latest update returns 404 for all pages #9011
    alasdairc
    Participant

    My post type:

     $post_types['resource'] = [
                'labels' => piklist('post_type_labels', 'Resource'),
                'public' => true,
                'description' => 'Resources for download.',
                'supports' => array( 'title', 'thumbnail' ),
                'status' => array(
                    'hidden' => array( 'label' => 'Hidden' ),
                    'publish' => array( 'label' => 'Published' ),
                ),
                'taxonomies' => array( 'category', 'post_tag' ),
                'publicly_queryable' => false,
                'show_in_menu' => true,
                'query_var' => true,
                'capability_type' => 'post',
                'has_archive' => true,
                'rewrite' => [ 'slug' => 'resources', 'with_front' => false ],
                'hierarchical' => false,
                'show_ui' => true,
                'menu_icon' => 'dashicons-media-document',
                'menu_position' => 21,
                'hide_meta_box' => [
                    'submitdiv',
                    'author',
                    'wpseo_meta',
                    'customsidebars',
                ],
            ];
    in reply to: Latest update returns 404 for all pages #9010
    alasdairc
    Participant

    Yes – has that been deprecated?

    in reply to: Latest update returns 404 for all pages #9008
    alasdairc
    Participant

    I’ve tried a bunch of things – restarting PHP-fpm, setting permalinks to default, disabling opcache.

    in reply to: Documentation #8662
    alasdairc
    Participant

    Thanks Steve,

    That’s funny! Sorry to ruin the surprise, google was indexing the pages though so I doubt it’d have stayed hidden for long..

    Will definitely try and help improve the docs where I can.

Viewing 6 posts - 1 through 6 (of 6 total)