• Resolved Agnes

    (@agneslesagegmailcom)


    I understand it is easy to add a shortcode to embed a document based on its URL.
    My situation is: I have a full library with custom posts who have a custom field for documents URL.
    Is there a way I could change my template to call for these URLs =with Embed PDF? in PHP.
    Thanks fotr the help
    Agnes

    https://wordpress.org/plugins/dirtysuds-embed-pdf/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Pat Hawks

    (@pathawks)

    If you are doing custom PHP stuff, it would be easier/quicker to bypass the plugin altogether and just create the embed code from scratch.

    You can take a look at the source of the plugin to see what needs to be done.

    Thread Starter Agnes

    (@agneslesagegmailcom)

    That is right!
    I have just “view source” and copied the code, which in fact is very simple”
    Thanks 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using into templates with a custom field’ is closed to new replies.