2181 Commits

Author SHA1 Message Date
Tetrakern
cc9e62d8b5 Refine handling of fictioneer_chapters_added meta
This controls the order of stories in the Latest Updates shortcodes and Stories template. Up to this point, it had been updated a bit too often and could cause confusion in the order of stories.
2024-10-06 15:54:22 +02:00
Tetrakern
a9d9e6a18f Add quality param to showcase shortcode
Allows to change the image size from default 'medium'.
2024-10-06 03:56:35 +02:00
Tetrakern
00197b5290 Fix typo in function name 2024-10-06 02:35:37 +02:00
Tetrakern
b9d18fedce Improve and fix hook list part 4 2024-10-05 23:05:32 +02:00
Tetrakern
49885b40ce Improve and fix hook list part 3 2024-10-05 22:45:57 +02:00
Tetrakern
3ee1156a23 Improve and fix hook list part 2 2024-10-05 22:11:21 +02:00
Tetrakern
693a7e63ee Remove obsolete and disabled repair actions 2024-10-05 21:38:46 +02:00
Tetrakern
209bb62cda Improve and fix hook list part 1 2024-10-05 21:27:08 +02:00
Tetrakern
997ff71b78 Extend chapter groups and add fictioneer_filter_chapter_group filter 2024-10-05 21:04:41 +02:00
Tetrakern
7aba027729 Add option to show modified date on stories
Instead of the publish date.
2024-10-05 16:24:41 +02:00
Tetrakern
155b9b9d78 Add fictioneer_is_local_environment()
This is purely for development purposes.
2024-10-05 16:11:05 +02:00
Tetrakern
2ccbb64f9a Fix SEO description default for front page 2024-10-05 15:39:13 +02:00
Tetrakern
492b7a915b Remove simple markdown from tooltip shortcode
You can just use HTML and this opened too many issues to be worth it.
2024-10-04 18:06:28 +02:00
Tetrakern
2b47c8ff1d Add tool action to fix missing post line breaks 2024-10-04 17:32:42 +02:00
Tetrakern
a19303e5a1 Add fictioneer_get_post_type_label() 2024-10-04 16:28:08 +02:00
Tetrakern
18c0b7d93f Fix Splide error if shortcode returns no results 2024-10-04 12:50:34 +02:00
Tetrakern
afdeac9b4a Add option to fix line breaks 2024-10-03 23:41:53 +02:00
Tetrakern
5634dd2c04 Use strong for tooltip modals instead of b 2024-10-03 21:48:39 +02:00
Tetrakern
6b89858086 Small update for tooltip modal 2024-10-03 21:35:48 +02:00
Tetrakern
3d82c66c98 Add fcnt shortcode for tooltips 2024-10-03 12:57:55 +02:00
Tetrakern
d2923e7605 Add fictioneer_filter_icon_menu_items filter 2024-10-03 00:23:57 +02:00
Tetrakern
6fd90ae145 Add missing underscore 2024-10-02 23:59:46 +02:00
Tetrakern
a6aff4a450 Replace _icon-menu.php partial with function 2024-10-02 23:57:12 +02:00
Tetrakern
2b6fe6d5f8 Ward icon sprite sheet against CDNs
SVG with use does not work with cross site loading.
2024-10-02 13:58:44 +02:00
Tetrakern
d9fdc094a3 Add utility to get translated post status label 2024-10-01 12:07:27 +02:00
Tetrakern
95213d8064 Ensure backwards compatibility for logo height 2024-09-30 00:26:54 +02:00
Tetrakern
5097ca1df0 Split logo height setting into min and max 2024-09-30 00:07:52 +02:00
Tetrakern
503d1cbdc8 Purge story card cache on certain option changes 2024-09-27 12:21:11 +02:00
Tetrakern
3e68f42098 Clarified self-deletion note 2024-09-27 12:01:17 +02:00
Tetrakern
8da88c4f42 Fix nested loop 2024-09-26 23:01:40 +02:00
Tetrakern
79d7c2b7d7 Update post check in self-delete
Look for anything valid.
2024-09-26 22:38:21 +02:00
Tetrakern
017cfff742 Optimize user self-delete and fix multisite
So apparently, on a multisite, deleting an user the normal way does not remove them from the network. Great. Wonderful _AMAZING!_
2024-09-26 20:02:22 +02:00
Tetrakern
6ed097ccda Optimize self-delete comment updates 2024-09-26 18:55:38 +02:00
Tetrakern
18492a9692 Remove deleted comment backup meta fields
Their usefulness is dubious at best and they take up unnecessary space.
2024-09-26 18:40:52 +02:00
Tetrakern
ee9d4cbaf6 Account for deleted chapter posts in story list 2024-09-26 18:20:39 +02:00
Tetrakern
c807d87939
Merge pull request #52 from iniznet/refactor/fictioneer_verify_unpublish_access
Allow overriding the fictioneer_verify_unpublish_access value
2024-09-26 11:57:01 +02:00
Tetrakern
e09c3ef8cc
Merge pull request #51 from iniznet/refactor/fictioneer_get_chapter_list_items
Allow fictioneer_get_chapter_list_items to be rendered in other statuses
2024-09-26 11:55:25 +02:00
Tetrakern
b04748ece0
Merge pull request #50 from iniznet/refactor/fictioneer_chapter_nav_buttons
Allow chapter navigation buttons to be rendered in other statuses
2024-09-26 11:55:10 +02:00
Tetrakern
a70ae72634
Merge pull request #49 from iniznet/refactor/chapter-appending
Customizable post status condition check when appending & indexed chapters
2024-09-26 11:54:45 +02:00
Tetrakern
2e8b81df98 Fix story chapter list permalinks always using the ?=ID strcuture
What such a small thing can do. Probably because the global $post is not set in the function, so giving the ID is more precise. Or whatever.
2024-09-25 22:58:53 +02:00
Tetrakern
800b47f709 Cosmetic changes 2024-09-25 22:34:47 +02:00
Tetrakern
0d58606498 Cosmetic changes and typos 2024-09-25 22:29:18 +02:00
Tetrakern
56a434a4c9 Code formatting
Just to appease my OCD; I don't like lines becoming so long they wrap on my end.The filter names are also a bit long, but I like them to be easy to understand in what their purpose is.

Also, I use the `[]` syntax for simple numerical arrays and `array()` for associative ones. There is an argument to use the long one and this is what the WP guide says... but I don't care.
2024-09-25 22:07:51 +02:00
iniznet
49448e4cf9 Refactor status condition check in fictioneer_get_story_chapter_posts to be customizable via filter hook 2024-09-26 02:18:54 +07:00
iniznet
7256e0be5c Refactor indexed chapter data to allow for custom statuses via filter hook 2024-09-26 01:59:32 +07:00
iniznet
0df77a6bc4 Remove prefix duplication in filter name 2024-09-26 01:44:00 +07:00
iniznet
e746df16ac Refactor also add other chapter actions 2024-09-26 01:41:55 +07:00
iniznet
f1e3bbec1b Rename to plurals 2024-09-26 01:32:50 +07:00
iniznet
53995d3d42 Refactor chapter appending logic to allow for custom statuses 2024-09-26 00:47:39 +07:00
Tetrakern
6d0c825c4d Make shortcode Splide initializer non-blocking
Whoops.
2024-09-25 17:17:46 +02:00