• Hi
    This is a basic question but I just can’t find the answer anywhere. I have added some custom fields to my post but I can’t find out what to do to make them show. I have found an answer but it just tells me the php not which file to put it in or where.
    Can someone help me with this?
    Thanks
    Sarah

Viewing 2 replies - 1 through 2 (of 2 total)
  • Where you put the php code depends on where you want the field to show up. You’d want it in The Loop, which is in one or more of your theme’s template files. It does depend a lot on how your theme is written but start by checking the index.php file and the single.php file. Newer themes might use the get_template_part() function to call the loop so keep an eye out for that function.

    Thread Starter SarahS

    (@sarahs)

    Hi

    I read the bit that said that, I think I found where it should go but when I tried it, the page just wouldn’t load. Therefore I am obviously putting it in the wrong place. I just need to someone to say – here is the page you need to put it in and here is where.

    Sarah

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Displaying Custom Fields’ is closed to new replies.