BuddyBoss Home – Web Support Forums Themes BuddyBoss theme Front Page Blog Posts

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

    #44971
    @ericreynolds

    For my home page at https://canyon.k12.ca.us, I needed the front page blog posts to display from two select categories. Therefore, I revised the following code in a child theme front-page.php from…

    <?php while (have_posts()) : the_post(); ?>

    to…

    <?php query_posts('cat=52,53'); while (have_posts()) : the_post(); ?>

    My solution works. However, I am now missing the meta data for my posts. How can I get it back? And, how can I position the meta data so that it displays above, rather than below, the post?

    Thanks,

    🙂 Eric

    Answers

    #44977

    Anonymous
    @

    Hi Eric, you can test https://wordpress.org/plugins/simply-exclude/ plugin instead for modifying codes.
    Regards

Viewing 2 posts - 1 through 2 (of 2 total)
  • The question ‘Front Page Blog Posts’ is closed to new replies.