Forum Replies Created
-
AuthorPosts
-
I was trying to figure this out as well. Was a suitable modification found?
Thank you. I discovered another issue, but it was due to the new taxonomy.php file. Since you introduced this new file, it would be good to have some settings in Theme Options for blog layout. Since it does not respect that setting.
It looks like changing the code in my functions.php to this:
// Disable Portfolio custom post type add_action( 'init', 'remove_portfolio', 20 ); function remove_portfolio() { unregister_post_type( 'portfolio' ); }
Has resolved the error. Do you see any issues with this?
I understand. But I want to entirely disable the the portfolio custom post type so I don’t see it at all on the admin side.
Is it possible that the way Enfold manages custom post types, especially the portfolio post type, has changed between versions, and your code for disabling the portfolio is no longer compatible with the latest version?
- This reply was modified 1 month, 1 week ago by cmactv.
The error appears to be caused by this line in my functions.php:
//Disable Portfolio custom post type add_action( 'after_setup_theme', 'remove_portfolio' ); function remove_portfolio() { remove_action( 'init', 'portfolio_register' ); }
Is there another way to accomplish this in version 6.0.2?
Thanks, login details below:
I’ve reverted back to an older version of the theme for now.
That worked perfectly, thank you!
Perfect, thank you! You can close this thread.
Slightly different question now. I shared my link in the private notes. On my homepage I have masonry entries and I want the images to display at their original width and height, so I switched from Perfect Grid to Flexible Masonry. But I would like each of the entries to be equal height, like the Perfect Grid. They aren’t right now because some of the titles are longer than others. How can I achieve this?
Thanks, Ismael. Yes, it’s a custom post type and your solution worked great.
- This reply was modified 9 months ago by cmactv.
Guenni – changing the Blog Meta Elements settings doesn’t seem to have any effect.
Ismael – When you say the category and post date are already included in the masonry element – I’m not sure what you mean. How would I display them? The settings only give me the option to show the title and excerpt.
- This reply was modified 9 months ago by cmactv.
-
AuthorPosts