Can't see any text?
-
Hi!
We are installing this nice plugin but we can’t see any text!
I have added to single post.
It now looks like this:
<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
<div class=”entry-thumbnail”>
<?php the_post_thumbnail( ‘advent-calendar-full-image’ ); ?><?php if ( is_single() ) : ?>
<h1 class=”entry-title”>
<?php the_title(); ?> </h1>
<?php else : ?>
<h1 class=”entry-title”>
” rel=”bookmark”><?php the_title(); ?>
</h1>
<?php endif; // is_single() ?>And in functions php I have added:
function acal_change_post_type_params( $custom_post_type_params ) {
$custom_post_type_params[‘supports’] = array(
‘title’,
‘editor’,
‘thumbnail’
);
return $custom_post_type_params;
}
add_filter( ‘pvb_acal_cpt_params’, ‘acal_change_post_type_params’ );Can someone please advice?
I want to put a text and a link with the picture in every entry.
Best regards Ulrika
The topic ‘Can't see any text?’ is closed to new replies.