From 2d03a4db012df4a2615dda005804d2f7ca82da53 Mon Sep 17 00:00:00 2001
From: John Bintz
+
+
+ Once images are attached to a post, you can arrange them and associate sub-image types (such as RSS and Archive images) to their parent image.
+ The order in which images are sorted determines how they are returned by the M()
function, and attaching new sub-images to a parent
+ image causes that attached image to replace the original in calls to EM()
.
+
+ To make them easier you see, you can adjust the image thumbnail size using the zoom slider on the left. +
+ ++ If you attach new images using the Media Uploader, click the Refersh button to reload the ordering. Any changes not saved via Update post will be lost. +
+ ++ The options shown are with the post attachment backend. Different backends may offer additional options from the ones presented here. +
+ +
- R()
and RT()
find posts that are relative to the current or provided post.
- R()
returns the found post, while RT()
sets up the post so that you can use
- standard WordPress template tags on the found posts as if it was part of the current Loop:
+ R()
and RT()
find posts that are relative to the current or provided post.
+ R()
returns the found post, while RT()
sets up the post so that you can use
+ standard WordPress template tags on the found posts as if it was part of the current Loop:
@@ -23,109 +23,109 @@ Restore(); // restore the saved Loop postBasic Interactive Usage Sample
R() and RT() options
- Both
R()
andRT()
accept up to three parameters: + BothR()
andRT()
accept up to three parameters:@@ -149,25 +149,25 @@ R('previous', null, $other_post);Valid strings
- If you want a more sophisticated search, you can provide an array that, with each match, will add the matching categories to the search list. - You can preface any of the keys with an exclamation point to remove matches from the list. + If you want a more sophisticated search, you can provide an array that, with each match, will add the matching categories to the search list. + You can preface any of the keys with an exclamation point to remove matches from the list.
- If you're using RT()
tags to modify the current post, and need to work with the saved post, use Restore()
:
+ If you're using RT()
tags to modify the current post, and need to work with the saved post, use Restore()
:
@@ -235,3 +235,27 @@ if (apply_filters('comicpress-RT', 'last', array('child_of' => 'comic'))) { do_action('comicpress-Unprotect');+ +
+ SL()
and SC()
give you access to the current storyline category information.
+ SL()
lists all of the categories, in order, with the necessary metadata to traverse and understand the structure.
+ SC()
lets you quickly traverse the storyline, returning category objects as it goes.
+
+foreach (SL() as $category_id => $info) { + $category = get_category($category_id); + printf('Category %d is %d levels deep', $category->name, $info['level']); +} + +// by default, SC() returns categories relative to the current post +$next = SC('next'); +$previous = SC('previous'); +$parent = SC('parent'); + +// or you can provide a category to be relative to +$next_from_three = SC('next', 3); +$previous_to_chapter_four = SC('previous', 'chapter-four'); +\ No newline at end of file diff --git a/docs/images/comic-image-sorter.png b/docs/images/comic-image-sorter.png new file mode 100644 index 0000000000000000000000000000000000000000..57d097e332bf9d06217195a7758f12e092351d75 GIT binary patch literal 115395 zcmXte18`
`N$m=Prf8kEaTV}gk#ghO$i{`@hx9WfkhNykVF}B4h(}C4k4gK
zqD&Y`vK*IRP*8rjj7UU|pvn#zolaL&T;c<{`?Li6Gp3q*@o>Pm0shI~k1fX-`DWMV
zO6EJQh_e~JgW`FkvU3S303uLet#Ty+rlq= dK9^S
zNRMtm%sv9j;srwdNhb7#9I*aEcCyty ftmcOK&y|$?8wj#9Cvau{7B}W{_xh
z3~pgYoU-gfR!l>lTT!x9_&nD%JrVJ4B%K>=(hXCUQ`QTohO*2Xoy@^SPFp^6hE)1)
z%FNm1#!UAW%rdTYa90sa9x5!JY(jY(MK;PP#WT0voPX@;*f9g<&7T2arN$KdlyGq9
z0Z@Y)%av=FPb*ro(cI&Y#H?rZ{TwsA6U+Qz$W
znpE>HT$Gs14#zAdSguHjj%(VoUud49PoF+lDCBW*@yl1Po-}Eq{dIHaE(lhbMvR|G
z4KFHGEeDhkeN@lh15=VyPMp5jx?N+7-YAxckVFhN9axN}n3%b%cF$OSv}yBtM-Q(9
z!H||Uk4!q?NTV)eYt^gMyj5E;B>(_mgsf)pk{{Z2#2EddSN-Znodp8`hCpArVAKF$
zl}h91>qXP$vk;yS4D?3;s+d@x+@bcM9U@R(5bU7BOgcX<0AP$oB9R~noYGsa%(M|x
zcuN(Zo$(Kp*#A)ah%?;|oG9Z-A3w=wHz+unBEvJBNFvL0MxOqJG_?}mB1wifDt-Kw
zpXw%cRGZ}_pM4DLA1F(`-_QPsDD{v3$+!iU