• Resolved nicolaslienhard

    (@nicolaslienhard)


    hi
    i’d like to have a list of users, that posted via usp, in my pages blog archive. can i somewhere grab this data to generate a list, linked with the respective user posts?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter nicolaslienhard

    (@nicolaslienhard)

    starting with [usp_display_posts] i would just have to change the display parameters (display title: false and display userid: true) if that would be that easy! that would be great!

    Plugin Author Jeff Starr

    (@specialk)

    Glad to help. [usp_display_posts] is not designed for that specific purpose, but it may work. Go ahead and give it a try. Feel free to post any further questions, glad to help anytime.

    Thread Starter nicolaslienhard

    (@nicolaslienhard)

    i added the user_submit_name to the posttitle for the display_posts function:

    $display_posts .= '<li><a href="'. get_the_permalink() .'" title="'. esc_attr__('View full post', 'usp') .'">'. get_post_meta($post->ID, 'user_submit_name', true) .' - ' . get_the_title() . '</a></li>';
    		/*changes nicolas: . get_post_meta($post->ID, 'user_submit_name', true) .' - ' . get_the_title() .      before: . get_the_title() . */
    	}

    this will list all the posts with “username – posttitle”

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘use usp user name as post list’ is closed to new replies.