Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author eventualo

    (@eventualo)

    Hi, I suggest 2 things, I hope they can help you…

    First, are you sure you can use ACF functions inside a custom post type (newsletter)?

    Then, I can see:
    <?php while (have_posts()) : the_post(); ?>
    (line 91 of your pastebin) right before print fields and subfields.
    I’m not sure but you are using more than one loop in the same page, so that could be source of problems.

    Thread Starter MatsKruger

    (@matskruger)

    I made some changes and it made it work like i want to.
    But how can i get some styles with it i defined style in the head

    See http://pastebin.com/Y5DzRpzf
    I used WP Query to get the post id of the current post and then use that to print it in the newsletter

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom fields’ is closed to new replies.