Forum Replies Created

Viewing 1 replies (of 1 total)
  • Well, this is embarrassing. I just looked for the “Shortcode Exec PHP” plugin in the WordPress repository and it’s not there. I did find a replacement. Using the “Add Shortcodes Actions And Filters” plugin, I had to modify the code slightly:

    $content = do_shortcode( $content );
    $content = str_replace( array( ‘&’.’#8217;’,’&’.’#8220;’, ‘&’.’#8221;’ ), array( “‘”, ‘”‘, ‘”‘ ), $content );
    echo ‘<input ‘.$content;
    if ( !isset( $atts[ ‘close’ ] )
    or ( ‘n’ != strtolower( $atts[ ‘close’ ] )
    and ‘no’ != strtolower( $atts[ ‘close’ ] ) ) )
    echo ‘ />’;
    Good luck

    Thanks @wescleveland so much! It helps me a lot!!!

Viewing 1 replies (of 1 total)