<?php if ( is_home() && current_user_can( ‘publish_posts’ ) ) : ?> <?php printf( wp_kses( __( ‘Ready to publish your first post? Get started here.’, ‘gillion’ ), gillion_allowed_html(> <?php elseif ( is_search() ) : ?> <?php esc_html_e( ‘Nothing found’, ‘gillion’ ); ?> <?php else : ?> <?php esc_html_e( ‘It seems we can’t find what you’re looking for. Perhaps searching can help.’, ‘gillion’ ); ?> <?php endif; ?>
but I want to post a short code do_shortcode(‘[wpforms id=”329″]
When I did that, it shows the form code as text and doesn’t run the PHP. Can someone tell me the proper way to change “Nothing found” text into the shortcode?