WordPress.org

Ready to get started?Download WordPress

Forums

Post Snippets
Include custom field value (2 posts)

  1. jonakangou
    Member
    Posted 1 year ago #

    hello

    how to include "custom field value" on snippets ?

    The variable value is great but not enough for i want to do as i use on different point of website custom field i want to include on snippets. i don't want to enter two time the same value.

    exemple video game review:
    i have custum field for the url to donwload the game (google play)
    i want to put google play image with "href" for the url link and the value came from the custum field "googleplay url "value.

    For see what i mean check it on this page : http://www.geekandgame.com/video-game-review/zombie-driver-thd-android/

    Under the youtube video you could see the two image with link : google play and tegrazone. That the result i want to see in front office with Post snippets. actually i put it on html editor.

    Thanks for help

    http://wordpress.org/extend/plugins/post-snippets/

  2. Johan Steen
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    You could use a PHP post snippet to retrieve a custom field from the snippet.

    Cheers,
    Johan

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.