Yes… Sorry…
I kind of meant that using the array it just places the fields on the page in order.
I’d like to be able to place each one of them into a div… which would them pick up from a custom css…
Is that possible?
thanks
Hi James…
Thank you so much…
This works well…
I guess my next question would be.
Is it possible to use CSS to format these fields or is it just a list?
They all populate well but I’d like to split them up into different panels/containers…
Along with some extra text etc…
Is that possible?
Hi James
Thanks for this… I think I’m nearly there…
One thing thought, can you tell when where I can find the custom fields key for each field please?
Is it possible to use field name instead?
thanks
Hi James
Thanks for this.
From the information the link you sent I’m using
<?php acf_form_head(); ?>
<?php get_header(); ?>
<div id="primary" class="content-area">
<div id="content" class="site-content" role="main">
<?php /* The loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php acf_form(); ?>
<?php endwhile; ?>
</div><!-- #content -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
However I only want certain fields to be editable?
Can you tell me how to do that?
Thanks
I’ve created a single-reports.php file and I’ve added the code into that php file.
Hi John
Very sorry… I didn’t mean to offend.
I’ve adjusted but it still doesn’t work.
I appreciate any help offered.
thanks
Hi
Thanks for this…
I’ve created a new post type for this and added this into the post type.
However I get this on the page…
Parse error: syntax error, unexpected ”compare” (T_CONSTANT_ENCAPSED_STRING), expecting ‘)
Can you help?
thanks
HI John
Thanks for this…
Very silly question but….
Where would I put this bit of code?
On a page?
Thanks
I think that might do it for now.
Can you confirm the location I would place this code please?
I’m pretty new to this.
Thanks
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.