“read more” in new line
-
Hi,
first of all, your plugin is great!
But I have a problem with the “read more”.
The shortcode is like this:
[display-posts wrapper="div" wrapper_class="display-posts-listing image-left " include_excerpt="true" image_size="thumbnail" posts_per_page="10" excerpt_more="Read More" excerpt_more_link="true" excerpt_length="10" post_title_as_h2="true" ]
and the generated code is like this:
<span class="excerpt">Hier kommt der Beschreibungstext hin <a class="excerpt-more" href="https://localhost/antikleben/bank/">Read More</a></span>
But I want to have the readmore-link in a new line an styled like a button. So I cannot use display:block for the a-tag.I found in the plugin display-posts-shortcode.php line 541
$more = $excerpt_more_link ? ' <a class="excerpt-more" href="' . get_permalink() . '">' . $more . '</a>' : ' <span class="excerpt-more">' . $more . '</span>';
If I can add a <span> I can style it like I want to.
But how can I do an override for this?Thank you
Nadja
- The topic ‘“read more” in new line’ is closed to new replies.