WordPress.org

Ready to get started?Download WordPress

Forums

Tag Pages
[resolved] Tags don't display on WP pages (3 posts)

  1. pixelrage
    Member
    Posted 10 months ago #

    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/

  2. BjornW
    Member
    Plugin Author

    Posted 9 months ago #

    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.

  3. BjornW
    Member
    Plugin Author

    Posted 9 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.