Woody code snippets – Insert Header Footer Code, AdSense Ads

Woody code snippets – Insert Header Footer Code, AdSense Ads

Wordpress plugin

Install on Wordpress

App Details

Need professional support?

Get starting FREE support
Get starting PREMIUM support

  • Stop re-using the same content over and over again!
  • Stop inserting PHP code to function.php!
  • Stop adding google analytics, yandex metrics and external code to header and footer php files!
  • Stop wasting time on changing 100 pages with repeated content!

Woody Code Snippets will make your life so much easier. The plugin helps to create and store code snippets or duplicated text in a special library at the admin bar of your website. Use the shortcode to add a snippet anywhere on your website. Or do it automatically, for example: head, footer and post injections. You can show or hide code snippets using conditional logic.

Why do you need this plugin?

  • Insert Headers and Footers
  • Insert Google AdSense Ads, Amazon Native Shopping Contextual Ads, Yandex Direct Ads, Media.net on your website.
  • Insert Google Analytic Tracking code, Yandex Metrika Tracking Code, Yandex Counter to Header, Footer.
  • Insert PHP Code Snippets and execute on your website. Register PHP functions, classes, global variables everywhere.
  • Insert Social media widgets, add any external resources widgets.
  • Insert Facebook Pixels, Facebook Scripts, Facebook og:image Tag, Google Conversion Pixels, Vk Pixels.
  • Show or hide code snippets based on conditional logic.
  • You can save templates of posts or page builders, quotes, and galleries to re-use them on your website.
  • Roll back changes with Code Revisions (Premium)
  • Cloud storage for snippets (Premium)
  • Synchronize snippets between your sites using the cloud (Coming soon)
  • Ready-made snippets in our cloud that will help you solve some of your cases (Premium)

Need premium features?

Get Premium version

How It Works?

Example #1

You create a new javascript snippet and add a code you’d like to place on a website. Html snippet editor provides you with tooltips and highlights errors in syntax. Now you need to define where to put a code. For example, you can place the code in header, footer of all pages. This works great for Google Analytics. Create an additional condition: do not show this code to the administrator. It will prevent from tracking user role.

Example #2

You create a text snippet and add a repeated text or a template. You can add a shortcode for the contact form, in case it’s universal for all website pages. Now you can add conditions to show this content to registered users only. Save the text snippet and go to editing pages. If you use the Gutenberg editor, you need to select a special unit. For the classic editor, click the icon of our plugin and add a shortcode of your new snippet.
As you can see, working with snippets is super easy!

All Plugin Features:

  • Header footer code manager
  • User-friendly code editor with syntax highlighter.
  • Create rich text ads using a classic WordPress editor TinyMCE.
  • Use shortcodes to place a snippet anywhere on a website.
  • Use a special unit to add a snippet in Gutenberg Editor.
  • You can send content and additional attributes to a snippet using a shortcode or a special unit (Gutenberg Editor).
  • Place post snippets automatically on all pages.
  • Run PHP code everywhere or for a certain shortcode.
  • Use JavaScript, CSS, and HTML code to create code snippets.
  • The Unlimited number of code snippets.
  • Use shortcodes of other plugins.
  • Show or hide code snippets based on conditional logic.
  • Export/Import of code snippets.

Where Can You Place a Snippet Automatically?

All website:

Insert Headers and Footers on all pages:

  • Insert Header — code snippet is added to the source code in header before the </head> tag.
  • Insert Footer — code snippet is added to the source code in footer before the </body> tag.

Insert to Posts, pages, custom posts:

  • Insert ads Before Post — post snippets is added to the source code before the </head> tag.
  • Insert ads Before Content — page snippets is added before the post/page content.
  • Insert ads Before Paragraph — post snippets is added before a certain paragraph. A paragraph number is listed in the Location number field.
  • Insert ads After Paragraph — post snippets is added after a certain paragraph. A paragraph number is listed in the Location number field.
  • Insert ads After Content — page snippets is added after the post/page content.
  • Insert ads After Post — post snippets is added after the post/page.

