emmalboyd
Forum Replies Created
-
Forum: Plugins
In reply to: [Sermon Manager] Sermon Image resizing on individual pagesHi Mike,
Sorry – I switched to working on this on a dev site for testing, rather than the live site. I’m working on the code on this page: https://ebdev.uk/qpbc/archivesermons/face-to-face-2/
I’ve been able to redner the image as alternate sizes using
<?php render_sermon_image( 'medium' ); ?>
, however if there is no individual sermon image uploaded, it does not then load the default sermon image, which should appear on this page, as an example: https://ebdev.uk/qpbc/archivesermons/aroma/.I’m also interested in how to centre the image, if possible?
Really appreciate your help, thank you!
EmmaForum: Plugins
In reply to: [Sermon Manager] Sermon Image resizing on individual pagesHi Mike,
Thanks, that’s been really helpful.
I’ve managed to adjust the size of the image as you suggested by replacing:
<img class="wpfc-sermon-single-image-img" alt="<?php the_title(); ?>" src="<?php echo get_sermon_image_url(); ?>">
with:
<?php render_sermon_image( 'medium' ); ?>
.However, when I do this it then means that if there is no sermon image set on the individual page, the default sermon image is not displayed – there is just no image displayed at all. Is there a way to add that back in?
Thanks
Emma- This reply was modified 5 years, 1 month ago by emmalboyd. Reason: fixed code
Forum: Plugins
In reply to: [Sermon Manager] Sermon Image resizing on individual pagesHi Mike,
I’m a newbie at this kind of customization. What would go into the single-wpfc_sermon.php file? And does it need to be referenced in any other files, e.g. functions.php?
Thanks
EmmaForum: Plugins
In reply to: [Smart Countdown FX Easy Recurring Events] Shortcode not workingThanks Alex – that fixed it!
Forum: Plugins
In reply to: [Smart Countdown FX Easy Recurring Events] Shortcode not workingHi,
I’ve tried a number of shortcodes, at the minute I’m trying this one:
import_config=”scd_easy_recurrence::1″
Thanks
Emma