WordPress is pasted into the WeChat official account editor, how to make the article typesetting style not wrong?

WordPressPaste it into the WeChat official account editor, how to make the article typesetting style not wrong?

Because some companiesnew mediaIt is an official website built with WordPress to do WeChatPublic account promotion, but when copying a WordPress article and pasting it into the WeChat official account editor, the code of the two editors will be incompatible, resulting in problems such as article paragraphs and style confusion...

For example: Originally, in the WordPress editor, you used p to use br tags to make empty lines. If you copy it directly to the WeChat official account editor, there will be no empty lines. You need to press the Enter key to add empty lines. OK, if the article is very long and there are many blank lines, it is very time-consuming and laborious. What should I do?

installationMarkdown herePlugin

Stop automatic removal of p and br tags

First, you must first have your WordPress editor stop automatically stripping p and br tags.

  1. WordPress enables the tinymce-advanced plugin.
  2. Paragraph tags must be preserved to stop the WordPress editor from stripping p and br tags:In the tinymce-advanced plugin settings, check the "Advanced Options" → "Keep paragraph tags" option.

Copy the WP article and paste it into the WeChat public account

Please make sure WordPress has enabled the tinymce-advanced plugin and set to retain paragraph tags before proceeding with the following process.

  1. Switch the WordPress editor to the "text" code state.
  2. Copy the html code of the article.
  3. Open the online editor wangEditor:http://www.wangeditor.com/
  4. Click the wangEditor "Insert Code" button.
  5. Paste the html code of the article into wangEditor.
  6. Click "Insert" to insert the html code.
  7. Press the shortcut key Shift + Alt + M one-key Markdown.
  8. In wangEditor, copy the Markdown article.
  9. Paste it into the WeChat official account editor.
  10. Click the "Save" button of the WeChat Official Account.

useChen WeiliangThis method of sharing, after copying the WordPress article and pasting it into the WeChat official account editor, it only takes a few tens of seconds to quickly realize "the WeChat official account retains the WordPress article typesetting style", which can be used like thisWechat marketingA writing tool, isn't it cool?​Haha ^_^

Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) shared "WordPress Paste to WeChat Official Account Editor, How to Make the Article Typesetting Style Correct? , to help you.

Welcome to share the link of this article:https://www.chenweiliang.com/cwl-479.html

Welcome to the Telegram channel of Chen Weiliang's blog to get the latest updates!

🔔 Be the first to get the valuable "ChatGPT Content Marketing AI Tool Usage Guide" in the channel top directory! 🌟
📚 This guide contains huge value, 🌟This is a rare opportunity, don’t miss it! ⏰⌛💨
Share and like if you like!
Your sharing and likes are our continuous motivation!

 

Comment

Your email address will not be published. Required fields * Callout

scroll to top