If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
May 7, 2013 at 11:10 am #22927
Hi, I’m still new to WordPress and your theme, but I’ve been searching for a way to get structure in both the site and the cms. The following example is exactly what I intend to achieve, but instead of based on “posts” I’d need it to be based on the “portfolio” of the Enfold theme.
You can see an example here (go straight to 2:10):
Instead of “Recipes”, “Photos” and “Videos” I would set up “Customers”, “Partners” and “Products”. Because “Posts” are too limited in content layouting (Advanced layout builder) I would need these to be exactly like the Portfolio category in your theme, even the way they are listed on the site (isotope) needs to look exactly like the portfolio.
So my question is: Can I ‘duplicate’ the Portfolio category the same way that video showed by duplicating the posts category? I really hope so! (I would do all the coding myself, based on the Lynda.com extended tutorial and I have a PHP developer to assist me if necessary)May 8, 2013 at 12:24 pm #117862
I may have explained it unclear. I basically need to duplicate “Portfolio items” in the wp menu a few times. Either I can create custom post types and add the necessary code(s) to make them work and look like the portfolio, or I duplicate the necessary portfolio files/codes and rename them into “Customers”, “Partners” and “Products”.
Important is that I also have to advanced layout builder.
This is extremely important in my case, so please give me your feedback.
An example of what I have already added as PHP, currently still as regular post types:
// Add new post type for Customers
add_action ('init', 'customers_init');
$customer_labels = array(
'name' => _x('Customers', 'post type general name'),
'singular_name' => _x('Customer', 'post type singular name'),
'all_items' => __('All customers'),
'add_new' => _x('Add customer', 'customers'),
'add_new_item' => __('Add Customer'),
'edit_item' => __('Edit Customer'),
'new_item' => __('New Customer'),
'view_item' => __('View Customer'),
'search_items' => __('Search Customer'),
'not_found' => __('No customers found'),
'not_found_in_trash' => __('No customers found in Trash'),
'parent_item_colon' => ''
$args = array(
'labels' => $customer_labels,
'public' => true,
'publicly_queryable' => true,
'show_ui' => true,
'query_var' => true,
'rewrite' => true,
'capability_type' => 'post',
'hierarchical' => false,
'menu_position' => 5,
'supports' => array('title','thumbnail','editor'),
'has_archive' => 'customers'
// Add custom taxonomies
add_action( 'init', 'create_taxonomies', 0);
// Customer type
$country_labels = array(
'name' => _x('Countries', 'taxonomy general name'),
'singular_name' => _x('Country', 'taxonomy singular name'),
'search_items' => __('Search countries'),
'all_items' => _x('All countries'),
'most_used_items' => null,
'parent_item' => null,
'parent_item_colon' => null,
'edit_item' => __('Edit Country'),
'update_items' => __('Update Country'),
'add_new_item' => __('Add country'),
'new_item_name' => __('New Country'),
'menu_name' => __('Countries')
register_taxonomy('customer-country', 'customers', array(
'hierarchical' => true,
'labels' => $country_labels,
'show_ui' => true,
'query_var' => true,
'rewrite' => array('slug' => 'customer-country' )
}May 9, 2013 at 12:23 pm #117863
1) You can get the advanced layout editor to work with Posts or with any Custom Post Types.. I made a video about how to do it https://vimeo.com/64996057
2) I didn’t look at your video but I think you are trying to fly before you learned how to crawl. You are new to wordpress and are trying to do some complex things.
3) You need to get the following plugins:
WP-Types .. this will allow you to create the custom post types and taxonomies and the various fields. (free)
WP-Types – The second half of the types plugin that lets you create the queries without needing to know php or wordpress.
The one problem is that you can’t just duplicate portfolios so that you will have a different slug so you cant have a sortable portfolio with a slug website.com/games/name-of-game/ and website.com/movies/name-of-movie/ . But besides the sortable portfolio , all else can be easily done. So if you don’t mind that all your products have the same slug (equivalent of portfolio-item) if you think hard maybe can come up with one called ”asset” maybe then you be ok. I talked to Kriesi about this before, having multiple dynamic custom post types, but there seems to be some limitation in the WordPress Framework itself preventing it.
The topic ‘Divide portfolio with taxonomies (compatible?)’ is closed to new replies.