Read our documentation
For more in-depth guides on onboarding and setup.
Read Documentation

Showing featured images in your News app

MobiLoud offers an option to include your featured image at the top of every article. This will be the default behavior in your app.

If you’d rather show the image elsewhere in the article, for example below the title, you can use the Editor functionality and add the following code in any PHP positions, such as “PHP before content”.

$image_feature = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
if(!empty($image_feature)) {
echo '<img src="'.$image_feature.'" />';
}

Thank you! We'll be in touch within 48 hours :)
Oops! Something went wrong while submitting the form.
Preview My App
Preview My App