using shortcode to display post title with link

Support General using shortcode to display post title with linkResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #11112
    @mindspark@mindspark
    Participant

    Hi - I'm using Beaver Themer to build a display template and would like to create the following display -

    "08/26/2018 | Post Title | Post Description"

    as far as I can tell, the basic shortcode displays custom field IDs, but the post title is not a custom field.

    any suggestions on how to create a shortcode that displays the Post ID with a link to the post?

    thanks!

    #11116
    Anh TranAnh Tran
    Keymaster

    Hi,

    Beaver Themer already has shortcode to insert post title. See these screenshots:

    https://i.imgur.com/sP03MpC.png

    https://i.imgur.com/yQi0jWB.png

    #11140
    @mindspark@mindspark
    Participant

    yes - but I need to display both the Post title / link and the custom field data side-by-side

    your themer integration doesn't allow for inline text so I have to use your shortcode... which doesn't explain how I can display the post title from your plugin.

    the BB shortcodes dont grab metabox custom fields, so I need both on a single line.... make sense?

    #11147
    Anh TranAnh Tran
    Keymaster

    When you select a field to connect, choose the Insert button, not Connect. That inserts a shortcode into the field. Then you can insert another shortcode, making them display inline.

    Please see this video:

    http://recordit.co/J2GDrpuays

    #11154
    @mindspark@mindspark
    Participant

    awesome!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.