• Resolved biloute

    (@antwake)


    HI
    is there an option in the shortcode to not display the image associated ti the PR?

    also, the fact there’s the HTML element

     makes it hard to align elements (see screenshot)
    I'd like to align left the date and read more
    
    thank you
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author cyclonecode

    (@cyclonecode)

    You should be able to use image_style="" to exclude any images for each feed item. You could also set the Image Style as Select under the Settings page. Another way would be to copy the template from cision-block/src/Frontend/templates/cision-block.php to the root of your active theme and make modifications in this template e.g remove the whole code which render the images:

    <?php if (isset($item->Images[0])) : ?>
                <span class="cision-feed-item-media">
                <img
                        src="<?php echo esc_url($item->Images[0]->DownloadUrl); ?>"
                        alt="<?php echo esc_html($item->Images[0]->Description); ?>"
                        title="<?php echo esc_html($item->Images[0]->Title); ?>"
                />
                </span>
    <?php endif; ?>

    Hope this helps.

    Thread Starter biloute

    (@antwake)

    thank you for the support!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to not display images’ is closed to new replies.