Edit admin page and Create testimonial page

Hi i want to create a testimonial page for a friends website. Ive tried to use some plugins but everytime i add a new testimonial the plugin doesn’t seem to update on the page.

Should i maybe just put the testimonials in posts, categories it as testimonials and just post most recent posts.

Also i want to make the admin page easy for my friend to use. How can i edit the admin page so my friend who has never used wordpress will find it easy to use. Finally do develops personally show their clients how to use wordpress or do they maybe show them youtube vids or create some instructions to follow.

I would recommend creating a custom post type for this - which is basically it’s own section within the admin area of WordPress. To add a custom post type is quite simple - try adding the following code to your functions.php file:

add_action('init', 'testimonials');
function testimonials() {
	$labels = array(
		'name' => __('Testimonials', 'post type general name'),
		'singular_name' => __('Testimonial', 'post type singular name'),
		'add_new' => __('Add New Testimonial', 'Add New Testimonial'),
		'add_new_item' => __('Add New Testimonial'),
		'edit_item' => __('Edit Testimonial'),
		'new_item' => __('New Testimonial'),
		'view_item' => __('View Testimonial'),
		'search_items' => __('Search Testimonial'),
		'not_found' =>  __('Nothing found'),
		'not_found_in_trash' => __('Nothing found in Trash'),
		'parent_item_colon' => ''
	);
	$args = array(
		'labels' => $labels,
		'public' => true,
		'publicly_queryable' => true,
		'show_ui' => true,
		'query_var' => true,
		'rewrite' => false,
		'capability_type' => 'post',
		'hierarchical' => false,
		'menu_position' => null,
		'menu_icon' => 'dashicons-testimonial',
		'supports' => array('title', 'editor', 'thumbnail')
	); 
	register_post_type( 'testimonials' , $args );
}

Once you have added in the testimonials to this new section within the WordPress admin area, you will need to create a custom query to display the testimonials on the website. You will then need to style this accordingly, to fit in the styling of the website.

I work within a WordPress agency and we typically provide WordPress training for each website, either in person or over the telephone - however, if this isn’t something you specialise in, or feel comfortable with, I am sure sending the client links to videos and tutorials will definitely help!

Let me know how you get on with this…

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.