here’s how I would set things up, not necessarily the correct / best / only way.
- create a home page, blog page, about page, contact page, etc.. as individual pages.
- create a custom post type for my portfolio items.
- use posts as the blog posts.
- set static front page to my home page, blog page as the posts page.
- create a front-page.php template, this will load whatever content I have in home by default.
- use get_page and wp_query to load all of my pages and portfolio items into the template.
- use a caching plugin to make it all nice and speedy
Related Posts:
- What is the preferred way to add custom javascript files to the site?
- How to add posts to custom menus?
- How to remove search bar from a wordpress theme? [closed]
- Should I use set_transient or update_option?
- Custom Taxonomy Tree view
- Best practice way to implement custom sections into a WordPress theme
- How to customize wordpress login/register pages?
- Add a preview to a WordPress Control Panel
- Change text of twentyseventeen_edit_link()
- How Does One Change The Meta-Description Of Home-Page?
- Set front page as static page [closed]
- How to programmatically bring back “excerpts” field in post editor in WP 3.1+
- How to set dimensions of the post thumbnails (featured images)
- Fatal error: Call to undefined function get_header()
- Add a theme via symlink
- Alterntives to BEM syntax that comply with WordPress coding standards? [closed]
- Theme Customizer – Choose where widget area appears, to let users organise widgets
- How to determine which registered sidebar area a custom widget is loaded into
- Adding default pagination to wordpress loop
- Translation-readiness of Koi theme
- Recommended tools for Theme Development with SASS [closed]
- How to add font in wordpress
- What tags should be used for themes to show the type of layout?
- enqueue_style is not working
- Integrating Html5Boilerplate’s Builder into a WP Theme
- Including wp-blog-header.php from functions.php remote call?
- Administration Pages Styling
- What are non-printable characters doing in my theme?
- Theme settings keep getting reset/erased
- Custom button block doesn’t work
- How can i convert the figma design into wordpress [closed]
- A custom theme with support for multiple layouts
- How to call WooCommerce update cart function programatically
- WordPress Local Install Theme Folder Permission To Edit
- Lightweight framework [closed]
- Display div only on the HOMEPAGE
- WordPress is adding margins and padding to my custom menu?
- What is the best way to organize template parts?
- Keep sticky posts out of query unless they have featured image
- What VSCode extensions are there for working with block themes? [closed]
- What is the “correct” way to add hooks or similar PHP behavior to a blocktheme?
- Following Web Performance Optimization techniques to output static and dynamic css
- How to control on which pages the Aldehyde theme’s main slider is shown?
- Echo all category names, apart from one
- Is it possible to visually group items on the theme customizer?
- Internal Stylesheet in WordPress Theme development
- How to support letting users add their OWN logo to a custom theme?
- WordPress stylesheet isn’t being added
- Is there a way to optionally hide the title bar when logged in?
- Does code in function.php differ from theme to theme
- How can I optimize this code? [closed]
- How to Create custom xml file for demo content for custom theme?
- post_exists returning 0 if title contain special characters
- Theme not showing up
- Issue on Getting Custom post type Thumbnail’s URL
- Forms won’t submit
- How do I provide for multiple crops of the same image in a theme?
- Why WordPress AJAX returns undefined however it works fine when I add static url instead of dynamic function?
- Adding a new setting using Kirki or WP customizer with an if statement
- Twenty Seventeen Pages Loop
- How to add pages in wordpress using codes?
- How does the loop know which post to view?
- How to remove permalinks links presents in each page of my site?
- Is there a way to serve different resolution images to different devices?
- How to substitute old wordpress menu by wp 3 menu the right way?
- Why my theme option not working?
- How to use multiple check-box values to work in a function and insert values in database
- How to make a function occurs for one time?
- How to know if I am on 1st page
- Catch the moment when theme is deleted
- How to create a robust and logic class naming system in WordPress theme developing?
- How to enable admin to upload multiple images to support header carousel slider theme in WordPress?
- create loop for the_content()
- how to change footer content for certain pages only
- function ‘theme_settings_page’ not found
- Should I use template files or just use conditional tags in index.php?
- Is there a way to create sections under “Colors” panel in the Theme Customizer?
- Need help with adding custom wordpress menu and sub-menu
- get currently showed author ID in theme functions.php
- WordPress Custom font not found
- How to load mediaelement.js in theme template?
- How can I include the js and css file of my custom theme dynamically in header.php
- WordPress Blog Page displaying nothing
- Full width thumbnail
- Customizer API way function is_customize_preview() works only in main page?
- using theme check plugin to remove waring and errors from my theme
- paragraph format in WYSIWYG on a custom theme?
- unable to display the image meta value as background
- editor style css and page template with and without sidebar
- Suppress the_content filter in a nested loop
- Set start page depending on screen width [closed]
- How can I change the title of the Home link in the navigation bar?
- The normal loop with different styles doesn’t work in search.php
- URL conflict with a ‘Single Page Layout’
- loading custom.js file after jquery is loaded
- How to determine if it is legal to remove credit link from theme?
- Add option for administrator to submit link
- Display recent posts on front page
- How to create sub-menu in “Allure Real Estate Theme for Placester”?
- Meaning of “if ( is_home() && ! is_front_page() )” snippet?