Support

Account

Forum Replies Created

  • Hello!

    I solve my problem with ACF & DMS.

    I have installed Pagelines Customize plugin and add filter to
    plugins/pagelines-customize/functions.php file.

    You can take plugin download link there (pagelines support forum):
    http://forum.pagelines.com/topic/29473-cant-find-the-pagelines-customize-plugin/?hl=pagelines+customiz

    The code that work for me:`add_filter( 'the_content', 'add_acf' );
    function add_acf( $content ){
    if( ! is_single() ) // if were not on a post/page just return the content.
    return $content;
    $label1 = get_field_object('soc-dosl'); //set label of the field
    $field_1 = '<p>' . '<div class=”dop-dani”>' . $label1['label'] . ': </div>' . get_field('soc-dosl') . '</p>'; // set content of string – label plus field plus markup.
    return $content . $field_1; //Show result of concatenation of content with field label and field content
    }
    `

  • I have a similar issue.

    Only file with “loop” that i found in DMS theme files is /postloop/section.php

    But the insertion of code
    echo '<p>' . get_field('field_name') . '</p>';

    affects the categories in which there is a record and the record itself..
    And i see content of custom field in category under list of posts and under main content.

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