Reputation
Next privilege 200 Rep.
See reduced ads
Badges
7
Newest
 Commentator
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 2 votes cast
Oct
16
asked Can't set post permalinks without breaking single page for ACF
Oct
15
asked How to set custom post type as post title to avoid 'Auto Draft'
Oct
7
comment Custom post-type for page header images
Further investigation looks like it might be due to setting the posts page. I think ACF might need some extra work around to access the field on this page.
Oct
6
comment Custom post-type for page header images
I am using a template yes. It just pulls in the header which is where the code is that looks for the custom banner field: <?php $image = get_field('page_header_image'); if( !empty($image) ): ?> <img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" /> <?php endif; ?>
Oct
6
awarded  Commentator
Oct
6
comment Custom post-type for page header images
Thank you kindly I will take a look tonight. Appreciate all the help.
Oct
5
comment Custom post-type for page header images
This worked a treat in the end. Sorry for slow acceptance of the answer. The only thing I've noted is that it's not working for the blog page for some reason?
Oct
5
accepted Custom post-type for page header images
Sep
29
comment Custom post-type for page header images
I've managed to get that to appear on the page edit but I had to set a rule within ACF, so that post is equal to page. I'm having troubles getting this to output on the template though.
Sep
29
comment Custom post-type for page header images
Hi, thanks for the reply. Just trying this now, although so far I'm not seeing anything on the edit page screen appearing. How would this ACF know to link with a page?
Sep
28
awarded  Editor
Sep
28
revised Custom post-type for page header images
added 762 characters in body
Sep
28
comment Creating an Image-Centric Custom Post Type?
Could this be modified to assign an image to a page?
Sep
28
asked Custom post-type for page header images
Aug
21
awarded  Autobiographer
Jun
9
awarded  Popular Question
Jan
11
accepted Use menu class in walker function
Jan
11
asked Add custom Attachment Display Setting for images
Jan
11
comment Use menu class in walker function
This works thanks, however it does include not just the custom one i set in the admin, but also things like: menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home - is there a way to just include only the custom class i set?
Jan
11
asked Use menu class in walker function