Insert to Categories, archives, tags, taxonomy:

  • Insert AdSense Before Excerpt — snippet is added before the post/page preview.
  • Insert AdSense After Excerpt — snippet is added after the post/page preview.
  • Insert AdSense Between Posts — snippet is added between posts.
  • Insert AdSense Before post — snippet is added before a certain post. A post number is listed in the Location number field.
  • Insert AdSense After post — snippet is added after a certain post. A post number is listed in the Location number field.

Insert to Woocommerce pages: (Premium)

  • Before the list of products — Snippet will be placed before the list of products.
  • After the list of products — Snippet will be placed after the list of products.
  • Before a single product — Snippet will be placed before a single product
  • After a single product — Snippet will be placed after a single product
  • Before a single product summary — Snippet will be placed before a single product summary
  • After a single product summary — Snippet will be placed after a single product summary
  • After a product title — Snippet will be placed after a product title
  • After a product price — Snippet will be placed after a product price
  • After a product excerpt — Snippet will be placed after a product excerpt

  • Insert AdSense After post — snippet is added after a certain post. A post number is listed in the Location number field.

What Are Conditional Logic Options to Show a Snippet?

User:
– Role
– Registration Date
– Cookie Name
– Current Page
– Current Referrer
Location:
– Post Type
– Taxonomy page
– Taxonomy of the page
– Page
Technology (Premium):
– AddBlocker
– Browser
– Use cookie
– Use JavaScript
– Operation system
– Device type
Auditory (Premium):
– User country (Use Webnet77 or MaxMind geo ip base)
– Viewing depth
– Attendance by time of day
– Total number of visits

Recommended our plugins

NEED SUPPORT, WE GOT YOU COVERED

We provide free support for this plugin. If you are pushed with a problem, just create a new ticket. We will definitely help you!

  1. Get starting free support
  2. Documentation

We are very need for your help with translating Woody Code Snippets plugin into your native language. We want to make it international and understandable for everyone. Please contact us via email inside the plugin, or create a topic on our support forum if you can help with the translations. In exchange for your help, we will give you better support and our premium plugins absolutely free!

Setting options

  • Keep the HTML entities, don’t convert to its character – If you want to use an HTML entity in your code (for example > or “), but the editor keeps on changing them to its equivalent character (> and ” for the previous example), then you might want to enable this option.
  • Execute shortcodes in snippets – Execute shortcodes in the snippet code before executing the snippet.
  • Complete Uninstall – When the plugin is deleted from the Plugins menu, also delete all snippets and plugin settings.
  • Support old shortcodes [insert_php] – If you used our plugin from version 1.3.0, then you could use the old shortcodes [insert_php][/insert_php]; from version 2.2.0 we disabled this type of shortcodes by default, as their use is not safe. If you still want to execute your php code via [insert_php][/insert_php] shortcodes, you can enable this option.

Code Editor

  • Code style – The optional feature. You can customize the code style in the snippet editor. The “Default” style is applied by default.
  • Indent With Tabs – The optional feature. Whether, when indenting, the first N*tabSize spaces should be replaced by N tabs. The default is false.
  • Tab Size – The optional feature. Pressing Tab in the code editor increases left indent to N spaces. N is a number pre-defined by you.
  • Indent Unit – The optional feature. The indent for code lines (units). Example: select a snippet, press Tab. The left indent in the selected code increases to N spaces. N is a number pre-defined by you.
  • Wrap Lines – The optional feature. If ON, the editor will wrap long lines. Otherwise, it will create a horizontal scroll.
  • Line Numbers – The optional feature. If ON, all lines in the editor will be numbered.
  • Auto Close Brackets – The optional feature. If ON, the editor will automatically close opened quotes or brackets. Sometimes, it speeds up coding.
  • Highlight Selection Matches – The optional feature. If ON, it searches for matches for the selected variable/function name. Highlight matches with green. Improves readability.

