• Resolved garrydufresne

    (@garrydufresne)


    I just installed the plugin a few hours ago. Worked great for a snippet I needed to add to the <head> section

    Now I’d like to add another bit of code to the <body> or content. Trouble is that I don’t have that option. The choices for “Location” only shows “Header” and “Footer”

    The WP plugin page says I can add to “Top of content” & “Bottom of content” but I am not findign that option.

    I want to add it site wide, not a specific page.

    What am I missing? Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author 99robots

    (@99robots)

    Hi @garrydufresne – If you choose sitewide, then there is no “top of content” or “bottom of content” because most of the site’s pages do not have the WP hook/function for the_content. Only single posts / pages and single posts of custom post types would have a the_content hook for the plugin to actually identify and place the snippet. Otherwise, it would fail on almost all of your site’s pages as most themes do not have this function on non-single posts/pages. Therefore, this is expected.

    Hope that makes sense.

    Thank you.

    Thread Starter garrydufresne

    (@garrydufresne)

    Makes perfect sense and thanks for the quick response.

    I opened up the Settings and it was exactly as you say above.

    Plugin Author 99robots

    (@99robots)

    No worries @garrydufresne! Let us know if you have any other questions. I’m closing this ticket and marked it as resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No “add to content” option’ is closed to new replies.