• I want to create a custom sub-level admin menu for reviews; from that menu I could add new reviews with the following criteria: title, date, image, excerpt, link. I know you have to do it through the functions.php file. Does anyone have or know of a good tutorial for that?

    Also, I want it to function like the blog page does now; is there a way to use the blog template to display the inputted info, or do I have to create a new template and hard code it?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello!
    What you are looking to create is a custom post type.
    You can read more about them here
    Here is a guide on how to create them.
    As suggested you can either use a plugin, like Custom Post Type UI or Types to help you.
    If you decide to go the manual way, you can find a generator here to give you an idea how your post should be structured.
    Finally, if you don’t create custom templates for your new post type, WordPress will use the index.php to create a listing page with your new custom posts, which will look like the current blog page.

    Thread Starter navyspitfire

    (@navyspitfire)

    This is great, thank you. I’ll look into creating it manually first.

    Thread Starter navyspitfire

    (@navyspitfire)

    So question. I’m following the Smashing Magazine tutorial. I’ve successfully created a custom post type (CPT – called ‘reviews’) and I’ve created a review.

    According to the tutorial, with my has_archive set to true I can go to ‘site.com/reviews/’ and see my CPT. However, I can’t, it 404s.

    I want it to act like the blog where as I add ‘reviews’ it automatically adds them to the page. Do I have to make a page, then make a custom template with a custom query to display my CPT?

    Thread Starter navyspitfire

    (@navyspitfire)

    Okay so the archive page works now. I want to edit the query search to include custom information, do I have to make an archive-reviews.php template and edit the query there?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Creating custom admin menu’ is closed to new replies.