Home Forums WordPress Themes – Premium Circumference Custom header and caption not appearing on Posts Page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #38838
    Robert Mion
    Participant

    After reviewing the documentation for Circumference, I successfully setup the proper custom fields to enable a header and caption. When set, they correctly appear on all pages, except the designated Posts Page. To be clear, I specified that the custom field group display on all Pages, including Posts Pages.

    Upon initial research, it appears ACF is aware of a potential issue:
    https://www.advancedcustomfields.com/resources/value-loading-posts-page/

    Has anyone else experienced this issue, and has a way to remedy?

    #38845
    Binaya D
    Participant

    Hi Robert,

    We are really sorry to inform you that we are little confused about your issue, so could you please explain your issue with screenshots, so that it will be easy to both of us to find the solution asap. We hope you understand.

    We look forward to your respond.

    Thanks

    #38906
    Robert Mion
    Participant

    Please visit this imgur gallery for screenshots describing the issue:
    http://imgur.com/a/a2RB6

    Thank you for your help.

    #39069
    Bidur
    Moderator

    Hi,

    We cant understand what you are trying to do. I think you are using wordpress plugins please visit to relative plugin support for this. Or you can describe in detail what you are trying to perform in this site so that we can help.

    If you need additional help please contact us.

    #39383
    Robert Mion
    Participant

    Hi,

    My goal:
    Feature two items on the Posts Page of my WordPress site:
    1. Header background image
    2. Header caption

    Circumference makes these items available via the Advanced Custom Fields plugin (I followed instructions to the detail from the documentation). These items correctly appear on every other page.

    The Posts Page is setup exactly like all other pages. However, I do not see the image or caption when I visit the page.

    How might I fix this problem?

    #39390
    Binaya D
    Participant

    Hi Robert,

    We are really sorry but could you please explain your issue with screenshots or the link of the demo page, so that we could provide you solution asap. We hope you understand.

    We look forward to your respond.

    Thanks

    #39404
    Robert Mion
    Participant

    My response dated October 8 contains screenshots that should help you in diagnosing the issue.

    I provided the new website’s URL with this response: http://resolvetalent.com

    The problematic page is ‘Our Blog’ which can be accessed using the website’s main navigation (it is the right-most link).

    #39440
    Sushil Adhikari
    Moderator

    Hi Robert Mion,

    Thank you for contacting Styled Themes support team, we are really sorry for the inconvenience caused. This happens when ACF plugin is unable to queried the blog page.
    Please have a look on this article for reference: https://support.advancedcustomfields.com/forums/topic/acf-fields-not-displaying-on-posts-page/

    Here on theme you need to make some sligt changes on header.php template. Please customize header.php file keeping on child theme otherwise
    your changes will lost on theme update.

    Find this code on header.php file:

    <aside id="cir-banner" style="background-color: <?php echo get_theme_mod( 'banner_bg_colour', '#c6b274' ); ?>; <?php if ( get_header_image() ) : ?>background-image: url(<?php header_image(); ?>);<?php endif; ?><?php if( get_post_meta($post->ID, 'header_background', true) ) { ?> background-image: url(<?php echo esc_url (the_field('header_background')); ?>); <?php } ?> color: <?php echo get_theme_mod( 'banner_text_colour', '#ffffff' ); ?>;">
    			<?php get_sidebar( 'banner' ); ?>
    </aside>

    And replace above code with the following code:

    <?php
    
    $post_id = false;
    
    if( is_home() ) {
    	$post_id = 123; // specif ID of home page
    }
    
    <aside id="cir-banner" style="background-color: <?php echo get_theme_mod( 'banner_bg_colour', '#c6b274' ); ?>; <?php if ( get_header_image() ) : ?>background-image: url(<?php header_image(); ?>);<?php endif; ?><?php if( get_post_meta($post->ID, 'header_background', true) ) { ?> background-image: url(<?php echo esc_url (the_field('header_background', $post_id )); ?>); <?php } ?> color: <?php echo get_theme_mod( 'banner_text_colour', '#ffffff' ); ?>;">
    			<?php get_sidebar( 'banner' ); ?>
    </aside>

    Note: If you’re not technically sound in WordPress, we suggest you to take help of a developer.

    Thanks

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.