Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other WordPress Loop – Output Markup

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #44604
    davidhobbs83
    Member

    Hi there, I wonder if anybody can help me.

    I am querying custom fields of custom post types which output tabular data. Chris says in his book that “_the loop doesn’t care about markup_” but I really cant get wp_query to output in to a html table. I want to out put the custom meta data from each post to a new row in the table.
    The custom fields output fine in paragraph or header tags, just not in tables.
    Even tables with static data don’t display…

    Code something like this:

    have_posts()) : $the_query->the_post(); ?>


    Should this work or is there a better way?!

    Many thanks in advance, David

Viewing 1 post (of 1 total)
  • The forum ‘Other’ is closed to new topics and replies.