Support » Plugin: Block Lab » Internal link block

  • Resolved lenarb

    (@lenarb)


    Hi all,

    I am looking for a way to have blocks linking to internal posts, from a content page. It doesn’t seem to be possible with the normal version of the plugin.

    The final idea is to have a kind of a thumbnail with link to another already existing post, that shows the tile of post and featured image, custom excerpt.
    But that would be draggable and positionable where we want on the content page.

    Is there a way involving code to get this? I am a bit of a newbie with WordPress…

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Luke Carbis

    (@lukecarbis)

    Hi @lenarb.

    We’re working on a posts control right now actually, there’s an active pull request in our github repo and we’ll likely include it with the next version release.

    As a workaround in the meantime, you could use a number control and input the relevant post ID in the editor.

    Then in your template, you can use WordPress’ get_post() function with that ID to output the post details.

    I have reproduced this but it requires a lot of unnecessary manual input.

    You can see it in action here: https://www.bamapolitics.com/28516/al-medical-marijuana-substitute-bill-passes-house-committee/

    Would be nice to just input a post ID and then have it generate something like this.

    Plugin Author Luke Carbis

    (@lukecarbis)

    @bwbama absolutely! I think this sort of mid-page cross-post is a great idea for a block. It’s always going to require a little HTML templating, but with the Posts field now finished, it’s much easier.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Internal link block’ is closed to new replies.