• Resolved pmvuong

    (@pmvuong)


    Hi,im using contextual related posts,and i have these code,want to add at then end of content,before contextual related posts,but my code always show after related post..any chance to fix this ?
    here my code

    <?php if( get_field('server_1') ): ?>
    <button class="button" type="button" onClick="document.getElementById('frame').src='<?php the_field('server_1'); ?>'">Openload</button>
    <center><iframe name="frame" id="frame" src="<?php the_field('server_1'); ?>" width="800" height="360" scrolling="no" frameborder="0"></iframe></center>
    <?php endif; ?>

    i want to put at the end of <?php the_content();?> and before contextual related post
    Tks..

    • This topic was modified 7 years, 11 months ago by pmvuong.
    • This topic was modified 7 years, 11 months ago by pmvuong.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter pmvuong

    (@pmvuong)

    Nvm,i solved this
    just disable setting and add this code after
    <?php if ( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?>
    Tks for great plugin 🙂

    Plugin Author Ajay

    (@ajay)

    Thanks for confirming.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to show another code before related posts’ is closed to new replies.