Custom Fields
Re-Envisioned
Support General using shortcode to display post title with link

This topic contains 4 replies, has 2 voices, and was last updated by  @mindspark 12 months ago.

  • Creator
    Topic
  • #11112
    Resolved
    @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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #11116

    Anh Tran
    Keymaster

    Hi,

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

    View post on imgur.com

    View post on imgur.com

    #11140

    @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 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
    Participant

    awesome!

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.