• Resolved anubha23

    (@anubha23)


    Hi,

    I just want to print the guest author name on a single (custom) post-type page by editing the php template. What is the name of the function + variable that should I print?

Viewing 1 replies (of 1 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    The Guest Author data is stored as postmeta values:
    BS_guest_author_name
    BS_guest_author_url
    BS_guest_author_description
    BS_guest_author_image_id

    So you can print the author name using:
    echo get_postmeta($post_id, 'BS_guest_author_name', true);

Viewing 1 replies (of 1 total)
  • The topic ‘Printing the guest author variable’ is closed to new replies.