Image link to page or post
-
Hi,
it would be nice if the image of the shortcode could link to the page or post.
The change is simple from my view:
In the file : class-post-content-shortcodes.php search for
$output .= $p->post_thumbnail;
and replace it with
$output .= ‘get_shortlink_from_blog( $p->ID, $atts[‘blog_id’] ) . ‘”>’. $p->post_thumbnail. ‘‘;
Maybe more users need this and the change can be in the next release.
Regards
soft4tec
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Image link to page or post’ is closed to new replies.