Support » Plugin: WP Posts Playlist » Can widget's permalink url change?

  • Resolved lltlltll

    (@lltlltll)


    Now permalink URL is /?p=(post_id) only.
    for example, Can code change this?

    --- a/wp-content/plugins/wp-posts-playlist/includes/core.php
    +++ b/wp-content/plugins/wp-posts-playlist/includes/core.php
    @@ -150,7 +150,7 @@ function shortcode_posts_playlist_list($atts){
     		foreach($wpdb->last_result as $k => $v){
     			$_out .= "
     			<li>
    -				<a title ='".$v->post_title."' href='?p=".$v->post_id."'>".$v->post_title."</a>
    +				<a title ='".$v->post_title."' href='"  . get_permalink($v->post_id) . "'>".$v->post_title."</a>
     			</li>";
     		};

    http://wordpress.org/extend/plugins/wp-posts-playlist/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Can widget's permalink url change?’ is closed to new replies.