WordPress.org

Support

Support » Plugins and Hacks » Quicksand Post Filter jQuery Plugin » [Plugin: Quicksand Post Filter jQuery Plugin] Is there a way to show the excerpt?

[Plugin: Quicksand Post Filter jQuery Plugin] Is there a way to show the excerpt?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author developingtheweb

    @developingtheweb

    Hi,

    Yes there is are you comfortable modifying php code? Additionally if you modify the code it will stop you from being able to update the plugin in future.

    Between line 69-70 in quicksand.php located in the quicksand-jquery-post-filter folder in between the tag replace everything with <?php the_excerpt(); ?>

    Thank you 🙂

    Plugin Author developingtheweb

    @developingtheweb

    sorry that was meant to say inbetween the <a> tag

    Thank you! I am getting close.

    Now I am stuck and so close. 🙂

    I have a hover effect on my thumbnails that uses javascript to play the movies in HTML5 using the <video> tag. When the page first loads with your quicksand script the hovers work great, but once I click on a category I loose the effect. Do you know what could be causing this or maybe point me to how I can fix it.

    Thank you very much! 🙂

    Plugin Author developingtheweb

    @developingtheweb

    Hi sorry for the slow replies.

    I am not sure, have your tried using firebug on Firefox to see if there are any javascript errors or conflicts after the filter options is clicked.

    Hello. I am not seeing any conflicts in firefox.

    I am wondering if the javascript I am using to play the videos is causing the conflict.

    Maybe there is a way to add a reload the excerpts when other categories are pressed to reset it.
    I will have to learn javascript some more to learn how to implement it into your plugin.

    Hello there! any clues on how to show the excerpt in the li ?
    I have tried the_excerpt but with no success
    I have been editing the quicksand_function.php in

    Thanks in advance.

    Plugin Author developingtheweb

    @developingtheweb

    Hello,

    See if there is actually anything being returned in the excerpt.

    See http://codex.wordpress.org/Function_Reference/get_the_excerpt

    Attach get_the_excerpt to a variable and echo the variable. IF nothing is returned then something is not right with the posts excerpts.

    Here is what i have tried.

    Pastebin

    The idea being item1 shows the thumbnail and title while on mouse over item2 shows the title and excerpt . I seem to be getting the title and more link but no excerpt.

    Shud’ve posted the pastebin earlier! Duh! me.

    Plugin Author developingtheweb

    @developingtheweb

    Ah yes I think I remember someone running into something similar actually.

    the_excerpt doesnt work outside of standard WordPress loops so you need to create a custom function and then call that instead.

    http://wordpress.stackexchange.com/questions/26729/get-excerpt-using-get-the-excerpt-outside-a-loop

    that might help.

    this is what I did, and it worked for me

    <p> <?php $post = get_post($item->ID); echo $post->post_excerpt; ?> </p>

    just before the </li>

    Just to confirm that adding
    <?php $post = get_post($item->ID); echo $post->post_excerpt; ?>
    works perfect.
    Thanx sweena

    sweena, you rock.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Plugin: Quicksand Post Filter jQuery Plugin] Is there a way to show the excerpt?’ is closed to new replies.
Skip to toolbar