HACK for displaying post in WP pages wif MORE TAG working. (1 post)

  1. mickeyckm
    Posted 9 years ago #

    Hi, everyone!

    I found a solution for those who wanted to display the post on a WP page yet keeping the '(more)...' available. By default, the WP will switched the tag off.

    Hence, I found the hack! Remember the code
    <?php the_content(); ?>

    Just add this $more = '' before the code. (to enable more tag, the value is '' else to disable it will be 1)

    So the result is...
    <?php $more = ''; the_content(); ?>

    That's all. Hope you guys find it useful. Do drop me an email if you all like it a lot. Thanks. My email is mickeyckm [at] gmail [dot] com.

    Best Regards,

Topic Closed

This topic has been closed to new replies.

About this Topic