Abuja Digital Studio · Est. 2018
Start a Project
DocsOCodeInsertGetting started
Getting Started

Getting started

OCodeInsertorravo.com/docs/ocodeinsert/getting-started

Create your first snippet

  1. Open Orravo Core -> OCodeInsert
  2. Click + New Snippet
  3. Title it (for example, "Google Analytics 4")
  4. Pick the Type: HTML, JavaScript, or CSS
  5. Pick the Location: Site Head, Before Content, After Content, or Footer
  6. Paste your code into the CodeMirror editor
  7. Flip Activate this snippet on
  8. Save Snippet

The snippet appears in the chosen location on every page that matches your targeting rules.

Snippet types

TypeLabelAuto-wrap
htmlHTMLNone - raw output
jsJavaScriptWraps in <script>...</script> unless already present
cssCSSWraps in <style>...</style> unless already present

Type drives syntax highlighting and the auto-wrap logic. It does not change where the snippet fires; that is Location.

Injection locations

Location keyWordPress hookNotes
headwp_head (priority 1)Analytics, tracking, preconnect
before_contentthe_content filterSingular templates only
after_contentthe_content filterSingular templates only
footerwp_footer (priority 1)Chat widgets, deferred scripts

If the theme bypasses the_content, OCodeInsert ships a JS fallback via wp_footer that injects into the article body.

Getting started · OCodeInsert Docs | Orravo