Geolocation

IP geolocation database (Webnet77 or MaxMind) – Select IP geolocation database

Use this plugin with care!

ATTENTION! Check your php scripts before inserting on your site. If you don’t understand how the php script you are using works, try to avoid using it. Using unverified or outdated php scripts can damage the security of your site! Using the plugin on multisites can be dangerous as it will allow all administrators to insert php, js code. If you cannot control the work of administrators, we recommend that you do not use this plugin for security reasons. We are constantly working to improve the security of the plugin, but unfortunately we cannot check the code scripts you use that may violate the security of your site!

History, Developers, Credits

If you are a long-term user, you may be confused about the new plugin update. You’ve been using an old plugin – Insert php 1.3.0, and now got an extended product – Woody Code Snippets. Insert php was the first plugin version to work with PHP code. It was created by Will Bontrager Software, LLC. In 2018, the Webcraftic studio started to actively develop the plugin. We’ve created a roadmap and released several powerful updates that help you to use PHP code more comfortable and secure. Now plugin supports not only PHP but other snippet types as well. We’ve decided to rename the plugin as Woody Code Snippets. This name is more suitable for new and powerful plugin features.

More information about the Insert PHP plugin can be found here:
http://www.willmaster.com/software/WPplugins/go/iphphome_iphplugin

Pricing

Starting from $0 per month.

Check Out the Real Estate Listings Widget

By Common Ninja

Real Estate ListingsTry For Free!

App Info

Rating

Reviewers

206 reviews

Tags

adsense
code-snippets
header
shortcode
woocommerce

Developed By

WillBontrager

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Forms

Forms plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Comments

Comments plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Maps

Maps plugins for Wordpress

Security

Security plugins for Wordpress

Translation

Translation plugins for Wordpress

Ads

Ads plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Chat

Chat plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Membership

Membership plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Contact

Contact plugins for Wordpress

Comments

Comments plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Common Ninja Apps

Some of the best Common Ninja plugins for Wordpress

Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Real Estate Listings for Wordpress logo

Real Estate Listings

Create real estate listings with a listings widget that displays properties clearly, supports customization, and helps visitors explore homes more easily.

Accessibility for Wordpress logo

Accessibility

Make Your Website More Inclusive and Accessible

Charts & Graphs for Wordpress logo

Charts & Graphs

Add charts and graphs to your site to present data clearly, help visitors understand insights faster, and support more confident decision making.

Restaurant Menu Flip Cards for Wordpress logo

Restaurant Menu Flip Cards

Present dishes with restaurant menu flip cards that highlight key details, help visitors explore options easily, and support confident ordering decisions.

Info List for Wordpress logo

Info List

An Info List presents key details in a clear, structured format to improve user experience and support conversions.

Company Branch Flip Cards for Wordpress logo

Company Branch Flip Cards

Display locations with company branch flip cards that help customers find nearby offices, understand key details, and enjoy a smoother overall experience.

HIPAA Compliance Forms for Wordpress logo

HIPAA Compliance Forms

Create secure HIPAA compliant forms that protect sensitive data, offer full customization, and integrate easily for safe medical information collection.

Mega Footer for Wordpress logo

Mega Footer

Create a mega footer that organizes navigation links, contact info, logos, social icons and improves usability and site structure.

TikTok Slider for Wordpress logo

TikTok Slider

Show TikTok videos with a TikTok slider that displays clips in an engaging, customizable slideshow to boost visibility and keep visitors watching.

Virtual Tour for Wordpress logo

Virtual Tour

Create immersive 360 virtual tours with interactive hotspots that let visitors explore spaces, view details clearly, and experience panoramic environments seamlessly.

Before & After Slider for Wordpress logo

Before & After Slider

Add an interactive before and after slider to your site to show visual transformations, capture attention, and help visitors understand real results.

Music Player for Wordpress logo

Music Player

Add a no-code music player to your site to stream audio, share playlists, and support multiple formats with easy setup.

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms