Forums

[resolved] Can php code be executed in 2.7.1? (4 posts)

  1. c3ptik
    Member
    Posted 3 years ago #

    I have tried every php-running plugin/widget available and not one seems to display the output code in 2.7.1.
    Even if i hardcode the php code into anywhere on any php file included in wordpress, still nothing. What's happening?!

  2. c3ptik
    Member
    Posted 3 years ago #

    Strange thing is i can run an iframe module with the php script running inside but thats no good to me as i need the links in that php file going to a new page.

  3. c3ptik
    Member
    Posted 3 years ago #

    PLEASE PLEASE PLEASE can somebody help me with this...

    The file i have is called recent_posts.php
    I know it works because i created a blank php file and popped the script below in and it displayed what i wanted...

    <?php include('recent_posts.php'); ?>

    BUT, and it s big but, no matter where i put this script in wordpress (hardcoding everywhere) nothing shows at all.

    Im pretty much begging someone to help me with this. Ideally i'd like it in my sidebar but just getting it showing in wp is a start. If i wanted to hardcode it in the sidebar where would i put this line exactly and is anything else needed to go anywhere?

    Im using wordpress 2.7.1 and the theme is pixeled.
    URL is here

  4. c3ptik
    Member
    Posted 3 years ago #

    Never mind, resolved.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.