58 Commits

Author SHA1 Message Date
Tetrakern
e58fb9ed6d Move cookie partial into shortcode function 2024-08-22 20:26:14 +02:00
Tetrakern
61bfbd49bc Add list type to shortcode and then some 2024-08-21 22:54:08 +02:00
Tetrakern
8935606d0c Add footer_* params to Article Cards shortcode 2024-08-18 22:39:22 +02:00
Tetrakern
223aac49d1 Add footer_* params to Latest Updates shortcode 2024-08-18 22:09:18 +02:00
Tetrakern
250f3eb1fe Add classes shortcode param as alias to class
Why not?
2024-08-18 22:08:43 +02:00
Tetrakern
4384ecc3c0 Add footer_* params to Latest Chapters shortcode 2024-08-18 21:34:32 +02:00
Tetrakern
dcda0d21cd Fix multi-save guard and add setting to let REST requests pass 2024-08-17 17:27:09 +02:00
Tetrakern
dee3c86074 Fix Transient key for blog shortcode 2024-08-17 15:38:55 +02:00
Tetrakern
4af1582e50 Improve multi-save guard checks
A bit ugly, but this covers all special cases with the damn editor and its antics.
2024-08-16 23:38:21 +02:00
Tetrakern
810573943a Add source param to Latest Chapters/Updates shortcode 2024-08-14 15:17:42 +02:00
Tetrakern
3b230c5f65 Add infobox param to compact card shortcodes
And fix Latest Stories info box if taxonomies are disabled.
2024-08-14 01:48:21 +02:00
Tetrakern
598b1be554 Disable excerpt filters in sidebar 2024-08-09 09:53:21 +02:00
Tetrakern
1757e3d3df Improve sidebar shortcode 2024-08-03 20:40:13 +02:00
Tetrakern
541b78d2d0 Add single param to Latest Updates
In addition to the type, this works for all.
2024-07-25 00:31:41 +02:00
Tetrakern
5a82b6679e Add single variant for Latest Updates shortcode 2024-07-24 12:33:11 +02:00
Tetrakern
e3448c1e79 Add option to override chapter status icons 2024-06-29 13:37:55 +02:00
Tetrakern
ea9bd4b135 Use calendar as icon for scheduled chapters
If displayed via custom filter.
2024-06-20 16:03:27 +02:00
Tetrakern
44abf72c99 Make argument array more concise 2024-06-20 16:02:31 +02:00
Tetrakern
11d021ae3a Use lock as chapter icon if protected 2024-06-20 14:59:57 +02:00
Tetrakern
eedde757f6 Code formatting fixes 2024-06-17 22:12:39 +02:00
Tetrakern
5a72abf9ec Add missing condition to sidebar shortcode 2024-06-13 14:51:01 +02:00
Tetrakern
1af803bac5 Add sidebar shortcode, improve implementation 2024-06-13 14:25:56 +02:00
Tetrakern
8034df2614 Add words and date params to Latest Updates shortcode 2024-05-29 00:01:31 +02:00
Tetrakern
5978b395c4 Add preselect term params to search form shortcode 2024-05-24 14:21:50 +02:00
Tetrakern
e20d0ae27e Add constant for default chapter icon 2024-05-23 20:30:08 +02:00
Tetrakern
d952c7011e Filter and improve chapter icon output 2024-05-23 20:16:39 +02:00
Tetrakern
3f954b7e89 Add query name to chapter list shortcode
Makes it easier to intercept with a filter.
2024-05-23 17:38:05 +02:00
Tetrakern
a3e093911e Improve bookmarks shortcode 2024-05-15 11:35:14 +02:00
Tetrakern
13a1b5446f Update _setup-shortcodes.php 2024-05-15 09:49:51 +02:00
Tetrakern
d41ae8f799 Add card image style Customizer option 2024-05-14 19:18:37 +02:00
Tetrakern
2e25a6c7c0 Optimize templates
Reduce code and avoid some redundant calls of post_password_required().
2024-05-10 01:45:56 +02:00
Tetrakern
fa6c989b00 Add missing params to shortcode doc comments 2024-04-25 14:18:57 +02:00
Tetrakern
16f9901af5 Prevent potential error due to wrong IDs 2024-04-18 21:33:18 +02:00
Tetrakern
5df8f19485 Add lightbox shortcode param 2024-04-18 16:09:27 +02:00
Tetrakern
54bc72310a Add name classes to new shortcodes 2024-04-18 12:27:49 +02:00
Tetrakern
fb7becaa4e Clean up some code 2024-04-18 12:27:14 +02:00
Tetrakern
1257fa1804 Add thumbnail param to card-based shortcodes 2024-04-18 12:03:00 +02:00
Tetrakern
40d7bed3b9 Fix shortcode source and spoiler params 2024-04-18 02:18:36 +02:00
Tetrakern
e95cdc4652 Fix empty returns of shortcodes 2024-04-17 17:22:45 +02:00
Tetrakern
5bfc8d82b9 Add style parameter to story_comments shortcode 2024-04-16 15:34:35 +02:00
Tetrakern
901d1ee9bb Add font_awesome shortcode 2024-04-16 14:43:20 +02:00
Tetrakern
49f0ff91db Update doc comment 2024-04-16 14:12:06 +02:00
Tetrakern
4a7f4f5ad2 Update shortcode relationship registry 2024-04-16 14:02:03 +02:00
Tetrakern
8c13556314 Add fictioneer_story_data shortcode 2024-04-16 13:56:14 +02:00
Tetrakern
e3c880d3b0 Fix wrong variable name 2024-04-16 13:51:11 +02:00
Tetrakern
97ff53a666 Add story_comments shortcode 2024-04-16 11:50:11 +02:00
Tetrakern
b3fae75467 Add missing FILTER_VALIDATE_BOOLEAN 2024-04-16 11:34:00 +02:00
Tetrakern
1062d90fd2 Add subscribe_button shortcode
Only the subscribe button.
2024-04-15 20:49:43 +02:00
Tetrakern
4a6e5914bf Replace _share-buttons-php partial 2024-04-15 12:02:28 +02:00
Tetrakern
6b1e936325 Cleaner implementation of story button removal 2024-04-15 11:09:17 +02:00