Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 119538

ZaLiTH on "[Plugin: Display Posts Shortcode] Request: Control Content Length and Title Link"

$
0
0

Ok, weird.. I decided to try edit the plugin file through the WP editor directly, I altered it slightly to rather use 'post_title_link' instead of 'title_link', and the output loop has this instead:

if ( $post_title_link == false ) {
	$title = '<span class="title">' . get_the_title() . '</span>';
} elseif ( $post_title_link == true ) {
	$title = '<a class="title" href="' . get_permalink() . '">' . get_the_title() . '</a>';
}

It hasn't broken anything, but it also hasn't changed anything either.. Am I missing something here?


Viewing all articles
Browse latest Browse all 119538

Trending Articles