Rename portfolio-archive.php to front-page.php and change the post type for that page with a filter on pre_get_posts:
add_filter( 'pre_get_posts', 'wpse_99860_portfolio_on_front' );
function wpse_99860_portfolio_on_front( $query )
{
// not the main loop
if ( ! $query->is_main_query() )
return $query;
// not the front page
if ( ! $query->is_front_page() )
return $query;
$query->set( 'post_type', array ( 'portfolio' ) );
return $query;
}
Related Posts:
- Custom Post Type Archives by Year & Month?
- Get custom post type slug for an archive page
- Custom post type pagination 404 fix?
- How to remove “Archive:” label from archive title
- Why are posts from custom post type not displayed in “category” archive?
- Custom Post Type Archives by Date and Taxonomy
- Custom post types – Use post_id in permalink structure when using has_archive => true
- How do I display two separate taxonomy archives for two post types that share a single taxonomy?
- Custom Post Type Archives by Date with Custom Permalink
- How to add meta box to backend menu page
- Change title in head on Archive page
- Display Editable Text Above CPT Archive Listings
- Multiple Paginations on one Page
- Page is defaulting to archive page and not designated template
- Custom Permalinks for Custom post Type Archives?
- is_singular won’t call my functions?
- Pages, Custom Posts & Custom Taxonomy defining slug structure
- How to show a tag archive of one post type only
- Regex problem in an add_rewrite_rule
- paginate function in archive for custom-post-type
- Custom taxonomy archive page not working
- Change plugin’s has_archive = true to false?
- wrong template for page of archive
- How to show multiple post types on taxonomy archive?
- How to create archive page for taxonomy terms within custom post type
- get_categories for custom post type and filter by custom taxonomy (brand) and list child categories of a defined category
- Category and post tag archives do not include posts from custom post type
- Slug for standard post post_type
- WordPress custom post type archive with description
- CPT: archive-cpt.php VS custom page template
- Get post type from taxonomy or category page
- Category page only displaying the posts from a custom type
- How to list custom post types?
- custom taxonomy archive by year
- Display custom post type taxonomies as an archive page
- Display CPT description on archive.php pages for all CPT
- Change name of custom post type archive
- When ‘is_post_type_archive()’ return true?
- Editable content on a Custom Archive page
- Second Custom Post Type Archive
- CPT Archive with core Category
- Custom Post Type Archive Page Filtering
- get the custom post type title/name
- Get archive post type name
- Tag Archive for Custom-Post-Type Posts yielding 404 when permalinks set to postname
- URL of a custom post type’s post format archive?
- Filtering WP_Query
- Create template for taxonomy results limited by Custom Post Type
- Custom post type – get_day_link()
- WordPress showing archive.php instead page
- How do I check if the user is on a taxonomy term parent, child or grandchild page?
- Custom post type / taxonomy rewrite archive page 2 gives 404
- Is it better to use filter for the_content in archive pages?
- how to remove pages loading with the archive templates
- Archieve.php not loading for custom post type
- Custom Post type & Taxonomy 404
- Set a hard-coded page-template (post-type-archive) as home/front-page of my wordpress blog?
- Dynamically insert an article at the top of a taxonomy archive – or?
- Archiving custom post content?
- How to rewrite custom taxonomy term archive to use THE SAME SLUG/front as CPT
- Archive Page for Multiple Custom Post Types
- Can’t access private custom posttype single- or archives-page
- Get the link of the first post of a custom taxonomy in a custom taxonomy list
- How can I relate custom post types?
- Archive page for custom post type and custom taxonomy
- Why does my URL keep returning 404 error code?
- How to have multiple archive pages?
- Create a Custom Path to Archive
- Advanced archive url structure (category, tag and date)
- Listing authors and date archive from custom post type
- WordPress sitemap with Custom Post Types
- Display all Categories except ones with a specific parent
- Archive per year of a custom post getting the wrong post
- Creating archive like functionality through birectional relationships
- Custom Post Type Archive Page showing as 404
- How to show custom post count in archive page
- Do not show child pages within a file page
- Archive for custom taxonomy
- Custom post type categories giving 404
- Adding Custom Post Types to category/tag/author archives breaks header content
- Custom category taxonomy – archive page not showing up
- How can i remove post type archive URL?
- Custom post type URL structure with site.com/custom_taxonomy_slug/post_name
- Custom taxonomy archive slug overwrites static page
- Want to display my custom date archive to date.php but dont know how
- How can I generate a list of post-type specific categories?
- date archive future posts
- Keep same archive.php for post from archive?
- archive.php can’t find categorized posts
- archive-{custom_post_type}.php not getting recognized wordpress
- How to display custom post types AND regular posts separately on a shared taxonomy archive?
- How can I set up the URL for a category archive for a custom post type?
- ‘Blog Archive’ suddenly appeared on custom post type; how to remove
- Is it possible to remove the word “date” from archives?
- Taxonomy Query of Custom Post Displays Archive Instead of Posts
- Generate daily archive whenever any post type is added
- Stop header code from showing in category page?
- Show custom category archive as front page and remove taxonomy slug from urls
- Custom Post Type posts not getting picked up in archive widgets
- How do I get an intermediary page between 2 custom post types?