everything now possible in WP
-
I just registered with www.ads-software.com simply in order to review this plugin.
I’m a seasoned programmer who’s done a number of sites in WordPress, but only recently have I been attempting to use WordPress for more complicated functionality.
I spent the past two weeks trying to come up with a solution for my current project. I tried a number of hacks, from putting a bunch of encoded information in taxonomy descriptions to using my own separate database table. I was about to call it quits and build everything from the ground-up using a PHP framework.
Yesterday I discovered Posts 2 Posts. if I had only known about this plugin sooner!
Having the power to define relationships between custom post types makes so many things possible.
For instance, a recipe site:
1. Simply create a custom post type called “Ingredient”. (It’s very easy to write your own code to do this, but numerous plugins are also available.) An example post could be “San Marzano Tomatoes” with a description of this type of tomato, images, comments, etc.
2. Create a custom post type called “Recipe”.
3. Using Posts 2 Posts create a connection between Recipe and Ingredient. The connection can define custom fields such as “Amount”.
4. Create templates for viewing your custom post types, including Posts 2 Posts code for viewing the Ingredients in a Recipe, or for viewing all Recipes that include the given Ingredient.Finished! You’ve just made a very powerful recipe site. Now when you create a new recipe you can easily select ingredients from handy drop-down menus in the admin screen. You can also associate each ingredient with custom fields like “amount”. You can find recipes by searching for certain ingredients.
The concepts behind Posts to Posts is so powerful you’ll be wondering why it hasn’t already been included into the WP core..
Thanks so much to the creators of this plugin.
- The topic ‘everything now possible in WP’ is closed to new replies.