WordPress.org

Ready to get started?Download WordPress

Forums

Podpress in mini-loop using get-a-post plugin (4 posts)

  1. tomizzoorg
    Member
    Posted 7 years ago #

    I made a mini loop and put it on a static page..recently I installed podpress and when I insert an audio clip, it shows up in the main blog but not in the loop..any ideas?

    I am using a plugin called get-a-post to display the mini-loop.
    The code i am using is:

    <br><div class="heading" style="border-bottom: 1px dashed #741212">
    Donni's Latest Blog Entry</div><br>
    <div class="blog">
    <?php require_once("wp-config.php"); // Change this for your path to wp-config.php file ?>
    <?php get_a_post(); ?>
    <div class="grey">
    <a class="title" href="<?php the_permalink(); ?>"rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a>
    <br>
    <span class="datetime"><?php the_time('F jS, Y') ?></span>
    </div>
    <br><br><br>
    <div class="entry">
    <?php the_content('Read more…'); ?>
    </div>
    <div class="postmetadata">
    <span class="postedat"><?php _e('Posted by'); ?> <?php the_author(); ?> at <?php the_time('g:i a'); ?>.</span>
    <br>
    <a class="commentlink" href="<?php comments_link(); ?>">Comments to this post</a>
    </div>
    </div>

  2. moshu
    Member
    Posted 7 years ago #

    There must be some misunderstanding. get-a-post doesn't "display a miniloop". And without a post/Page ID# number what does it show?

    I have no idea what you did. And it is always better if you say what do you want to achieve - and somebody will jump in with the solution...

  3. tomizzoorg
    Member
    Posted 7 years ago #

    I understand that get-a-post doesnt display a "loop", but my loop is only 1 post. on the front page of the site I am working on, one thing i have on there is the latest post. I could not get the real miniloop to work, so I used get-a-post and that seemed to work fine. However, as you can see from the code above i used some common template tags.

    What I want to be able to do is figure out 1) what is wrong and 2) how i can be able to display the audio posts/flash player on the front page.

  4. Regis
    Member
    Posted 6 years ago #

    I have a very comparable problem. I am trying to show a post on a static page. This post has some podpress movies associated to it. The movies show on the blog page but not on the static page. I only get the [display_podcast] tag displayed in the browser window... I have done a lot of research without any luck. Did you ever find a solution?
    Thanks,

Topic Closed

This topic has been closed to new replies.

About this Topic