WordPress.org

Forums

Advanced Custom Fields
How to pass custom field value to a variable in page template (2 posts)

  1. vssnarayanaraju
    Member
    Posted 1 year ago #

    How can I pass the custom field value to a variable in page template.

    https://wordpress.org/plugins/advanced-custom-fields/

  2. domokun
    Member
    Posted 1 year ago #

    You may have to use JQuery instead of PHP to achieve this.

    You can write the_field the screen as part of your JQuery

    http://learn.jquery.com/javascript-101/scope/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Custom Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic