• DIY-oik v1.4 fixes problems with Add-To-Any and Jetpack Related Posts

    DIY-oik v1.4 fixes problems with Add-To-Any and Jetpack Related Posts
    Last month a customer noted that the output of my Do-It-Yourself shortcodes plugin was interspersed with the share buttons from Add-To-Any. I reproduced the problem. I also discovered some strange behaviour with Jetpack. Today, while testing my fix I discovered another problem… Jetpack Related Posts attaches itself to the first invocation of ‘the_content’ filter.

    Problem with DIY-oik v1.3

    Here we have two DIY shortcodes. The first creates a link to oik-plugins.com, the other creates a link to oik-plugins.co.uk

    [loikp]
    [loikuk]
     
    This is how the loikp shortcode is coded.

    [bw_link oik-plugins.com title="oik-plugins - the home of lazy smart shortcodes" text="oik-plugins"]
     
    When these DIY shortcodes are used in a post then we can get unexpected results with Add-To-Any, Jetpack Sharing and Jetpack Related Posts. oik-plugins
    oik-plugins.co.uk

    Expected results

    Expected results- Jetpack Share This Related Posts and Add-To-Any

    • Jetpack’s Share this: buttons are also expected to appear below the content
    • The Related Posts section is supposed to appear at the end of the post!
    • Add-To-Any’s sharing links are also expected to appear only once

    Actual – unexpected results

    Unexpected results- Jetpack Share This Related Posts and Add-To-Any

    With DIY-oik v1.3
    • The Related section appears after the first DIY shortcode
    • Add-To-Any links appear after each DIY shortcode
    • Jetpack’s Share this: links are missing

    See also



    Published:

    Last updated:

    January 13, 2015

Tide times from tidetimes.org.uk

Tide Times & Heights for Langstone Harbour on
25th October 2026
03:28 – Low Tide ( 0.96m )
10:34 – High Tide ( 5.03m )
15:51 – Low Tide ( 0.91m )
22:49 – High Tide ( 4.95m )

Tide times from tidetimes.org.uk

Tide Times & Heights for Northney on
25th October 2026
03:25 – Low Tide ( 0.58m )
10:32 – High Tide ( 4.81m )
15:48 – Low Tide ( 0.51m )
22:46 – High Tide ( 4.74m )