Comments (2)
Correct. You can force sharing, however, by adding the following to, e.g., your theme's functions.php
.
// Always share supported Post Types.
add_filter( 'share_on_mastodon_enabled', '__return_true' );
This filter supports additional parameters, too (like, if you wanted to share only certain categories, etc.): https://jan.boddez.net/wordpress/share-on-mastodon#share_on_mastodon_enabled.
from share-on-mastodon.
Excellent! Worked perfectly. Thanks for posting the code snippet. Closing issue...
from share-on-mastodon.
Related Issues (20)
- Customizing the post/toot HOT 14
- Custom Post Type posts again when updated HOT 4
- Revoke client ID and secret? HOT 1
- "Something went wrong contacting your Mastodon instance" HOT 13
- Syndication links HOT 2
- Requires manual update to toot HOT 3
- Store/display API client errors HOT 3
- register_post_meta should be called inside rest_api_init callback
- Featured image is posted twice to Mastodon HOT 7
- Error_log full of entries from the plugin HOT 8
- "Make syndication opt-in rather than opt-out" HOT 1
- Audio and video attachments HOT 4
- "Not allowed to edit ... custom field"
- Always share option not working HOT 1
- Display debugging tab only when WP_DEBUG is enabled HOT 1
- Supporting Syndication Links plugin HOT 6
- Small issue with footnotes HOT 2
- Add hashtag option HOT 1
- Gutenberg sidebar panel HOT 5
- On "forget," delete/untick the _share_on_mastodon field/checkbox only for Gutenberg HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from share-on-mastodon.