wordpress-activitypub icon indicating copy to clipboard operation
wordpress-activitypub copied to clipboard

Feature Request: Support for "more" delimiter

Open MatzeKitt opened this issue 2 years ago • 6 comments

What

I just came across a thing I don’t like for publishing the content of my posts. Would it be possible to add support for the “more” delimiter/block, that means that just the content above this delimiter is being posted in the Fediverse?

I tested [ap_content] as well as [ap_excerpt length="400"] and [ap_excerpt].

Why

I would find it more natural if it has the same functionality as WordPress itself so that you post only the content until the “more” delimiter.

And it’s a default WordPress functionality.

How

No response

MatzeKitt avatar Nov 09 '23 22:11 MatzeKitt

What may be helpful to know (which was not clear to me from the documentation) is that ActivityPub's [ap_excerpt] does support the_excerpt() if you supply it, i.e. the separate excerpt you can provide for each post in WordPress.

mdingemanse avatar Nov 26 '23 19:11 mdingemanse

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Mar 26 '24 01:03 github-actions[bot]

@pfefferle What would be the best shortcode name for it? Maybe something like [ap_short_description] or [ap_main] (the latter comes from the part of get_extended(), which I would be using in a PR to tackle this feature request.

MatzeKitt avatar Mar 29 '24 20:03 MatzeKitt

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Jul 28 '24 01:07 github-actions[bot]

These seems like reasonable requests from a functionality standpoint, @MatzeKitt. Weighing in because I don't want to see this get closed.

tomfinitely avatar Jul 28 '24 18:07 tomfinitely

I still have it on my list to create a pull request for it, but hadn’t yet the time to do so. 🥲

MatzeKitt avatar Jul 29 '24 06:07 MatzeKitt