This members-only tutorial provides the steps to insert an Oxygen Reusable Template after the specified paragraph position (like after the 1st para) on singular Pages and/or Posts.

This method can be used to add ads like Google Adsense or for other promotional purposes.

Step 1

At Oxygen > Templates, create a new reusable part.

Add a Div having your desired content.

Ensure that styling is set for classes and not attached to the elements' IDs.

[Optional] Below is 1-click Hydrogen codes from my demo site (shown in the earlier screenshot) that can be pasted in your Oxygen site using Hydrogen Pack or Hydrogen Paste.

eyJzb3VyY2UiOiJodHRwczovL294eWdlbi5sb2NhbCIsImNvbXBvbmVudCI6W3siaWQiOjE1LCJuYW1lIjoiY3RfZGl2X2Jsb2NrIiwib3B0aW9ucyI6eyJjdF9pZCI6MTUsImN0X3BhcmVudCI6MCwic2VsZWN0b3IiOiJkaXZfYmxvY2stMTUtMzMzIiwib3JpZ2luYWwiOnt9LCJjbGFzc2VzIjpbImN0YS1iYW5uZXIiXSwiYWN0aXZlc2VsZWN0b3IiOiJjdGEtYmFubmVyIn0sImRlcHRoIjoxLCJjaGlsZHJlbiI6W3siaWQiOjE2LCJuYW1lIjoiY3RfaW1hZ2UiLCJvcHRpb25zIjp7ImN0X2lkIjoxNiwiY3RfcGFyZW50IjoxNSwic2VsZWN0b3IiOiJpbWFnZS0xNi0zMzMiLCJvcmlnaW5hbCI6eyJpbWFnZV90eXBlIjoiMiIsImF0dGFjaG1lbnRfaWQiOjE3OSwiYXR0YWNobWVudF9oZWlnaHQiOjg1MywiYXR0YWNobWVudF93aWR0aCI6MTI4MCwiYXR0YWNobWVudF91cmwiOiJodHRwczovL294eWdlbi5sb2NhbC93cC1jb250ZW50L3VwbG9hZHMvMjAyMS8wMy9tZWRpY2luZS1tYXNrLWNvcm9uYXZpcnVzLWRvY3Rvci01MTAzMDQzLmpwZyIsImFsdCI6Ik1lZGljaW5lIE1hc2sgQ29yb25hdmlydXMgRG9jdG9yICAtIG5hc3R5YV9nZXBwIC8gUGl4YWJheSIsImF0dGFjaG1lbnRfc2l6ZSI6ImZ1bGwifSwiYWN0aXZlc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IiJ9XSwiZ3JpZC1jb2x1bW5zLWF1dG8tZml0IjoiZmFsc2UiLCJjdXN0b20tY3NzIjoiZGlzcGxheTogZ3JpZDtcbmdyaWQtdGVtcGxhdGUtY29sdW1uczogYXV0byAxZnI7XG5nYXA6IDQwcHg7IiwicGFkZGluZy10b3AiOiIzMCIsInBhZGRpbmctYm90dG9tIjoiMzAiLCJib3JkZXItdG9wLWNvbG9yIjoiIzk5OSIsImJvcmRlci10b3Atd2lkdGgiOiIxIiwiYm9yZGVyLXRvcC1zdHlsZSI6ImRhc2hlZCIsImJvcmRlci1ib3R0b20tY29sb3IiOiIjOTk5IiwiYm9yZGVyLWJvdHRvbS13aWR0aCI6IjEiLCJib3JkZXItYm90dG9tLXN0eWxlIjoiZGFzaGVkIiwibWFyZ2luLXRvcCI6IjMwIiwibWFyZ2luLWJvdHRvbSI6IjMwIiwiYmFja2dyb3VuZC1jb2xvciI6IiNmYWZhZmEiLCJwYWRkaW5nLWxlZnQiOiIzMCIsInBhZGRpbmctcmlnaHQiOiIzMCJ9fSwibXktaW1hZ2UiOnsia2V5IjoibXktaW1hZ2UiLCJvcmlnaW5hbCI6eyJ3aWR0aCI6IjQwMCJ9fSwibXktaGVhZGxpbmUiOnsia2V5IjoibXktaGVhZGxpbmUiLCJvcmlnaW5hbCI6eyJ0YWciOiJoMiIsImZvbnQtc2l6ZSI6IjMwIiwiZm9udC13ZWlnaHQiOiI2MDAifX0sIm15LXBhcmEiOnsia2V5IjoibXktcGFyYSIsIm9yaWdpbmFsIjp7Im1hcmdpbi10b3AiOiIxMCJ9fSwibXktYnV0dG9uIjp7ImtleSI6Im15LWJ1dHRvbiIsIm9yaWdpbmFsIjp7Im1hcmdpbi10b3AiOiIyMCIsInRleHQtdHJhbnNmb3JtIjoidXBwZXJjYXNlIiwibGV0dGVyLXNwYWNpbmciOiIxIn19fSwiY29sb3JzIjp7fX0=

Step 2

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: Add Oxygen Template after nth paragraph on single Posts and static Pages

Code:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $399 one-time).

Already a member? Log in below or here.

Need help implementing a tutorial in your site or want to hire me for custom work?

HIRE ME

Find the article helpful and wish to donate?

DONATE

Comments

You need to be logged in to view and post comments.
Not a member yet? Join here.
magnifiercross
>
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: