Title: Problem with Automatic Embedding
Last modified: September 1, 2016

---

# Problem with Automatic Embedding

 *  Resolved [michaca](https://wordpress.org/support/users/michaca/)
 * (@michaca)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/problem-with-automatic-embedding/)
 * Hello,
    I have problem with Automatic Embedding. It doesn’t work for me at all
   probably because my site is built on custom post types and ACF groups. The standard
   WP post->content is not used (e.g. the_content() method is not invoked). So, 
   inserting before/after content never triggers.
 * I’m interested in option:
    “Allow using predefined Ad Object HTML tags (before
   and after codes)” but I have no idea what are “before and after codes”. Where
   can I find/define them? Will they trigger even when standard WP content is not
   used as described above? Regards, Michal
 * [https://wordpress.org/plugins/sam-pro-free/](https://wordpress.org/plugins/sam-pro-free/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [minimus](https://wordpress.org/support/users/minimus/)
 * (@minimus)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/problem-with-automatic-embedding/#post-7506592)
 * These are just wrapping tags for ad.
 *  Thread Starter [michaca](https://wordpress.org/support/users/michaca/)
 * (@michaca)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/problem-with-automatic-embedding/#post-7506679)
 * How they (may) look like?
 *  Plugin Author [minimus](https://wordpress.org/support/users/minimus/)
 * (@minimus)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/problem-with-automatic-embedding/#post-7506685)
 * Before code: `<div style="text-align:center">`
    After code: `</div>`

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem with Automatic Embedding’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sam-pro-free_a48db3.svg)
 * [SAM Pro (Free Edition)](https://wordpress.org/plugins/sam-pro-free/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sam-pro-free/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sam-pro-free/)
 * [Active Topics](https://wordpress.org/support/plugin/sam-pro-free/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sam-pro-free/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sam-pro-free/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [minimus](https://wordpress.org/support/users/minimus/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/problem-with-automatic-embedding/#post-7506685)
 * Status: resolved