• I am trying to figure it out for quite some time now. Name and photo are called correctly but custom field isn’t ($agenttitle).

    One of my pages displays members names and pictures through a function (and it has to do it this way because of styling):

    <div class="agents"><?php agent_photos();?></div>

    While the function itself (agent_photos) looks like this:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    I am not sure what’s missing.
    Thanks for help!

The topic ‘Custom field inside of another function’ is closed to new replies.