[GH-ISSUE #6] Widget Logic, to include child chapters #6

Closed
opened 2026-06-06 22:28:57 -04:00 by yindo · 1 comment
Owner

Originally created by @thirdpotato on GitHub (Jan 21, 2014).
Original GitHub issue: https://github.com/Frumph/comic-easel/issues/6

Hello, I'd like to have widget logic work to check children chapters as well if you put in the single ID # of the chapter.

I have one chapter on my site that I create an infinite many numbers of child chapters for. It's becoming a pain to have to manually add every child chapter in the widgets in which I want them to appear.

Like the chapter I want this widget to apply to is called: "Scenes"
Currently there are no posts in Scenes, but there are multiple Child Chapters with posts in them inside of Scenes.
I want the widget to apply to everything in Scenes and its subchapters when I type ceo_is_chapter('scenes')

Originally created by @thirdpotato on GitHub (Jan 21, 2014). Original GitHub issue: https://github.com/Frumph/comic-easel/issues/6 Hello, I'd like to have widget logic work to check children chapters as well if you put in the single ID # of the chapter. I have one chapter on my site that I create an infinite many numbers of child chapters for. It's becoming a pain to have to manually add every child chapter in the widgets in which I want them to appear. Like the chapter I want this widget to apply to is called: "Scenes" Currently there are no posts in Scenes, but there are multiple Child Chapters with posts in them inside of Scenes. I want the widget to apply to everything in Scenes and its subchapters when I type ceo_is_chapter('scenes')
yindo closed this issue 2026-06-06 22:28:57 -04:00
Author
Owner

@Frumph commented on GitHub (Mar 18, 2015):

ceo_test_is_chapter_in_story($story_id = 0)

did you try that function yet? uses the ID not the slug

<!-- gh-comment-id:83269625 --> @Frumph commented on GitHub (Mar 18, 2015): ceo_test_is_chapter_in_story($story_id = 0) did you try that function yet? uses the ID not the slug
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Frumph/comic-easel#6