[Resolved] Adding php code above content

Home Forums Support Adding php code above content

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1168597
    Nikolay Stoyanov

    Hi,
    I’m using plugin to display last few post above content.

    I’m trying to do with elements -> hook…

    When I type text is display on correct place, but when I add php code of plugin it is not display.

    Example of the php shortcode is here:
    <?php echo do_shortcode(“[pt_view id=cb80eb576n]”); ?>

    Please help.

    #1168601
    Nikolay Stoyanov

    I manage… straight after when I add post… I just forgot to check the Execute Shortcodes
    Execute PHP.

    Thanks anyway

    #1168623
    Leo
    Staff
    Customer Support

    Glad you’ve figured out 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.