Good afternoon,
This plugin is REALLY usefull for portfolio website! I gave it 5 star rating.
One question though. I wanted to use this in my functions.php to auto load some text in de post:
// Default post editor text //
function diww_default_post_content( $content ) {
$content = '<ul class="details">
<li>Jaar:</li>
<li>Afmeting b x h:</li>
<li>Techniek: </li>
<li>Prijs:</li>
<li>Beschikbaar: Ja (<a href="mailto:info@daniqueidema.nl">stuur een e-mail</a>)</li>
</ul>';
return $content;
}
add_filter( 'default_content', 'diww_default_post_content' );
But this is not visible in the post your plugin makes. I tried this but it did not work:
// post editor text //
function afip_new_post_content ( $new_post_content ) {
$new_post_content = '<p>test</p>';
return $new_post_content;
}
add_filter( 'afip_new_post_content', '', $post_id );
Can you help me?
Kind regards Willem
http://wordpress.org/extend/plugins/automatic-featured-image-posts/