How to use PHP Script or HTML Script in WordPress?
Many people want to use PHP Script or HTML Script in
WordPress, but don’t know how to do it. Using the Script is much easier in
WordPress. With just a short-code you can use PHP Script or HTML Script in
WordPress. How to do it, is given below.
v Go to the
WordPress dashboard.
v Click on the
plugins and press add new.
v Search and
install the ‘INSERT PHP CODE SNIPPET’ and Click on activate.
v Now, click on XYZ
PHP Code.
v Click on “ADD
NEW PHP CODE SNIPPET”.
v Now give the
name of the code. Example :- new; and paste your PHP code and press the create
button.
v Copy that
snippet Shortcode. Look like. [xyz-ips snippet="new"]
v Paste this code
anywhere you want. I pasted inside the post, then published.
v Published that post or page.
v See results.
Now you see
it will work like charm.
If you still have any questions you can ask in the comment box.
No comments:
Post a Comment