Support » Plugin: Advanced Post List » How to output php in "List Content" box

  • Resolved jamesteng1

    (@jamesteng1)


    Hello all,

    I wanted to display php codes inside the “List Content.”

    When I clicked on the “style content info” help box, it says:
    “List Content – This where you design how your posts are going to display in the post list. In here you can use HTML, CSS, PHP (requires the PHP shortcode)”

    What’s the PHP shortcode? I just wanna display php code, not function like the [php_function name=”function_name” param=””] shortcode.
    For example, if I wanted to use <?php echo “Hello World”?>, what short code do I need to use first in order to implement it?

    Thanks in advance

    https://wordpress.org/plugins/advanced-post-list/

Viewing 1 replies (of 1 total)
  • Plugin Author EkoJR

    (@ekojr)

    Yea, you need to add a php funtion to wp_config file, and then call the function name.

Viewing 1 replies (of 1 total)
  • The topic ‘How to output php in "List Content" box’ is closed to new replies.