Jump to content

t2hol

New Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by t2hol

  1. Hi experts!

    I am not a programmer, just a designer and I have problems with php codes, I would like to display a bundle of Wordpress shortcode below on my website but I unable to make it correct, please help me.

    <?php
    if ( is_single() ) { 
    echo "<div class="pagelink"><?php wp_link_pages('pagelink=trang %'); ?></div><p>"
    echo "<div class="fb-like" data-href="https://www.facebook.com/tvvn.net" data-layout="standard" data-action="like" data-show-faces="false" data-share="true"></div><p>"
    <?php if(function_exists("kk_star_ratings")) : echo kk_star_ratings($pid); endif; ?><p>
    <?php echo do_shortcode("[kpvc_single]"); ?><p>
    <?php echo do_shortcode("[fbcomments]"); ?><p>
    <?php zemanta_related_posts()?>
    } else {}
    ?>
    

    Each part of the code is correct because it came from the plugin, but I don't known how to make it display at the same place. Could you please help complete Echo etc... the code above.

     

    Thanks very much!

    TOM

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.