• Resolved ross.edman

    (@rossedman)


    First off, I just got this plugin and love it. It is great for customizing output and maintaining image style across a whole site.

    The one problem I keep running into though is it seems the code snippet in the documentation to call just the url of an image does not work, this code in particular:

    kd_mfi_get_featured_image_url( 'featured-image-2', 'page', 'full' );

    I have not been able to get this to put anything out even standing on its own. Is there a better way to do this? Basically what I am trying to do is have the URL of the uploaded images be set as backgrounds so I only need the URL.

    Any ideas would help. Thanks.

    https://www.ads-software.com/extend/plugins/multiple-featured-images/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcus Kober

    (@marcuskober)

    I’m glad you like my plugin and that it helps you. ??

    There are two solutions for this problem.

    Short way (workaround): Leave the size out and call the function like this:

    `kd_mfi_get_featured_image_url( ‘featured-image-2’, ‘page’ );’

    This gives you the url of the full image. This works only for the full version.

    Longer way: There’s now an update for my plugin that fixes this issue. ??

    Is there something I need to add to my functions.php code to get the featured image URL to show up? Mine is coming up blank ??

    All I needed was “echo”. woops. So it would be like this:
    <?php echo kd_mfi_get_featured_image_url('featured-image-2', 'post', 'full'); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Multiple Featured Images] Trouble Calling Links’ is closed to new replies.