最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

templates - front-page.php includes a placeholder text field. How to get rid of it?

matteradmin8PV0评论

I have used front-page.php as a custom template for my site's home page. The page includes a page editor field even though I have coded the template entirely to use ACF Pro custom fields. The editor is also set to be not shown in ACF settings.

The unwanted wysiwyg editor has this text included by default: Use this static Page to test the Theme's handling of the Front Page template file.This is the Front Page content. Use this static Page to test the Front Page output of the Theme. The Theme should properly handle both Blog Posts Index as Front Page and static Page as Front Page.If the site is set to display the Blog Posts Index as the Front Page, then this text should not be visible. If the site is set to display a static Page as the Front Page, then this text may or may not be visible. If the Theme does not include a front-page.php template file, then this text should appear on the Front Page when set to display a static Page. If the Theme does include a front-page.php template file, then this text may or may not appear.

How and where do I get rid of this?

Post a comment

comment list (0)

  1. No comments so far