-
AuthorPosts
-
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 #246275Hey neufold!
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.
Cheers!
DevinApril 18, 2014 at 8:26 pm #253277Excellent tip. Saved me a lot of time. Thanks.
Great product and user community.
April 18, 2014 at 10:00 pm #253304May 9, 2014 at 5:34 pm #262479Hi,
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?
Thanks,
GonzoMay 10, 2014 at 6:22 am #262719Hey!
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')
Regards,
IsmaelMay 11, 2014 at 10:40 am #262883Thanks Ismael!
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.Cheers,
GonzoMay 12, 2014 at 6:32 pm #263423This reply has been marked as private.May 13, 2014 at 6:13 am #263750Hey!
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?
Regards,
IsmaelMay 13, 2014 at 3:42 pm #263980This reply has been marked as private.May 14, 2014 at 5:12 am #264471Hey!
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?
Cheers!
IsmaelJuly 25, 2014 at 2:44 pm #295956Great tip! Saved me. :)
Enfold n00b
TimJuly 25, 2014 at 2:45 pm #295958September 24, 2014 at 6:05 pm #324461Thanks for this workaround, worked like a charm.
-
AuthorPosts
- The topic ‘Fix for disappearing Titles and Breadcrumbs’ is closed to new replies.