Support » Plugins » Hacks » Post ID is displaying on Custom Post Type Archive

  • I’m more than puzzled so I’m reaching out for help.

    I’ve developed some code for a custom post type archive that will output the custom taxonomy associated with the custom post type and, if there are posts, list the post titles with links to that post. If there are no posts in that custom taxonomy, the code invites the member to add content to that custom taxonomy.

    Here’s a link to my code: http://pastebin.com/mtAwUkVT

    The code works but there is something that is unexpected which I just can’t figure out. The post ID is displaying above the list item and I’m not instructing the code to do that. Clearly, I need the post ID to retrieve the permalink and title of the post but I do not need it to display on the page.

    I haven’t finished styling the page yet but here’s a link to a screenshot showing anyone reading what I mean:

    http://screencast.com/t/zN0ajUAhU

    I know it is probably something silly that I’ve overlooked and I’m hoping fresh eyes can help me get rid of the unwanted output.

    Thanks, in advance, for any assistance. 🙂

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Post ID is displaying on Custom Post Type Archive’ is closed to new replies.