Custom field show on AMP version
-
I have added custom fields to my site without any plugins.
just add this code
<?php $my_book_title = get_post_meta( get_the_ID(), 'book_title', true); if( ! empty( $my_book_title ) ) { echo '' . $my_book_title . ''; } ?
But how can this field seen in AMP Vision of my site?
Please help me.
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom field show on AMP version’ is closed to new replies.