• Hi,
    The PHP codes between [insert_php] is showing in tag pages. How can i fix it to avoid showing php codes?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WillBontrager

    (@willbontrager)

    Sorry, but it’s kinda hard to suggest how to fix something when there is insufficient information.

    Have a look at the
    https://www.willmaster.com/software/WPplugins/insert-php-wordpress-plugin-instructions.php
    page and see if any of those points might apply.

    Of course, the plugin must be activated, so verify that.

    If still no joy, paste the complete code that you are using, including the insert_php tags, into a reply at this forum. Also, let me know if it is only the codes between [insert_php] that is showing or is the [insert_php] itself also showing?

    Will

    Thread Starter mammut3d

    (@mammut3d)

    Hi,
    Your plugin is working fine. Thank you for that. But we have problem in Tag pages. Content of the codes are showing. You can see it in below link to find out what is my purpose:
    LINK

    • This reply was modified 6 years, 1 month ago by mammut3d.
    Plugin Author WillBontrager

    (@willbontrager)

    WordPress is inserting <br /> tags and <p> tags into your PHP code.

    That generally happens when the PHP code between the insert_php tags is entered at the post or page edit box with the Visual tab. It needs to be entered with the Text tab.

    I see it is not happening on the regular post or pages, so probably that isn’t the problem. I just mention it for something to check.

    Insert PHP is for posts and pages. I don’t know why it isn’t working on Tag pages. I suspect WordPress handles those differently than it does individual posts or pages.

    I wish I could help you. I’m sorry I can’t. But I don’t know enough about WordPress to suggest a work-around. If you find a work-around, please post it here to share it with others.

    Will

    Acceptto

    (@acceptto)

    Hi,

    I used the insert PHP plugin for calling outside API to show the price list. the problem that I have is the plugin remove the Number+$ character in the price list.

    How can I fix this issue?

    thanks

    Plugin Author WillBontrager

    (@willbontrager)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Showing codes in tag pages’ is closed to new replies.