Quantcast
Channel: Site5 Free Premium WordPress Themes » All Posts
Viewing all articles
Browse latest Browse all 8865

Resume Javascript Problems in Child Theme

$
0
0

Hello.

I’ve created a child theme for Veecard and I’m having problems with the meta boxes when editing the resume.  Much of the functionality handled by Javascript is not working.  For example, when adding an entry under “Education”, the date picker does not appear.  After saving the entry, I can not edit it. I get the following error Javascript when I load the Edit page for a resume:

Error: TypeError: e is undefined
Source File: http://next.judithdavidson.ca/wp-admin/load-scripts.php?c=1&load%5B%5D=jquery,utils,plupload,plupload-html5,plupload-flash,plupload-silverlight,plupload-html4,json2&ver=3.5.1
Line: 2

A related problem that I discovered is in meta-box-setup.php, which sets 'use_with_theme' => true as part of the configuration for meta boxes. It should be 'use_with_theme' => get_template_directory_uri() . '/admin/meta-box-class' to ensure the edit and remove images are loaded properly in child themes. I’m currently accomplishing this in my child theme’s functions.php by removing the meta boxes, then re-adding them with a few extra fields (I’ve overridden the single-resume.php template as well). I should point out that the above error occurs with or without my customizations.

I would appreciate any help you could provide me. Thank you for your time.


Viewing all articles
Browse latest Browse all 8865

Trending Articles