AnonJihen

Member

Forum Replies Created

  • In reply to: Multiple WP Pages or widgets on Static Home Page

    #45280

    That’s a good point, I suppose that’s what I’ll do.

    Thank you so much for your time and help.

    In reply to: Multiple WP Pages or widgets on Static Home Page

    #45278

    Thanks for the quick reply! I look forward to that update. That’s what I figured I should do in the mean time.

    Should I just insert the wordpress page ids into the code?

    <?php
    do_action( 'franz_front_page_top' );
    if ( get_option( 'show_on_front' ) == 'page' ) : wp_reset_postdata();
    ?>
    <div class="highlights static-front-page">
    <div class="<?php if ( ! $franz_settings['enable_frontpage_sidebar'] ) echo 'container'; ?>">
    <h2 class="highlight-title"><?php the_title(); ?></h2>
    <?php the_content(); ?>
    <?php do_action( 'franz_front_page_content' ); ?>
    </div>
    </div>
    <?php endif; ?>

    I’m guessing the “if ( get_option( ‘show_on_front’ ) == ‘page’ ) ” is specifically where I need to edit it, but I’m unsure of specifically what to put in there. Any advice (or if there is somewhere that explains it) is greatly appreciated. Thanks again for your help! 🙂

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