mirror of
https://github.com/Frumph/comic-easel.git
synced 2026-07-25 04:15:38 -04:00
[GH-ISSUE #6] Widget Logic, to include child chapters #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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')
@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