- WordPress 5 Complete
- Karol Król
- 222字
- 2021-07-02 12:36:51
Using the block-based editor versus the code editor
As we've discussed, WordPress comes with a new block-based editor that's meant to make creating web pages easier for most users, even if they have no prior experience with website management. However, if you are comfortable with coding and HTML, you might want to take a peek into the code editor that's available in WordPress as well. This can be particularly useful if you want to add special content or styling that's not otherwise possible to achieve using the block-based editor.
To switch from the visual editor to the code editor, click on the three dots that are in the top-right corner of the screen when editing a post, and then click on Code Editor. Refer to the following screenshot:

You'll see the post you're currently editing in all its raw HTML glory. Just to give you an example, here's what one of the initial posts created for this book looks like when viewed in the Code Editor:

Although this panel lets you do whatever you wish, you also need to be careful not to break the HTML structure of the document. For this reason, it's perhaps not a good idea to get into these sorts of modifications until you get a basic understanding of how an HTML document is structured.
- 黑客攻防實(shí)戰(zhàn)技術(shù)完全手冊:掃描、嗅探、入侵與防御
- Cisco OSPF命令與配置手冊
- SSL VPN : Understanding, evaluating and planning secure, web/based remote access
- CCNP TSHOOT(642-832)認(rèn)證考試指南
- Microsoft Dynamics CRM 2011 Applications(MB2-868) Certification Guide
- TD-LTE無線網(wǎng)絡(luò)規(guī)劃與設(shè)計(jì)
- 4G小基站系統(tǒng)原理、組網(wǎng)及應(yīng)用
- 人人都該都懂的互聯(lián)網(wǎng)思維
- 無線傳感器網(wǎng)絡(luò)定位技術(shù)
- 一本書讀懂TCP/IP
- 園區(qū)網(wǎng)絡(luò)架構(gòu)與技術(shù)
- 物聯(lián)網(wǎng)基礎(chǔ)及應(yīng)用
- 圖神經(jīng)網(wǎng)絡(luò)前沿
- 現(xiàn)場綜合化網(wǎng)絡(luò)運(yùn)營與維護(hù):運(yùn)營商數(shù)字化轉(zhuǎn)型技術(shù)與實(shí)踐
- 新IP:面向泛在全場景的未來數(shù)據(jù)網(wǎng)絡(luò)