Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author i.lychkov

    (@ilychkov)

    Hello. Sorry for delayed reply. You can set Marker type to None in the plugin’s options and then use the mnp_is_new_post function (see FAQ) to display your custom image anywhere in the template.

    Thread Starter xrobbie59x

    (@xrobbie59x)

    Thanks. Can you please show me an example code?

    Plugin Author i.lychkov

    (@ilychkov)

    Yes. Try putting this somewhere in the template:

    <?php if (mnp_is_new_post()) { ?>
        <img src="custom-picture.png"/>
    <?php } ?>

    It should display an image if the current shown post is unread.

    Thread Starter xrobbie59x

    (@xrobbie59x)

    Thanks can’t wait to try it.

    Hi, im using this code for post list in my website homepage and mark new post is showing. But after someone click open the post , mark new post is not showing again in other device.

    <?php if (mnp_is_new_post()) { ?>
    <img src=”custom-picture.png”/>
    <?php } ?>

    Update : and the marker just appear one time only. after i refresh the page, the marker was dissapear. ( not click / open post to read )

    Plugin Author i.lychkov

    (@ilychkov)

    Please check whether the “Mark posts as read only after opening” option in the plugin’s settings is enabled.
    Also, in the current version of the plugin this works only for posts with excerpts.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Call in template without add_filter’ is closed to new replies.