Forums

[Plugin: Exec-PHP] Make same PHP appear in every post (4 posts)

  1. benjiw
    Member
    Posted 2 months ago #

    Is there a way to enter PHP using Exec-PHP that will show up in every single post?

    Thanks for this awesome plug-in.

    http://wordpress.org/extend/plugins/exec-php/

  2. mercime
    Member
    Posted 2 months ago #

    enter PHP using Exec-PHP that will show up in every single post?

    The Exec-PHP plugin will only place the PHP code per instance that you place the code via Admin Panel for Posts/Pages/text-Widgets. If it's a different PHP code for respective single posts, then this would be the route.
    Otherwise, the easier and simplest method would be to just add the PHP code in your single.php

  3. benjiw
    Member
    Posted 2 months ago #

    Right, but then the problem (with putting it into single.php) is that the content generated by the PHP (that I would put in ExecPHP) doesn't go out via the RSS feeds--it only appears on the article. which is where I need it... is there a workaround for that?

  4. benjiw
    Member
    Posted 2 months ago #

    bump?

Reply

You must log in to post.

About this Topic

Tags