WordPress.org

Forums

PHP Code for posts
[resolved] styles snippet in php snippet not working (2 posts)

  1. michael
    Member
    Posted 1 year ago #

    i use styles with short codes and have snippets
    now when i use the php the code comes out like
    [sws_divider_basic]
    instead of the divider
    http://electronicpartner.ie/repair-status/request-order-id/
    any solution for this?

    https://wordpress.org/plugins/php-code-for-posts/

  2. The.Missing.Code
    Member
    Plugin Author

    Posted 1 year ago #

    you need to use the do_shortcode function Do Shortcode Codex

    this will evaluate the shortcode and include it in your output.

    Hope this helps.

    TMC

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • PHP Code for posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.