Disabling “featured image” on crossposts
-
Okay, so, wanted to drop this in:
If you have a WordPress theme that works well with featured images and you want to use them, but you know that Dreamwidth doesn’t do them well, it’s easy to make JournalPress ignore featured images and just never copy them over.
Just edit this file:
[bloghome]/wp-content/plugins/journalpress/lib/jpposts.class.php
and comment out (or remove entirely) these four lines of code:
// do we have a featured image?
if($imgID = get_post_thumbnail_id($this->post->ID)){
$img = wp_get_attachment_image($imgID, ‘full’, false, array(‘style’ => ‘max-width: 100%; margin: 0 auto; display: block;’));
if($img){ $the_event = $img . $the_event; }
}Everything works fine without them and all that changes is that you can set featured images for your theme and ActivityPub feed without messing up your Dreamwidth account.
- The topic ‘Disabling “featured image” on crossposts’ is closed to new replies.