This shouldn’t be very difficult.
WPs Template Hierarchy should get you started on what page loads every time.
You’ll probably be best maintaining minimal header.php and footer.php and working your logic on single files, named as per the Hierarchy.
Then, head to add_meta_box() and update_post_meta() to implement those selectors for css and js and also any switches to toggle.
Then, it’s about the best use you can make of the Conditional Tags to dinamically find out which content you’re loading and fetch the right files for it.
Related Posts:
- Using classes instead of global functions in functions.php
- How to remove search bar from a wordpress theme? [closed]
- Front End Post Submit Form
- Upgrading a custom theme through the Dashboard
- Theme Customizer not loading
- Version control for both Vagrant config and themes being developed [closed]
- How to correctly add JQuery in a WP theme?
- How to add a second stylesheet to the editor
- WP 3.1 upgrade breaks AutoFocus+ theme
- How to make theme elements customizable in wordpress?
- Limitations when modifying wp_title with a filter
- How to edit theme functions file to modify pagination?
- Customizer: save setting/control content to post/page
- Customize how a WordPress theme looks like in the Theme Selector
- Customizer – loading settings/controls/sections/panels based on a id/page id
- Integrate WooCommerce theme with a WordPress theme [closed]
- Widget Option is Missing
- How do you use WordPress for a website that’s not in a blog format?
- searchform.php doesn’t work properly
- Customizer: get_preview_url() inside customize_save_after hook
- New to WordPress – Read the Codex, Other Docs; Still Confused
- Create theme for mobile phones and tablets only?
- How to add custom page elements to the WYSIWYG editor?
- Can’t change theme name
- Is hand coding required at all?
- WordPress Twenty-Fourteen: How to Remove Home Page Header Image from Other Pages
- How to dowload and edit content of a website
- hide/show a div in wordpress
- Any way to permanently translate themes?
- How to prevent XSS attack in wordpress theme?
- Best strategy for providing theme options using customizer
- How Does One Create a Global Variable Repository
- How to convert that page to a wordpress template? [closed]
- Turning WordPress Into full-featured website?
- Sizing screenshot.png without losing aspect ratio
- How To Add New Option Types To Option Tree?
- Page template in two level deep folder
- Automatic Updates For Private And Commercial Themes?
- What can I hook into after_setup_theme?
- add_image_size is scaling, even though crop is set to true
- Should we localize custom-made themes / plugins?
- How can I remove the Static Front Page option from the Customizer
- How can i customize the comment list
- How to handle theme customization and sass variables
- wp_enqueue_scripts not called on search page?
- Should I update my _s theme?
- Setting a Default ‘Theme Location’ When Creating a Menu
- How to set page template on front using starter content?
- Different Admin Theme – Based on Role?
- Finding Page Template and Displaying Content
- Override Constants in Child theme
- What is the best way to handle multiple calls to get_template_directory_uri() and similar functions?
- how to change a theme slug
- Same theme name issue with wordpress repository theme
- Removing feeds from header using a function?
- How to add code in the content area in a WordPress theme?
- How to add theme support?
- How to reorganize the items returned by wp_list_comments()?
- Translation Issue with WordPress Theme Check in comment_form function
- WordPress theme switcher
- WP_bootstrap_Navwalker_issue [closed]
- Font Awesome 5 Free – far working but fas is not? [closed]
- Q: How to pull data from custom table to populate zustomizer setting/control select options
- correct tags for validating input types
- Renaming a theme so it aids SEO and the theme used is hidden
- WordPress 3.8 Backend Admin Color Scheme add more scheme how to do?
- How to change the theme directory uri for localhost?
- Will my site get messed up when the wordpress theme updates if I edited the html code in the editor to change footer?
- How to correctly enqueue the parent and child theme stylesheets in the creation of a child theme? [duplicate]
- featured content: which area does this cover [closed]
- Which cache is kicking
- Shortcodes do not work in own template
- Adding Bootstrap to WordPress TwentySixteen Theme
- Is there a way to switch to another theme?
- Right procedure when you develop a WP Website for a client
- When trying to set title, not sure how to edit it for different pages
- Get video from the post on homepage
- static front page ONLY for certain themes?
- How to add cropped custom header image?
- WordPress Themes Directory: Template which hits the standards?
- How to custom category template based on category?
- How to change a local wordpress installation xml export file urls? and change them to what if you don’t have a live website?
- Any way to change/add to the theme name dynamically?
- How to make menus, footer, sidebars multi language
- Different WP Rest API custom endpoints across different themes
- Why the output of an image gallery plugin is not displayed into a page of my custom theme?
- How to create multiple pages in a client theme?
- Using Customizer value in an external PHP file inside a theme
- Import from HubSpot COS into WordPress 4?
- WordPress 3.5 + Foundation 5 not working on IE9
- Work on theme files on a server & browser preview before installing it
- Theme automatically inserting “more” tag on every post
- How get the 10 most viewed pages (not post)
- Using wp_enqueue_script with social media buttons?
- Permalinks problem with custom theme
- How to create full header but keep content narrow
- Correct way to make a custom block theme responsive
- How to make a multilingual wordpress site to be translated one-to-one without much effort and without using translate?
- Is there a way to have WordPress autodetect page templates in the page-templates directory and any sub-folders?
- My wordpress site memory exhausted more than 1GB trying to debug with default