The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Get Custom Field Values
Need help - difficult for me to understand how to . (4 posts)

  1. Caps
    Posted 4 years ago #

    Having difficult understanding how to put this into action. I've read most of the documentation and still can not wrap my head around this.

    I learn better by example. Show me by adding some custom field types and how they may conjoin with other field types of filters.



  2. Scott Reilly
    WordPress & Plugin Dev
    Plugin Author

    Posted 4 years ago #

    What are you trying to accomplish with custom fields? This plugin's primary intent is to help you in displaying (or more easily accessing) information you have stored in custom fields.

    You request is a bit broad, so some details about what you'd like to be able to do could help with more focused examples and help.

  3. Caps
    Posted 4 years ago #

    Hi coffee2code,

    No particular need but I do want to increase the possibilities of WP. I do not understand the elementary parts of the documentation. I think the basics could be made easier by creating actual examples where non coders could access the power of working with custom field values.

  4. Scott Reilly
    WordPress & Plugin Dev
    Plugin Author

    Posted 4 years ago #

    Custom fields are a powerful feature for WP because they allow you to add arbitrary data to a post.

    A decent place to start learning about custom fields is the Codex page on custom fields. Particularly the "Usage" section if you're just getting started.

    Via the form described on that Codex page, you can enter custom fields for a post. A custom field consists of a "key" (some sort of identifier for the piece of information you are entering, to be used for later retrieval) and a "value" (the actual data you are trying to store). One such key value pair could be: "Price" and "34.00".

    WP facilitates defining the custom field values, but only helps with basic code-based retrieval of those custom fields. The Get Custom Field Values plugin facilitates custom field retrieval and display via:

    * Template tags (code-based functions; requires customizing theme template files to make use of the functions)
    * Widgets (the most user-friendly way of retrieving custom fields)
    * Shortcodes (to display the value of custom fields within the body of a post; comes with a shortcode builder so you don't have to remember any syntax)

    I hope that helps you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic