Sign in

Automatically show ads within the post?

  • This topic has 3 replies, 2 voices, and was last updated 3 years, 8 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2338
    Avatar photo[anonymous]

    Hi there,

    How could I automatically show adsense ads within content?

    for example in the middle of the article, or after the second paragraph, or before the third subtitle, or after an image, etc …

    I imported from wp a site with many articles and I don’t want to be putting the code article by article …

    Thank you

    #2342
    Avatar photoBob
    -index- wrote:

    I imported from wp a site with many articles and I don’t want to be putting the code article by article

    There is no other way.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #2347
    Avatar photo[anonymous]

    They should include some form in the future, imagine having to modify hundreds or thousands of articles to place or change a code is totally unfeasible.

    For a website with few articles, there is no problem, but the problem is on large websites.

    In blogger it can be done and it is pure html too … maybe something like this can be adapted to publlii?

    https://www.techprevue.com/insert-ads-post-content-blogger/

    #2350
    Avatar photoBob

    In truth, you can write a helper that supports something like shortcode, but it requires some technical knowledge.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.