Hi Kevin,
You should put the code directly below the_content(); then. Did you put it in the loop?
Where to find the loop? Don’t understand sorry.
I was talking about the WordPress loop: http://codex.ww.wp.xz.cn/The_Loop
I think so, this is how it looks like:
<?php /* Start the Loop */ ?>
<?php the_block(‘trigger’); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( ‘content’, get_post_format() );
?>
<?php endwhile; ?>
<?php generate_content_nav( ‘nav-below’ ); ?>
<?php else : ?>
<?php get_template_part( ‘no-results’, ‘index’ ); ?>
<?php endif; ?>
<?php do_action(‘generate_after_main_content’); ?>
</main><!– #main –>
</div><!– #primary –>
<?php
do_action(‘generate_sidebars’);
get_footer();
<?php /* Start the Loop */ ?>
<?php the_block('trigger'); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'content', get_post_format() );
?>
<?php endwhile; ?>
<?php generate_content_nav( 'nav-below' ); ?>
<?php else : ?>
<?php get_template_part( 'no-results', 'index' ); ?>
<?php endif; ?>
<?php do_action('generate_after_main_content'); ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php
do_action('generate_sidebars');
get_footer();
Could you try it right below this part?
get_template_part( 'content', get_post_format() );
No result..
It looks like this now:
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'content', get_post_format() );
<?php the_block('trigger'); ?>
?>
No extra page edit options..
You don’t have to open PHP when it’s opened.. 😉 I would like to help you, but this seems more like a PHP problem than a problem with our plugin. Our plugin is actually more meant for developers.
So in this case: remove <?php and ?> around the_block( 'trigger' ).
I replaced the tag. What should happen now?
You should see an editor in the admin panel.
There is not an editor in the admin panel..
You know the reason?
No, but it’s a bit hard to help you debug it like this.