帮助中心 帮助中心
  • Home
    • Creative HelpdeskProvides support for creative problem-solving and issues.
    • Cool Knowledge baseComprehensive and user-friendly information repository.
    • Focused HelpdeskAssists with specific task or problem, efficient and effective.
    • Classic HelpdeskTraditional customer support, resolves technical & basic issues.
    • Book Chapters / TutorialsStep-by-step guides for learning and mastering a topic.
    • User ManualsInstructional documentation for product/service use and operation.
    • Light Knowledge baseEssential information, easy to access, easy to understand.
    • Support ForumOnline community for customer help and problem-solving.
    • Multi HelpdeskMultiple channels of support and problem resolution.
    • LMS (Individual Demo)Preview of a Learning Management System’s visual design.
  • Documentation
    • Doc Archives
      • Two Columns
      • Three Column
      • Four Column
      • Single Docs
    • OnePage Docs
      • Classic OnePage Doc
      • Fullscreen OnePage Doc
    • 旅游
      • Tabs Widget
      • Table Widget
      • Notice / Message Widget
      • Accordions Widget
      • Cheatsheet Widget
      • Image Hotspots Widget
    • 景区
      • Changelogs Timeline
      • Video Widget
      • Keyboard Shortcuts
      • Password Protected (Demo)
      • Tooltip & Direction
      • List Items Style
    • Code
      • Dark Theme
      • Default Theme
      • Funky Theme
      • Okaidia Theme
      • Twilight Theme
    • 财务
      • Single Comun
      • Two Columns
      • Three Columns
      • Four Columns
  • Pages
    • Search Results
    • Banner with Video
    • Style
      • Style Guide
      • Style Guide with TOC
    • Changelogs with Changeloger
      • Changelogs with Sidebar
      • Changelogs without Sidebar
      • Changelogs with Left Sidebar
    • Login & Sign Up
      • Login (Elementor)
      • Sign up
      • Sign in
    • Testimonials
    • FAQs
    • 404 Error
  • Blog
    • Blog Page
      • List Layout
      • Grid Layout
    • Single Details
      • Colorful Banner
      • Banner Image
      • TOC Sidebar Layout
      • Video Banner
    • Categories
    • Category Archive
    • Tag Archive
  • Forum
    • Forums
    • User Profile
      • Profile
      • Topics Started
      • Replies Created
      • Engagements
      • Favorites
    • Topic Details
    • Ask Question
  • Shop
    • Shop Products
    • Cart
    • Checkout
    • My account
Get Started
帮助中心 帮助中心
Get Started
帮助中心 帮助中心
  • Home
    • Creative HelpdeskProvides support for creative problem-solving and issues.
    • Cool Knowledge baseComprehensive and user-friendly information repository.
    • Focused HelpdeskAssists with specific task or problem, efficient and effective.
    • Classic HelpdeskTraditional customer support, resolves technical & basic issues.
    • Book Chapters / TutorialsStep-by-step guides for learning and mastering a topic.
    • User ManualsInstructional documentation for product/service use and operation.
    • Light Knowledge baseEssential information, easy to access, easy to understand.
    • Support ForumOnline community for customer help and problem-solving.
    • Multi HelpdeskMultiple channels of support and problem resolution.
    • LMS (Individual Demo)Preview of a Learning Management System’s visual design.
  • Documentation
    • Doc Archives
      • Two Columns
      • Three Column
      • Four Column
      • Single Docs
    • OnePage Docs
      • Classic OnePage Doc
      • Fullscreen OnePage Doc
    • 旅游
      • Tabs Widget
      • Table Widget
      • Notice / Message Widget
      • Accordions Widget
      • Cheatsheet Widget
      • Image Hotspots Widget
    • 景区
      • Changelogs Timeline
      • Video Widget
      • Keyboard Shortcuts
      • Password Protected (Demo)
      • Tooltip & Direction
      • List Items Style
    • Code
      • Dark Theme
      • Default Theme
      • Funky Theme
      • Okaidia Theme
      • Twilight Theme
    • 财务
      • Single Comun
      • Two Columns
      • Three Columns
      • Four Columns
  • Pages
    • Search Results
    • Banner with Video
    • Style
      • Style Guide
      • Style Guide with TOC
    • Changelogs with Changeloger
      • Changelogs with Sidebar
      • Changelogs without Sidebar
      • Changelogs with Left Sidebar
    • Login & Sign Up
      • Login (Elementor)
      • Sign up
      • Sign in
    • Testimonials
    • FAQs
    • 404 Error
  • Blog
    • Blog Page
      • List Layout
      • Grid Layout
    • Single Details
      • Colorful Banner
      • Banner Image
      • TOC Sidebar Layout
      • Video Banner
    • Categories
    • Category Archive
    • Tag Archive
  • Forum
    • Forums
    • User Profile
      • Profile
      • Topics Started
      • Replies Created
      • Engagements
      • Favorites
    • Topic Details
    • Ask Question
  • Shop
    • Shop Products
    • Cart
    • Checkout
    • My account
loading

Sample User Guide

  • Folder icon closed Folder open iconGetting Started
    • Theme Installation
    • Demo Import
    • Required Plugins
    • System Requirements
  • Folder icon closed Folder open iconHow to (FAQs)
    • Updating Your Theme
    • How to set site’s favicon
    • Menu Not Appearing
    • How to Paginate a Post ?
    • How to apply custom CSS code.
  • Folder icon closed Folder open iconSample Guide
    • Optimize Images
    • Language Translations
    • Sample doc title issues
    • Example Title Doc
  • Folder icon closed Folder open iconTheme Settings
    • Header Settings
    • Theme updating issue
    • Footer Settings
    • Page Building
  • Folder icon closed Folder open iconSome common issues
    • Voluptatibus massa tempor
    • Sample doc title
    • Doc title example
    • How to customize the theme.
  • Folder icon closed Folder open iconDoc Section
    • This is a doc title
    • Example doc title
    • Title doc
    • Example doc of docly
  • Folder icon closed Folder open iconEmpty Section

How to customize the theme.

Estimated reading: 2 minutes 453 views

OVERRIDING PARENT THEME FILES

You can not only target individual style declarations via the style sheet but also override entire components of the parent theme.

For every theme file present in the parent directory, WordPress will check whether a corresponding file is present in the child theme and if so, use that one instead. This means that a header.php file in the child theme will override its equivalent in the parent folder.

So, if you don’t like something about a page’s layout, just copy the respective file, implement your changes, and upload it to the child theme’s folder. The modifications will then appear in the child theme, while the original file will remain untouched.

WORKING WITH TEMPLATE FILES

We’ve learned that we can overwrite any file in the parent theme by placing a copy in the child theme’s folder and customizing it. However, using files that exist only in the child theme is also possible. Template files are a good example of this.

Let’s say we want to build a full-width page template for our child theme. Our theme does not lend itself to the full-screen presentation, but let’s do it anyway for demonstration purposes, shall we?

To create a full-width page in Chaoz you have to create a custom page template. Let’s start with the page template.

For our custom page template, we simply copy page.php from the parent theme, rename it to page-full-width.php and place it in the Child theme’s root folder.

目录

Powered by  JTDDATA

金跳动 &汉嵩为河南金跳动数据技术有限公司的注册商标。
河南省郑州市中原区桐柏北路107号院2号楼1-5层
Copyright © 2020-2025 河南金跳动数据技术有限公司 版权所有
金跳动™软件相关服务主体:河南金跳动数据技术有限公司 | 汉嵩科技(河南)有限公司