Answer the question
In order to leave comments, you need to log in
Why are shortcodes not working in Wordpress plugin?
Hello. Installed and activated a plugin for Wordpress called Ads-Wordpress . Created a blog page. But when adding a shortcode that is used in the plugin, the shortcode itself is displayed on the page.
If someone is familiar with this plugin, help to display the form?
Maybe you didn't make some settings? I've set everything up in the admin. Maybe you need to change something in the plugin files?
I render the form like this:
// Start the Loop.
while ( have_posts() ) : the_post();
?>
<div class="container">
<div class="row">
<div class="col-xs-12">
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
the_title( '<header class="entry-header"><h2 class="entry-title">', '</h2></header><!-- .entry-header -->' );
?>
<div class="entry-content">
111
<?php
the_content();
?>
</div><!-- .entry-content -->
</article>
</div><!-- .col-xs-12 -->
</div><!-- .row -->
</div><!-- .container -->
<?php
endwhile;
?>
Answer the question
In order to leave comments, you need to log in
In a text editor, you need to write like this - [code]
And in the source code like this -echo do_shortcode('[code]');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question