DRATS! NO SLIDES ADDED.
- This topic has 3 replies, 3 voices, and was last updated 11 years, 4 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
I don’t know if the issue I’m having is associated with the most recent fix that removed the restriction that only the main (WP Multisite) site could utilize the homepage widgets and slider (thank you for that fix!).
On my main subsite I don’t seem to have the ability to set up the CBOX Slider even though I have used both options as per the CBOX manual. In both setups I get no result other than the default DRATS! NO SLIDES ADDED.
I have tried both approaches – using Option 1 (Show Site Features) and Option 2 (Show Featured Posts by Category) – as per the CBOX documentation, and neither appear in the slider area of the Home page even though I’ve created a relevant Feature/Page as per the instructions. As well, I’ve changed the call-out text that get’s shown below the slider and that doesn’t appear either.
Could this somehow be related to the recent fix, or is it related to my newbieness?
Here are my Slider Settings:
Slider Setup
If you enable the slider you can choose what type of content you want to display. You can choose between displaying images or videos that you have added through the Site Features custom post type or showing images/videos from posts from a category of your choosing. If you choose the latter, there are some options you can set at the bottom of this page
Current setting – Show Featured Post from a Category
Slider Header
The call-out text that get’s shown below the slider
Current setting – “Test.”
Slider Configuration
The amount of time in seconds each slide shows
Time in seconds: 5
Transition time
The transition speed in milliseconds
Duration in milliseconds: 600
Featured Slider Category
From which category do you want to show posts? This ONLY works when your slider is set to to show Featured Posts
Current setting – Slider (a category I created)
Number of posts
How many posts do you want to feature?
Current setting – 4
… And I’ve ensured that the image I used has been set to be a featured image.
Please let me know if I’ve made a mistake or am missing something.
Thanks, and best regards … Michael
Hi Michael @michael-scott – I had a similar issue and thought the fix didn’t work until I looked closely and discovered that I’d left an extra trailing bracket in each file … looking closely at the github edit sheet and you will see a curly bracket on line 72 that needs to be taken out of setup-cbox.php. Likewise for line 60 of sidebars-cbox.php. This may offer your solution?
Re. child theme etc – you should only need to do the additions/changes to the child theme, which will over-ride the parent.
Hi Phil,
Thanks for your response.
I have to say that I’m now confused about the changes I made. As the only location where setup-cbox.php and sidebars-cbox.php existed in was /public_html/wp-content/themes/cbox-theme/engine/includes/, I had made the changes there (to the existing files in the parent theme).
So a few moments ago I reversed the changes and restored the original setup-cbox.php and sidebars-cbox.php files which I had kept a copy of and move the modified files across to my child theme at /public_html/wp-content/themes/causeaustralia/engine/includes/.
But now my causeaustralia subsite has no Site Feature option in the dashboard which had been resolved in an earlier fix … so I’m now plain confused as to what I should do.
I didn’t get an answer to my question a while ago as to whether I should modify the parent theme’s setup-cbox.php and sidebars-cbox.php files or establish new ones in the child theme, and, because I was able to access the Site Feature in my causeaustralia subsite I though the fix was a good one and assumed that I had done the right thing.
It looks to me now that I need to go back to what I originally did … modify the setup-cbox.php and sidebars-cbox.php in the /public_html/wp-content/themes/cbox-theme/engine/includes/directory … but I might wait in case I get further directions.
Thanks, and best regards … Michael
Hi Michael,
I would try by reverting or removing all changes that you’ve made.
You can also download the latest, bleeding version of cbox-theme to overwrite your changes:
https://github.com/cuny-academic-commons/cbox-theme/archive/master.zip