Support » Plugin: GiveWP - Donation Plugin and Fundraising Platform » related projects/donations

  • Resolved vergedesign

    (@vergedesign)


    Hello. Im trying to pull posts using a wordpress query to display some posts on the home page….

    Im using this code

    <?php 
    query_posts(array( 
    'post_type' => 'form',
    'showposts' => 10 
    ) );  
    ?>
    <?php while (have_posts()) : the_post(); ?>
    <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
    <p><?php echo get_the_excerpt(); ?></p>
    <?php endwhile;?>

    Ive tried donations and forms also… what is the post_type for the donations forms called so that i can pull related posts?

    Thanks in advance for the help, and thank you so very much for the amazing plugin.

    Best

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘related projects/donations’ is closed to new replies.