Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author David Cramer

    (@desertsnowman)

    Hi there,

    you don’t need to add the <?php and ?> in the php editor

    Thread Starter janbrokes

    (@janbrokes)

    thanks for reply. Could you please show me some basic php comand which show post title? I am trying echo get_the_title(); and other but nothing is diplaying at post where I put shorecode

    Plugin Author David Cramer

    (@desertsnowman)

    hmm no idea.
    maybe try:

    global $post;
    
    echo $post->post_title;

    Thread Starter janbrokes

    (@janbrokes)

    Hi David, its not working too. Could you please send me some php comand which is working?. I will use it as an exmaple.
    Thanky

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP error’ is closed to new replies.