Support » Fixing WordPress » add text or script under every post

  • Resolved wvasko

    (@wvasko)


    I can see some old plug-in but its not updated for years. Should I search for some widget or it can be placed in single.php

Viewing 4 replies - 1 through 4 (of 4 total)
  • csloisel

    (@csloisel)

    I see no problem with modifying the single.php this is exactly what templates are for. If you want to do it programmatically you can add a the_content filter to your functions.php file. You definitely don’t need a plugin.

    wvasko

    (@wvasko)

    found one code, putted in functions.php and when I press update there was some error and also site is down.
    there is no way that I can access the site.
    Long night for me…

    wvasko

    (@wvasko)

    That functions.php is very spooky. Finally after many hours I’ve turned it back to normal.

    martcol

    (@hotmale)

    This is a nice tutorial aimed at beginners, for using hooks:

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘add text or script under every post’ is closed to new replies.