Skip to main content

custom post type in video

Comments

4 comments

  • KC George

    Hi Riaan,

    You are right. If you add a video link custom field using PODS, you cannot access it using the video element. Let me suggest a work around

    1. Delete the custom field you have added to Video custom post type
    2. Install the plugin 'Advanced Custom Fields' (ACF)
    3. Add "Video Link" custom field using ACF to Video custom post type
    4. Add the video link dynamically to the Video element using the "Video Link" custom field

    Please watch this video for more detailed procedure. https://jmp.sh/fxZ0Xte
         

    0
  • Riaan Oliver

    Thank you very much KC George, this was very helpful. I really appreciate the time you took to assist me with this issue.

    Best regards,
    Riaan

    0
  • Riaan Oliver

    Hi there, this is a great solution for videos, but does not work for images, any suggestions on how this can be used for images?

     

    0
  • KC George

    Hi Riaan

    A similar procedure can work for adding dynamic images using ACF. Here is how you do it. https://jmp.sh/CYWNu0V 

    0

Please sign in to leave a comment.