March 30, 2014 at 5:36 am #244942
(Using a Child theme and latest version of Enfold)
In the theme settings, despite having the option “Header Title and Breadcrumbs” enabled, and in the page template as well, neither the title nor breadcrumbs, were coming up!
Oddly enough, this was happening in some new pages I had created. In some of the pages of the demo content, they were still there.
Made me think that this probably wasn’t a template or CSS issue, but more of a database query not being rewritten.
Decide to check “Screen Options” of the page I was working on and enabled “Custom Fields”. Once that was enabled, I scrolled down and noticed “header” with the value “no”. Switched that value to “yes”, updated the custom field, and finally updated the page, and the title and breadcrumbs were working again!April 1, 2014 at 10:10 pm #246275
Thanks for the tip! I’ve noticed that some plugins are also setting the option. Typically its a post duplicator plugin which copies the meta data and then doesn’t allow the user to change it from the theme options but I’ve also encountered it with wp-super cache/w3tc.
DevinApril 18, 2014 at 8:26 pm #253277April 18, 2014 at 10:00 pm #253304May 9, 2014 at 5:34 pm #262479
Unfortunately this doesn’t work with Portfolio Entries. The Portfolio Entries page hasn’t got a the screen option to turn on Custom Fields. Is there a way to get the breadcrumbs displayed on the Portfolio entries?
GonzoMay 10, 2014 at 6:22 am #262719
Thank you for the update.
You can enable the custom field support for portfolio items if you edit includes > register-portfolio.php. Find this code on line 38:
'supports' => array('title','thumbnail','excerpt','editor','comments')
Replace it with:
'supports' => array('title','thumbnail','excerpt','editor','comments','custom-fields')
IsmaelMay 11, 2014 at 10:40 am #262883
This solution makes all the difference.
BTW, I’m using ENFOLD Child theme. Can I somehow put this solution in the child theme? That way when theme is updated I don’t have to change the register-portfolio.php again?
I tried copying it into the functions.php file of the child theme, but that doesn’t work.
GonzoMay 12, 2014 at 6:32 pm #263423May 13, 2014 at 6:13 am #263750
Thank you for the update!
@goncalo: Glad it worked. Please try to add this on the child theme’s functions.php:
add_post_type_support( 'portfolio', 'custom-fields');
@js: Thank you for following the thread. What are the issues that you’re having?
IsmaelMay 13, 2014 at 3:42 pm #263980May 14, 2014 at 5:12 am #264471
The issue with the text block has been fixed on the latest patch, 2.7.1. Do you mind if we take a look at your current website?
IsmaelJuly 25, 2014 at 2:44 pm #295956July 25, 2014 at 2:45 pm #295958
You must be logged in to reply to this topic.