GigPress and other Plugins
-
Hello,
I have tried to make a Timeline Plugin work together with GigPress, because I wanted my past music dates to show in a vertical timeline.
After searching in sourcecodes for a while I discovered that my unability to do this was due to the fact that GigPress uses its own database tables instead of (what I expected) posts in a custom post type.So, I think I should change the default WordPress query for THE LOOP of the Timeline plugin to another query designed for GigPress.
This here:
<?php while ( have_posts() ) : the_post(); ?>
<!– Do stuff… –>
<?php endwhile; ?>should maybe be changed to something like this:
<?php query_posts( ‘category_name=special_cat&posts_per_page=10’ ); ?>
<?php while ( have_posts() ) : the_post(); ?>
<!– Do stuff… –>where query_posts should query GigPress posts/entries instead of default WP posts.
Can you show me some code that does this?
Thanks!
- The topic ‘GigPress and other Plugins’ is closed to new replies.