Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
karlos
tagDiv Member

Thanks Chris – no, it wasn’t that, since we haven’t upgraded to WP4.2 yet. Turned out to be a problem with Visual Composer which we’ve just re-installed. Gggrrrr…. !!!! Plan to upgrade to 1.71 newsmag soon – but will wait a few days to see how it goes with others first πŸ˜‰

karlos
tagDiv Member

Problem solved – I was being impatient! Google takes a while to recognise the newly created ad spot – but it’s working fine now πŸ™‚

karlos
tagDiv Member

Hi – the text probably needs updating anyway – there’s an additional ‘in’ in there πŸ™‚ It should read ‘Welcome, Login to your account’

karlos
tagDiv Member

Came across this FREE featured image plugin: https://wordpress.org/support/plugin/quick-featured-images

It saved us a lot of time! Doesn’t (yet) grab featured images from post images in custom filed – but plugin author is working on a premium plugin which will πŸ™‚

karlos
tagDiv Member

Hi Chris – appreciate that πŸ™‚ Old code that we knew worked was quickly dropped in simply to get an image into the post so we could run auto post thumbnails – but as we now know it doesn’t harvest post images that are inserted via custom fields – so it was deleted πŸ™ Now trying to implement it (properly with CSS) since we can’t easily get around the featured image problem.

  • This reply was modified 11 years by karlos.
karlos
tagDiv Member

Unfortunately Auto Post Thumbnail Pro didn’t work for us. Our old post images were inserted via custom fields – but the plugin didn’t recognise them πŸ™

karlos
tagDiv Member

OK – we’ve started migrating the content – and we’ve edited the loop.single templates to pull in the custom field for the image by adding this just before <?php echo $td_mod_single->get_content();?>:

<table width="300px" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td><?php if ( get_post_meta($post->ID, 'Image', true) ) { ?>
ID, "Image", true); ?>" title="<?php the_title(); ?>" alt="<?php the_title(); ?>" width="300px" border="0" style="padding: 0px;" align="centre"/>
<?php } else { ?>
<?php } ?></td>
</tr>
</table>

It’s working fine – but we just have a small, cosmetic formatting issue – the table holding the image is the full width of the page – ideally we want it set as just 300px wide and aligned right – so that the content wraps around the left of the table.

Can you help with necessary css code to achieve this? There are in excess of old 10,000 articles in the database.

This should work fine while we generate new post thumbnails with Auto Post Thumbnail Pro.

karlos
tagDiv Member

Great info again Chris S – much appreciated! Would love to see a few links to your sites so we can compare notes πŸ™‚

karlos
tagDiv Member

Hi Chris – thanks for the tip off re the Auto Post Thumbnail Pro – looks as though it will do what we want. Not too worried about the captions. Also tempted to try editing the default post template to pull in the two custom fields!

karlos
tagDiv Member

Thanks for the guidance – great support!!! All sorted now and working exactly as we wanted: . Happy New Year to the team πŸ™‚

karlos
tagDiv Member

Strange… code in loop-single.php updated to:

<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false);?>
<?php echo $td_mod_single->get_views();?>
<?php echo $td_mod_single->get_comments();?>
<p>Last updated: <?php echo the_modified_date(); ?></p>

Cache emptied – but still not getting ‘last updated’ showing on individual post pages. Are we missing something obvious? πŸ™‚

karlos
tagDiv Member

Thanks Lucian – no problem with the ‘published’ date. We’ve added the following code to the loop-single.php file – but it’s not working for us πŸ™ Any ideas?

<div class="meta-info">

<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false);?>
<p>Last updated: <?php the_modified_date(); ?></p>
<?php echo $td_mod_single->get_views();?>
<?php echo $td_mod_single->get_comments();?>

</div>

Viewing 12 posts - 1 through 12 (of 12 total)