Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ltacciolilinxs

    (@ltacciolilinxs)

    Hi, any idea about my issue?

    Thread Starter ltacciolilinxs

    (@ltacciolilinxs)

    Hi, I find the solution:
    edit the .php file /admin/partials/pagefrog-amp-template-single.php in the plugin folder.

    In the div with class=”content” add the follow code in the position you want to show your custom field:

    <?php global $post;
        $custom_field = get_post_meta( $post->ID, 'custom_field_name', true );
        echo $custom_field ; ?>

    Nice ltacciolilinxs.
    Have to try this out.
    Thanks for your effort.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom fields in AMP Pages’ is closed to new replies.