1 reputation
bio website
location
age
visits member for 1 year, 1 month
seen Nov 15 at 11:45

Nov
5
comment Add theme options to custom post type admin pages
I've double & triple checked the map.php files. As long as the only things to change are the QodeMetaBox("post-type".. Then they are all correct. And they are added as you say, require_once("audio/map.php");require_once("video/map.php"); etc. it seems like the variables are being overwritten by each require but I would have thought the scope would be restricted to each file? It's very frustrating! Besides changing all the variables in each map.php, I can't think of anything else to do.
Nov
4
comment Add theme options to custom post type admin pages
Yeah, I've created 5 folders (audio, music, film, game, animation) with the map.php copied from page/map.php and all instances of "new QodeMetaBox("page".." changed to the appropriate page type ("audio", "music" etc.). All the Qode options are available in both posts & pages when there are no extra "required_once" but not available in pages when there are any extras added. Seems like there's a conflict in map.php? I can't see anything obvious though.. Thanks again for your help.
Nov
4
comment Add theme options to custom post type admin pages
Hi and many thanks for your answer. This works nicely except there are 5 different page types and it only seems to add the last require_once in the list in the qode-meta-boxes-setup.php. I've created each folder and updated the files appropriately. If I rearrange the list, it only works for the last one. Any ideas why that might be happening?
Nov
3
asked Add theme options to custom post type admin pages
Nov
10
comment sidebar hierarchical menu category & custom post type
The main course categories are set (audio, film, games, animation) but the courses are dynamic, as in they can add or remove courses in the backend. If the category is Audio (as is the case in the image), the courses in Audio are shown in the tree, and if one of the courses is selected the custom field headings are shown with anchor links to the section of the page. I've managed to (crudely) find and display the anchor links using get_custom_field() but can't figure out the tree structure. I could easily figure this out in Codeigniter/Laravel etc. but Wordpress hacking is new to me. Thanks.
Nov
9
asked sidebar hierarchical menu category & custom post type