WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Most Recent Posts Mod
Possible to pull custom fields? (5 posts)

  1. akesin
    Member
    Posted 1 year ago #

    Hi, Love the power and flex of your tool.

    I'm trying to use it as a "Latest News" sidebar and I need to include my custom fields for "source" and "author" under the date. I don't even need to have them exist in the UI as an option, it could just be the default. Is there a (relatively) easy way to do this by modifying that "adv-most-recent.php" file?

    Much thanks for whatever help you can lend.

    http://wordpress.org/extend/plugins/advanced-most-recent-posts-mod/

  2. akesin
    Member
    Posted 1 year ago #

    btw: this is the code I'm using to call these fields in the post itself..

    <?php $source = get_post_meta($post->ID, 'source', true); ?>
    <?php $writer = get_post_meta($post->ID, 'writer', true); ?>

    <p class="meta"><?php echo $source; ?></p>
    <p class="meta"><?php echo $writer; ?></p>

  3. Kailey (trepmal)
    Volunteer Mod & Reviewer
    Plugin Author

    Posted 1 year ago #

    I think Mini Loops has the features you need without hacking the plugin. I'd recommend checking that out to see if it will work better for you.

  4. akesin
    Member
    Posted 11 months ago #

    Hello!

    I'm sorry that I'm a complete moron but 10 months later I'm here trying to set up the mini loops widget again with the custom fields attached to my posts called "source" and "writer". I'm assuming i need to enter something into the custom fields field and then reference it in the item format field but no combination has worked so far. APOLOGIES AND THANKS in advance if you can help.

  5. Kailey (trepmal)
    Volunteer Mod & Reviewer
    Plugin Author

    Posted 11 months ago #

    @akesin See http://wordpress.org/support/topic/custom-fields-57?replies=3 for using custom fields in Mini Loops.

    If you still need help, please open a support thread under Mini Loops over here: http://wordpress.org/support/plugin/mini-loops

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.