You should have a separe custom template for custom page layout. The first one which is not broken is a post type while the other one is a page type which has different layouts. Create a custom page template with a layout like the single.php and use it in the page you are creating.
To create a custom page template, please refer to this wordpress doc : https://developer.wordpress.org/themes/template-files-section/page-template-files/
Related Posts:
- One button to change all settings in theme customizer?
- Need help setting default setting value for radio button in theme customizer
- Is having multiple theme customizers for different pages possible?
- Is it possible to get a theme customizer setting from wp.customize using jquery?
- How to get the registered sidebar’s name by its id?
- Set the transport of the Customizer ‘header_image’ core setting to ‘postMessage’
- Dynamically change feature image in customiser
- The best way to customize “nav-menu-template.php” to add if the ‘link_before’ is “checkbox”
- How to get custom image size for image uploaded in Customizer
- Passing array in add_option()
- Can’t load WP function into external function
- Set WordPress Default Template
- Customizer: active_callback and sanitize_callback incompatibility?
- Compare the old get_theme_mod($name) to the new get_theme_mod($name) return value
- Skt full width basic slideshow problem
- How do I link a button I created in theme customizer to a function?
- Is the “_s” on this `sprintf(__(‘Page %s’, ‘_s’), max($paged, $page))` just refer to a text domain?
- WordPress Customizer Default Image
- get_template_directory adding FTP root folders in urls
- How can I assign separate stylesheets to different pages?
- Need advice on theme customizer and child themes
- How to make sure relative URL works when site is not on root domain?
- Getting text from custom field from customizer
- Dynamically switch file in get_template_directory_uri() | Function [closed]
- Uncaught TypeError: extract(): Argument #1 ($array) must be of type array, null given
- require get_template_directory() . ‘path/to-my/file.php’ BREAKS customize > themes functionality
- Menu to the right of screen on desktop using Bootstrap 4
- Use Custiomizer to setup meta theme color tag
- How to add button to top of theme customizer?
- How to store the_post_thumbnail() value in a variable
- Function to return true if current page has child pages
- Proper use of Output Buffer
- List of all theme customizer control types?
- How to export/import theme customizer settings?
- function_exists call in function.php
- Debugging an error: wp_enqueue_style was called incorrectly
- Hide a menu-item and its submenus and display a ‘Log in’ link if the user is logged out
- Dynamically loaded Theme components based on Customizer Settings values : changes not appearing in Customizer preview – (Workaround found)
- Understanding WordPress child theme custom JS loading
- Remove css styles from specific page
- Use different javascript files for each page on website
- Widgets not showing in my custom theme
- How do I list the_tags() into HTML data-attribute
- How the functions in WP are called in tags
- What is the fastest way to load PHP functions that are only used in one theme template?
- My Own layout in WooCommerce pages [closed]
- Differences when using the the_time and the_date functions
- Add a Second Menu to a theme that only support 1 menu
- Trigger popup in a php if/else statement
- How do I get current page ID in WordPress customizer file?
- Customizer: Output default value in Customizer CSS
- WordPress does not load page.php, return 404.php
- Create another “Display Site Title and Tagline” checkbox, “Header Text Color” setting and control
- Converting HTML Template to WordPress Theme
- WordPress add post format support not working
- How to remove the cufon script from Dzonia Lite theme [closed]
- Return a numerical function value in Customizer controls
- Populate editor with some content of a page with a page template
- Catchable fatal error: Object of class stdClass could not be converted to string after WP 4.7
- Trying to retrieve post meta
- WordPress admin-ajax.php
- Use .php file as page instead of wordpress page & template file?
- How to obtain the current website URL in my theme?
- What exactly do this function declared into functions.php file of a WP theme?
- Reason to add a name of the theme like (‘menu-1’ => __( ‘Primary’, ‘twentynineteen’ ),) in PHP?
- How to check if a Customizer setting is set?
- Separation of presentation and code – WordPress
- How to call multiple functions from multiple files into a WordPress page template [closed]
- What is the best way to define constant options for a theme?
- Warning: printf(): Too few arguments in helpers.php file
- How to make function appear in sentence?
- blank white page when post/update/change option etc
- How to Update an old theme for the latest wordpress version
- get_comments_number() returns 0
- get_page_templates only return templates with “home” in the filename
- Is there a hack for using is_page() within the function.php file?
- Use SCSSPHP to compile Theme Customizer Values into .SCSS files ready to compile to CSS
- Show different website layout if no sidebar added
- Why in this WordPress theme I can’t see the Main Menu?
- Displaying Slider in Front Page (home) using Customizr Theme
- call a string/function from database
- Some problems calling a function into sprintf() inside functions.php template file [closed]
- When I click for the redirect link it is showing the content of index.php instead of single_assignment_page.php
- remove_action from parent theme using child theme functions.php
- How to use data URL in WordPress?
- How can I prevent a shortcode div from extending beyond its boundaries?
- Unable to retrieve get_author_posts_url
- WordPress child theme, creating a custom php template page
- Customizer: How to Sanitize a Decimal Number Range
- Theme editing “post thumbnail” help
- How to add Open/Close Toggle button into Twenty Fifteen theme for hiding left sidebar?
- Using get_theme_mod with checkbox to display content
- Calling PHP function doesn’t work in index.php
- Extend the WP_Customize_Image_Control class to change its non-frame $button_labels
- WordPress get_post_meta issue
- Adding php within a return statement [closed]
- Load slideshow.css file only if Slideshow is checked / on
- Predefine Magazine Style Layouts
- How can I fix my pagination?
- a problem in class in class-wp-hook.php