• Resolved chandana1

    (@chandana1)


    hi there,
    I have installed the plugin and look forward to getting it working.
    I am using it for a PHP snippet, and am finding that it isn’t quite working.
    This how my Post Snippets looks like
    I tested the same method in local it displays the output which is HTML tags.

    And i have also added the shortcode on the page [add-tags]
    I don’t know what is wrong

    Any help would be appreciated.

    • This topic was modified 3 years, 3 months ago by chandana1.
    • This topic was modified 3 years, 3 months ago by chandana1.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • A.Tariq

    (@arsalantariq)

    Hi @chandana1,

    Thank you for contacting us, You are having this issue because of the directory. We have added a PHP file in the theme’s core files theme/file and required it in the post snippet using the get_template_directory() function.

    1- Please check the PHP snippet code: screenshot
    2- PHP File code: screenshot
    3- Output on the WordPress Page: screenshot

    Let us know if you have any questions.

    Thanks

    Thread Starter chandana1

    (@chandana1)

    problem solved.
    Thank you so much.

    • This reply was modified 3 years, 3 months ago by chandana1.
    A.Tariq

    (@arsalantariq)

    Hi @chandana1.

    We would love it if you could provide us with an honest review.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘php code not displaying on the page’ is closed to new replies.