Support » Plugin: Head, Footer and Post Injections » Stefano, nobody understands the ‘marker’ option of your plugin, please explain!

  • Resolved rpielanen

    (@rpielanen)


    Hi Stefano,

    I’ve been looking for answers in this forum, on your plugin page and via google. But nobody understands how to use the markers in your INNER POST INJECTION 1,2,3 functionality.

    It seems like a really great functionality, but people cannot use it because there is no documentation on it.

    You say that it should be a string of characters in the code. But I have tried that and it doens’t work. For example if I add <footer class=”article-footer”> (which is in the single post code, and only once) as a marker. The injection does not take place. I have tried many different pieces of code from my single post code, but nothing sticks. Not html tags, not css classes or id’s.

    Can you please explain in more detail how to use this functionality, for people who are not developers. It would help me, and a lot of other people greatly.

    Thanks for your feedback, and for your great plugin.

    Robert

    • This topic was modified 3 years, 6 months ago by rpielanen.
Viewing 1 replies (of 1 total)
  • Its easy enough. A marker can just be a HTML comment output to the page that indicates where the HTML will be injected, eg

    <!-- My Marker -->

    The HTML you want added will then be inserted alongside the comment.

    Typically this will require adding the HTML comment by editing the PHP code on your theme or child theme – there is no ‘magic button’ to do this. Depending on how you are using it, it requires basic php knowledge, or if you are using WordPress HTML editor you could use that to insert comments inside pages or blog posts.

Viewing 1 replies (of 1 total)
  • The topic ‘Stefano, nobody understands the ‘marker’ option of your plugin, please explain!’ is closed to new replies.