Insert code after content but before plugins (1 post)

  1. huskyblack
    Posted 3 years ago #


    I browsed through lots of posts, and found partial solution, but not complete.

    Some of the plugins I used insert their function just below post content, but I can't place any of my code prior some plugins.

    I used this
    to create function in functions.php and the function itself work when I place shortcode in the text of the post. But I want it to work without placing the shortcode everytime in post.

    Is there posibility to place shortcode or something inside content-single.php code?

    Any code I place before this line

    <?php the_content( __( 'Continue →', 'yoko') ); ?>

    is just where I want it to be, but if I put code just behind


    <?php the_content( __( 'Continue →', 'yoko') ); ?><div class="clear">TEST</div>

    it is displayed after several plugins, and I can't seem to get in front of them. Somehow those plugins manage to insert their code jast before my div element

Topic Closed

This topic has been closed to new replies.

About this Topic