• ohdiesel

    (@ohdiesel)


    Hello,

    Does anyone knoe of a plugin of a work-a-around that allows me to include PHP code into the middle of posts? Something like “related posts” in the middle of a single post would be what I’m looking for ..

    Thanks!!

Viewing 11 replies - 1 through 11 (of 11 total)
  • adamt07

    (@adamt07)

    Thread Starter ohdiesel

    (@ohdiesel)

    Hello,

    Thanks for repolying,

    BUT will that do it automatically for me?

    adamt07

    (@adamt07)

    related posts? no. that allows you execute php in a post. are you wanting something that will automatically show related posts?

    Thread Starter ohdiesel

    (@ohdiesel)

    No, I mean, will it automaticlaly put things into middle or anywhere in the post as I choose with my own PHP code?

    Thread Starter ohdiesel

    (@ohdiesel)

    Basically I am looking for something with the same functionality of Whydoworkadsense where it allows you to choose where to place ads on the fly.

    IF Whydowork had the option to include PHP I would do it in a heart beat

    adamt07

    (@adamt07)

    if you know how to write the code to accomplish what you are wanting to do, then try that plugin. i think you may have to switch to the html view, but you can place you <?php ?> tags anywhere you want within the post/page and it will execute it. i’m not 100% clear on what you’re wanting to be done automatically…

    Thread Starter ohdiesel

    (@ohdiesel)

    Hello,

    IN whydoworkadsense plugin you put in a code peice that is auto inserted into each post. I set mine into the middle.

    That is what I want to do — insert a php code piece into middle of each post and the output comes out like “related posts” and lists the related posts.

    Thanks!!

    adamt07

    (@adamt07)

    ohhh…ok i get what you’re asking now. i don’t know of a plugin off the top of my head that will do that. one way you could do it is writing it into the template, but then you would only have the option of placing it before the content or after. did you absolutely want it in the middle?

    Thread Starter ohdiesel

    (@ohdiesel)

    Yes, I want it in the middle. I find it hard to beleive there are no plugins to do this .. ??

    D

    adamt07

    (@adamt07)

    i didn’t say there wasn’t one, just that i don’t know of one off the top of my head.

    Thread Starter ohdiesel

    (@ohdiesel)

    Anyone have any ideas ??g

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Adding PHP Code in middle of post’ is closed to new replies.