Custom Fields
Re-Envisioned
Support General Display metabox content with WPML in the single.php or other php file

  • Creator
    Topic
  • #720
    umtang41
    Participant

    How can i display the meta box value in the single.php with WPML?

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #724
    Anh Tran
    Keymaster

    Hi,

    To display meta value in single.php or in any place in the frontend, you just need to use the helper function (rwmb_meta). There is no difference using it for a website using WPML and not using WPML.

    More info: WPML stores the value of meta fields for translated post (and the translated post itself) separately in the database. We can consider it as a totally different post with full data comes with it.

Viewing 1 replies (of 1 total)
  • The topic ‘Display metabox content with WPML in the single.php or other php file’ is closed to new replies.