Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to use custom fields in single.php?


  • raynerlim36
    Participant

    @raynerlim36

    Hi

    I’m having trouble with using custom fields in single.php.

    My problem is simple:

    In the “(Year) in (Category) by admin” section, I want to replace the “admin” part with a value from the key “Author-Alias” in that post’s custom fields.

    However, I don’t know PHP and thus I don’t know how to code it.

    Can anyone help me (please don’t say I should post in the WordPress forums because this is related to BuddyPress)?

  • The topic ‘How to use custom fields in single.php?’ is closed to new replies.
Skip to toolbar