[Resolved] Post Meta Side by Side to Content

Home Forums Support [Resolved] Post Meta Side by Side to Content

Home Forums Support Post Meta Side by Side to Content

  • This topic has 5 replies, 3 voices, and was last updated 6 months ago by Fernando.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2353939
    melvin wang

    Hi,

    I’ve a CPT name Portfolio. In the Single Portfolio layout i would like to have post meta side by side to content in desktop view, and the post meta will be above content in mobile view as this https://imgur.com/a/9Qdbxno

    Could you guide me to the right direction on how to achieve that?

    Thank you.

    #2354392
    Ying
    Staff
    Customer Support

    Hi melvin,

    I think you can create a block element – content template for the single portfolio

    The structure would be like:

    - Gird 
      - Container 1: content
      - Container 2: post meta
    
    - Container: related post

    You can set the container 2‘s order to -1 on mobile to make it appear on top of the left container.

    #2355110
    melvin wang

    Hi Ying,

    Thanks i successfully did that.

    - Gird 
      - Container 1: content (im using ACF wysiwyg editor)
      - Container 2: post meta
    
    - Container: related post

    The reason i want to use WYSIWYG editor is because our client is not familiar with block editor, thus we didnt enable “editor” in CPT but instead using ACF’s WYSIWYG editor. https://imgur.com/a/1QjqFxM

    May i know if i can how to output/display wysiwyg editor using “block element – content template for the single portfolio”?

    #2355836
    Fernando
    Customer Support

    Hi Melvin,

    You can use a Headline Block. Enable Dynamic Data in the Block settings. Set the source to Post Meta, and set the field to your field name.

    This should work in a Content Template as well.

    #2355924
    melvin wang

    Thanks Fernand.

    #2356009
    Fernando
    Customer Support

    You’re welcome Melvin!

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