Knowledge Base > Content Modules > HTML Feed > Word Press and Woody Ad Snippets Plug In

Word Press and Woody Ad Snippets Plug In

At one point, Word Press no longer has the Insert PHP plugin.  We have had several clients use the "Woody ad snippets" plug in instead.  Here is how it works.  We will get Is Your Child Sick working, then you can apply the same to all categories.

Create a page in Word Press for your Is Your Child Sick Articles

Go to Pages > Add New.  Name your page Is Your Child Sick.


You can leave the content blank for now.  You can "Save Draft" or "Publish".  Not the name of the page.  By default, it should be "/is-your-child-sick".  Copy this to your clipboard.
 

Generate PHP Article Code

Next login to the RemedyConnect CMSDesk.  This link will be given to you by RemedyConnect staff.  From there go to Launch My Site > Setup Options  > HTML Feed.




On the HTML Feed page, paste your page name next to Is Your Child Sick, and click Record Page Names button at the bottom.


Next click "Article(s) Body" to the right.


This will popup some PHP code.  Copy all this to your clipboard.



 

Install Woody ad snippets (PHP snippets | Insert PHP)

Go to the Plugins section of the Word Press admin.  Click "Add New", then search the plugins for "Woody". Activate this plugin.

Create your first Code Snippet

There should now be Woody Snippets item added to your Admin navigation.  Click + Add Snippet.


Then select PHP snippet > Create Item.



Title the snippet, "Is Your Child Sick" and paste the generated PHP code.  You will have to remove the PHP tags at the beggining and end. (<?php ?>)  Then Publish.



Go back to the Snippets list.  Copy the Snippet ID.  In this case [wbcr_php_snippet id="2852"]


 

Reference the Code Snippet on the Page

Now go back to Pages in the Word Press Admin.  Edit your Is Your Child Sick page.  Important: Use the Classic Editor and Text Editor.  

Preview Your Page

The page will initially be a drop down.  When you select from the drop down menu and click Go, you will see the article.  You can apply your own stylesheet.


You can use this exact same code snippet for your drop down on the home page.

Some of our styles are:

.pwdropdown{}
.pwsubmit{}
#standardbart{}
table.bartcols{}
table.bartcols .col1{}
table.bartcols .col2{}
table.bartcols .col3{}


 





Ready to try something new?

 
back to top