patrickwgd
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [Captivate Sync] has_post_thumbnail filter breaking regular usageJust found this bug as well.
A simple guard clause to check what is being filtered would fix this.
For instance:
if (!is_object($post)) {
return $post;
}In the filter_has_post_thumbnail function.
Cheers
Forum: Plugins
In reply to: [Tito] Customising Shortcode StylesThanks Bill, much nicer!
Best,
Forum: Plugins
In reply to: [Tito] Customising Shortcode StylesThanks both, sorry for the delayed response.
I’ve got this working now.
If anyone needs an answer in the future, my steps were:
- Review “inline” documentation here https://ti.to/docs/api/widget#tito-widget-v2-plugins:~:text=use%20this%20plugin.-,Inline,-By%20default%2C%20the
- Review “mounting a js widget” documentation here https://ti.to/docs/api/widget#tito-widget-v2-javascript-api:~:text=make%20any%20calls.-,Mounting%20a%20widget,-You%20can%20use
- Then change the script that is added by Tito plugin at /tito/inc/scripts.php
- And change from rendering [tito] shortcode to rendering a div and script tags as in #2 above.
Forum: Plugins
In reply to: [Tito] Customising Shortcode Styles@laurin1 – thanks for looking into this!
Viewing 4 replies - 1 through 4 (of 4 total)