• Running 2.6.2 and have everything set up, the demo template works, but when I make a copy of my single post template and try to insert <?php profilactic(); ?> I always corrupt the template (I imagine I corrupt it since I can’t select it as a template later on). Where do I insert the code?

    Cheers,
    Jared

Viewing 3 replies - 1 through 3 (of 3 total)
  • Here’s part of the instructions from the readme.txt for that plugin.

    5. To show your lifestream on a page (like [My Lifestream](http://opindian.com/blog/lifestream/)):
    * Copy <?php profilactic(); ?> or <?php prof_wtfmo(); ?> into a template file (sample file, profilactic.tpl.php, included in the plugin directory)
    * *Save the template file to /wp-content/themes/your theme/*
    * Create a new page (*Write -> Page*) and use the profilactic template (under the *Page Options*, scroll down to *Page Template* and select Profilactic).
    6. To show your lifestream or wtfmo in the sidebar, add the appropriate Profilactic widget from *Design -> Widgets*.

    Thread Starter jared46

    (@jared46)

    I know how to read 😉
    I tried the sample template, but it corrupts the background I have. I’m trying to insert the code into a copy of my default template.

    @michaelh thanks for helping out.

    @jared46 You’d be surprised how many people overlook the instructions! Can you share your lifestream URL so I can see what’s going on?

    Also, if you’d rather email me the template you’d like to fit this information into, I can try to suggest where to place the code.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Don’t know where to insert the profilactic code’ is closed to new replies.