Friday, November 25, 2016

Week 11

This week I built the Athlete, Roster, Schedule pages for my website. I did this by using a couple of different components. There were two wordpress plugins that I used for this first is called "Advanced Custom Fields Pro" and the second is called Custom Post Type UI. The way that I did this is I first created "Custom Post Type" using that plugin. For example I created a "Wrestling Roster" post type. This created the post type that you can easily use on the back end of word press. Then I used "Advanced Custom Fields Pro" to edit that specific post type to only accept the content that I want for that specific post type. For Example this the wrestling roster post type I creates the fields Event, Date, Time, Location and Result. Lastly I used php to code each of the pages I needed to place the post in the correct format for the respective page.


Wrestling Schedule Page

Wrestling Roster Page

Athlete Page

Advanced Custom Fields Pro Plugin

Custom Post Type Plugin

Wrestling Schedule Post Type 
Example of the php code for the wrestling schedule post


No comments:

Post a Comment