Forums

[resolved] cant put php tags on posts or pages only on sidebar (5 posts)

  1. elbarto09
    Member
    Posted 2 years ago #

    if I put for example this code to enable a funtion of a plugin

  2. Events <?php ec3_get_events(5); ?>
  3. it dosent work... on a post or a page, the php only works on the sidebar.

    This happens with all the plugins i try.

    any ideas of what is happening?

  • Mark / t31os
    Moderator
    Posted 2 years ago #

    You can't type PHP directly into posts or pages, if a plugin says to add that code, it most likely means your theme template file, not an actual post or page you're creating..

  • rolandbaker
    Member
    Posted 2 years ago #

    Based on what I've read, I'm pretty sure it's browser related. I can add TAGS, but unable to assign them to any POST, I only get "No Tags Found!" even though they've been added.

    I've tried the latest versions of Firefox, Safari and Opera on the Mac, and have the same results. Anyone able to help us out?

  • MichaelH
    Volunteer
    Posted 2 years ago #

    Don't you need a PHP code plugin to execute code in a post/page?

    Oops, see t31os_ has the answer.

  • elbarto09
    Member
    Posted 2 years ago #

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.