简体   繁体   中英

How to insert 2 php files to code snippet?

I found the following site https://funnelpress.com/elementor-post-not-found-content/

It has two codes but I want two insert them in the 'code snippets' plugin in wordpress. Can somebody help me how to insert them?

Thanks

Code Snippets is an easy method to run PHP code into your WordPress site. There is no hassle managing PHP code. any time active code & deactivate code there.

Now we learn how to insert code into WordPress via the code snippets plugin. We can follow some steps to do the task. So, let's start.

  1. At first log in to your WordPress website and install the Code Snippets plugin and Active it. 在此处输入图像描述

  2. Find Snippets Menu and click Add New. After Clicking shows a page like a screenshot. 在此处输入图像描述

  3. Provide a snippet title and paste code into the code section. 项目清单

  4. After Paste code then select where your code run. I think nothing changed here. Default select Run snippet everywhere.

  5. We can set code priority, description & tags. We can note down about code in the description & set tag. Tags are separated by a comma(,).

    项目清单

  6. After finishing all steps then click Save Changes and Active button.

    项目清单

  7. After clicking the button then show a message Snippet added and actived.

    项目清单

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM