Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter verdigris2

    (@verdigris2)

    Thank you!

    Issue resolved.

    For reference, the changes were:

    $options_posts = array();
    $options_posts_obj_args = array('posts_per_page' => -1, 'post_type' => 'page');
    $options_posts_obj = get_posts( $options_posts_obj_args );
    $options_posts[''] = __( 'Choose Post', 'benevolent' );
    foreach ( $options_posts_obj as $posts) {
       $options_posts[$posts->ID] = $posts=>post_title;}

    Afterwards, 'post_type' was changed 'page' under the $community_qry block in /sections/section-community.php.

    • This reply was modified 7 years, 6 months ago by verdigris2.
Viewing 1 replies (of 1 total)