• Horizontally scrolling tables on narrow devices

    I’ve been looking at how to enable horizontal scrolling on tables created by the [bw_table] shortcode, when the device width is narrow. I want to be able to do it using CSS, without JavaScript. I also want to be able to style the table in the native Gutenberg blocks.

    Having looked at a couple of solutions, I believe I’ll be able to achieve it having the table nested in a Group block, and providing the CSS styling using my CSS block.

    [Read more…]



    Published:

    Last updated:

    June 29, 2020
  • oik-clone v2.0.0-beta-20200616 – cloning new content made easier

    Today, after many months of procrastination, I’ve implemented a small change to my oik-clone plugin that should significantly improve my publishing process. oik-clone now has the ability to automatically re-clone content with newly added (uncloned) featured images.

    The primary purpose is to ensure that the target system has the correct ID for the featured image.

    Original processNew process
    Create the content.Same
    Upload and attach the featured image.Same
    View the content.Same
    In the output of the [clone] shortcode select the post and the child attachment to clone. Click on cloneSame.
    Edit the content – check the SEO meta description, correct a typo or something, update the taxonomies then update.No need to edit. You’re done.
    View the content again.
    Clone the content again.
    Original process vs New process for cloning new content

    See bobbingwide/oik-clone#50.

    Clone/cloned output before cloning

    Post without a featured image. Note: post ID 50 was extracted from the github shortcode. It’s a red herring I’ve learnt to live with.

    Clone/cloned output after cloning

    [Read more…]


    ,

    Published:

    Last updated:

    June 16, 2020
  • How to hide a WordPress Multi Site site

    Using a plugin called network-privacy you can hide a WordPress Multi Site site so that it’s only accessible to a particular type of user.

    You can use this if you want to create a staging / development site within a WordPress Multi Site network.

    [Read more…]



    Published:

    Last updated:

    June 15, 2020
  • How to remove /blog/ from WordPress Multi Site permalink structure

    If you’ve ever converted a single installation of WordPress into a WordPress Multi Site ( WPMS ) network using subdirectories, you’ll have noticed that the prefix for blog permalinks for the primary site changes from https://example.com/
    to
    https://example.com/blog/

    If you are concerned that this new permalink structure will cause problems in the future then you may choose to remove the blog/ part.

    It is possible to remove this prefix

    • Login as a Super Admin
    • Go to Network Admin -> Sites
    • Choose the Main site and click on Edit.
    • Choose the Settings tab
    • Find the Permalink Structure text field.
    • Remove the /blog text, leaving /%year%/%monthnum%/%day%/%postname%/
    • Scroll to the bottom and Save Changes.

    Why would you want to do this?

    • So that permalinks for blog posts remain unchanged.
    • Because you think it would be better for SEO.
    • To prevent broken links.

    Caveats

    Some people say that making this change is not recommended. The reason for adding the blog/ prefix is to prevent conflicts with URLs in other sites in the network.

    If you do this on the main site of your network, you must make sure that none of your posts, categories, tags, or custom post types and taxonomies have a slug equal to the slug of a subsite.

    I did this on a local install, creating a subsite called 2020. Then I forgot about it, updated to WordPress 5.5-beta3 and thought the hack had stopped working. I’m going to have to fiddle with the new sub-site’s name now.

    [Read more…]


    ,

    Published:

    Last updated:

    July 23, 2020

Categories

Tide times from tidetimes.co.uk

Tide Times & Heights for Langstone Harbour on
Monday, 17 January 2022
Low Tide:04:19 ( 1.50m )
High Tide:11:20 ( 4.40m )
Low Tide:16:39 ( 1.20m )
High Tide:23:50 ( 4.40m )

Tide times from tidetimes.org.uk

Tide Times & Heights for Northney on
17th January 2022
04:27 Low Tide ( 1.31m )
11:23 High Tide ( 4.37m )
16:48 Low Tide ( 1.01m )
23:57 High Tide ( 4.33m )