Consider more markups as "paragraphs"

Hi there, at the moment, the ads will be injected based on paragraphs.

Can the plugin made to consider other similar elements as paragraphs as well?

Obvious examples are: ol, ul
Less obvious examples that are worth considering: blockquote, small

Thanks. :slight_smile:

  • flashmech
    • The Incredible Code Injector

    A definite +1 for me.

    Reason is I write tutorials often, and these involve steps, which I always use ol for. If ads are not shown between ol, but only at p, then the entire long content will only have an ad I imagine? Thanks! :slight_smile:

  • Vladislav
    • Dead Eye Dev

    Hi,

    In the latest version (v1.2, just released), we have added a bit more control over what can be counted as markup element. In plugin settings, you may want to look for the "Advanced" section, "Elements selector" setting. You can change that setting to a selector that better suits your theme. It will accept any valid CSS selector and count the elements that match this selector instead.

    You could, for an example, use "ol,ul,p", or "ol,ul,blockquote,p" - or even add in some classes and count only elements with them, for an example: "p.myclass"

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.