StartBox icon indicating copy to clipboard operation
StartBox copied to clipboard

Theme options won't save if /startbox/ dir is named any differently

Open danhefferan opened this issue 12 years ago • 3 comments

Currently using startbox on a few different sites, and the theme options are working from some of my old installs of startbox, but any new install, the theme options won't save.

Example:

As I look at the fresh install, the first thing I try to change is going from excerpts on the main page to full posts, but as I hit save, it won't keep the option on full post.

I have troubleshooted by using old downloads, or fresh installs of WP. It doesn't make sense!

danhefferan avatar Feb 03 '13 21:02 danhefferan

Experienced something similar working locally. Make sure your theme directory is actually named /startbox and not anything else like /Startbox-master.

onefinejay avatar Feb 04 '13 21:02 onefinejay

Ah, yes! @danhefferan can you confirm that your StartBox dir was named something other than /startbox/?

This is a most curious bug simply because the handling of options is driven entirely by the WP Settings API, so the directory name should be irrelevant.

brichards avatar Feb 04 '13 21:02 brichards

@brichards: sure enough! The StartBox dir was named /startbox-master/ probably retained from the original download.

Great catch @onefinejay, I spent a lot of time this weekend beating my brain for a fix for this.

danhefferan avatar Feb 04 '13 23:02 danhefferan