- 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.
- SOA用戶指南
- 重新定義Spring Cloud實戰(zhàn)
- Wireshark網(wǎng)絡(luò)分析就這么簡單
- 大話社交網(wǎng)絡(luò)
- 計算機網(wǎng)絡(luò)原理與應(yīng)用技術(shù)
- Windows Server 2012 Hyper-V虛擬化管理實踐
- 網(wǎng)管工具使用與技巧大全
- 網(wǎng)管第一課:網(wǎng)絡(luò)操作系統(tǒng)與配置管理
- 大型企業(yè)微服務(wù)架構(gòu)實踐與運營
- 一本書讀懂TCP/IP
- 物聯(lián)網(wǎng)基礎(chǔ)及應(yīng)用
- 精通SEO:100%網(wǎng)站流量提升密碼
- 移動互聯(lián)網(wǎng)環(huán)境下的核心網(wǎng)剖析及演進
- SEO攻略:搜索引擎優(yōu)化策略與實戰(zhàn)案例詳解
- Cisco無線局域網(wǎng)配置基礎(chǔ)