• How to Create a Homepage with a List view Mode? So that the posts will be shown in a list-view format.
    For example:
    Post’s Title

    Post description
    ……………………………..
    ………………………………
    ……………………………….
    ………………………Read More>>

    2nd Post’s Title
    ………………..
    ………………….

    OR

    You can check it on Amit’s Blog ( https://www.labnol.org/ )

    Can anyone help me?

Viewing 5 replies - 1 through 5 (of 5 total)
  • In the index.php file of your theme, find the_content() and change it to the_excerpt().

    Thread Starter shank_dev

    (@shank_dev)

    There is no the_content() in the index.php.
    Here is my index.php code:

    <?php get_header() ?>

    <div id=”content”>
    <div class=”padder”>

    <form action=”” method=”post” id=”members-directory-form” class=”dir-form”>

    <h3><?php _e( ‘Members Directory’, ‘buddypress’ ) ?></h3>

    <?php do_action( ‘bp_before_directory_members_content’ ) ?>

    <div id=”members-dir-search” class=”dir-search”>
    <?php bp_directory_members_search_form() ?>
    </div><!– #members-dir-search –>

    <div class=”item-list-tabs”>

    </div><!– .item-list-tabs –>

    <div id=”members-dir-list” class=”members dir-list”>
    <?php locate_template( array( ‘members/members-loop.php’ ), true ) ?>
    </div><!– #members-dir-list –>

    <?php do_action( ‘bp_directory_members_content’ ) ?>

    <?php wp_nonce_field( ‘directory_members’, ‘_wpnonce-member-filter’ ) ?>

    <?php do_action( ‘bp_after_directory_members_content’ ) ?>

    </form><!– #members-directory-form –>

    </div><!– .padder –>
    </div><!– #content –>

    <?php locate_template( array( ‘sidebar.php’ ), true ) ?>

    <?php get_footer() ?>

    I’m sorry, I can’t help with BuddyPress. The link you posted above doesn’t appear to me to be a WordPress site. If that is your site, you might need to try a different support forum.

    Thread Starter shank_dev

    (@shank_dev)

    Thanks for your reply..

    Thread Starter shank_dev

    (@shank_dev)

    And yes, ( https://www.labnol.org/ ) is a wordpress blog.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to Create a Homepage with List view mode??’ is closed to new replies.