• Resolved sharkei2014

    (@sharkei2014)


    Hi
    The description of the plugin says that the caption can be configured to be automatically appended to selected post types, or be inserted anywhere using a shortcode. I’ve looked on the help tab, but couldn’t see anything to explain how to do this.
    I would like to display the caption at the top of the page / post rather than at the bottom.
    Writing the shortcode is beyond my skill level, so I shall be grateful if you could provide the shortcode that will achieve this.
    Many thanks.

    Plugin version 1.2.0
    Windows 10
    Firefox 48.0.2

    https://wordpress.org/plugins/mistape/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author deco.agency

    (@decollete)

    Hi

    You need to paste this code in single.php and page.php of your theme:

    <?php do_shortcode( ‘[mistape format=”text” class=”mistape_caption”]’ ); ?>

    Thread Starter sharkei2014

    (@sharkei2014)

    Hi

    Thanks for that advice which I have tried to implement, but I’m afraid the caption is still being shown at the bottom of the posts and pages.

    My theme is Whitelight 1.5.1 and I navigated on the dashboard to Appearance > Editor and found templates called Whitelight:Single Page (page.php) and Whitelight:Single Post (single.php), inserted the code at the end of the existing code, after <?php get_footer(); ?>, and saved the change.

    Is it necessary to change any of the Mistape plugin settings?

    Many thanks for your help.

    Thread Starter sharkei2014

    (@sharkei2014)

    Hi

    Sorry but I still need guidance to know exactly where to put this shortcode in the template.

    Many thanks.

    • This reply was modified 7 years, 7 months ago by sharkei2014.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Position of caption’ is closed to new replies.