• Resolved pixelrage

    (@pixelrage)


    Hello, I’m trying the following code within the body area of my Pages (these tags need to appear in a very specific place) after installing your plugin:

    <?php the_tags('Tags : ', ', ', '<br />'); ?>

    …however, nothing shows up. Am I doing something wrong with this code? I can’t figure out why it wouldn’t work.

    Thanks

    http://wordpress.org/plugins/tag-pages/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author BjornW

    (@bjornw)

    Hi Pixelrage,

    Sorry for the late reply.

    I’m not sure if I understand you correctly: you have placed the code below in your page content?

    <?php the_tags('Tags : ', ', ', '<br />'); ?>

    This is not working because you normally can’t directly use PHP (that’s the code) in your page content. You can use PHP in your theme’s templates, this is easier if you always want to display the tags at a certain location in your pages.

    If you only want to display the page’s tags occasionally you may have to look for a plugin which offers a shortcode (which can be used in your content) to do so.

    I hope this helps, otherwise feel free to contact me again using this forum.

    Plugin Author BjornW

    (@bjornw)

    Hi Pixelrage,

    I presume your question has been answered since I haven’t heard back from you. Therefor I will close this thread. If you have any other questions, remarks or suggestions feel free to open a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tags don't display on WP pages’ is closed to new replies.