WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] extracting custom fields values from wp-database in a nested foreach loop (3 posts)

  1. cinghaman
    Member
    Posted 1 year ago #

    I am trying to display custom fields on my template values of which i am pulling from postmeta table
    doing something wrong with a loop or not writing the foreach args correctly not sure whats the problem
    pastebin link for the code

    basically i want to display 15 div's with 3 cols so to say (name, photo,region)

  2. cinghaman
    Member
    Posted 1 year ago #

    the problem is it displays 1 photo, name and region in all the 15 div and not actually looping

  3. cinghaman
    Member
    Posted 1 year ago #

    Got fixed

Topic Closed

This topic has been closed to new replies.

About this Topic