• caroline

    (@makeupedia)


    Hi!

    I want to put these post metas right after ‘the_content‘ but before ‘Continue Reading‘ here in content.php.

    `<?php echo get_post_meta($post->ID, ‘Glossary-thumbnail’, true);?>
    <?php echo get_post_meta($post->ID, ‘Glossary-title’, true);?>
    <?php echo get_post_meta($post->ID, ‘Glossary-shop’, true);?>`

    I tried a different methods but I can only make it work before the_content or after it *sigh*


    ` <?php

    the_content( sprintf(
    __(‘Continue Reading %s’, ‘twentyfifteen’ ),
    the_title( ‘<span class=”screen-reader-text”>’, ‘</span>’, false )
    ) );

    `

    Any ideas how to make this work? Thanks!

  • The topic ‘echo code just before more-link //content.php’ is closed to new replies.