• I asked a question in the pressforward.org support forums about 2 weeks ago but haven’t received any response. I’m hoping this support forum receives more attention from the developers or at least from someone who can help me.

    I’m trying to display per-post values of selected meta fields or template tags (the source title, the source link, and the item author) in the entry header of a Genesis child theme (and I believe in a Genesis child them, the code would have to be placed in the functions.php file).

    With that as background, I don’t understand the difference between the use of meta fields and template tags.

    https://github.com/PressForward/pressforward/wiki/Template-Tags
    https://github.com/PressForward/pressforward/wiki/Meta-fields

    It sounds to me like perhaps they accomplish the same thing.

    Can someone help me? Or is there a tutorial somewhere that would explain how to do what I want?

    I’m a WordPress and PHP novice, so I need the type of tutorial that tells me exactly where to place specific code in which file.

    Thanks in advance for any help anyone can offer – I really appreciate it.

    Frank

    https://wordpress.org/plugins/pressforward/

Viewing 1 replies (of 1 total)
  • Plugin Author Aram Zucker-Scharff

    (@aramzs)

    Hi Frank,

    Sorry for the delay.

    You can absolutely use the post_meta fields to pull PressForward information out of objects. The Template Tags are functions designed to be called by theme authors or modifiers like yourself to assure that no matter what changes happen to the PressForward code in the future you’ll always be getting the expected data out of the posts. I’d advise you to use those functions.

    You can add them to functions that filter or hook to Genesis actions that do what you need. Without knowing exactly what you mean in regards to the entry header, I’m not sure what hooks are there, but I know that Genesis allows you to modify pretty much everything with the right hook.

    Does that answer your question?

    -Aram

Viewing 1 replies (of 1 total)
  • The topic ‘How to use template tags or meta fields to display info on source’ is closed to new replies.