• Phil H.

    (@pharlandyorkuca)


    Hello,

    Is there a way to use print my blog with inclusion of customs field content? (Currently I use Advanced CUstoms Fields and most of the important content I wish to print to pdf is in the custom fields). If not, is this in the works?

    Thanks for any info.
    Phil

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Michael Nelson

    (@mnelson4)

    Hi @pharlandyorkuca, thanks for reaching out and sharing what you’re doing.
    Currently, no. The Pro version (in progress, you can signup here to get a discount while its still new) could but you’d need to write your own custom template (and I haven’t documented how to do that yet).

    I had thought about automating that a bit. To give me some ideas, could you share what the custom field content is, and how you’d like it to display?

    Thread Starter Phil H.

    (@pharlandyorkuca)

    Hello Michael

    Thanks for answering so quickly. The website is quite specialized as it collects together ancient Greek inscriptions, so I use Advanced Custom Fields to collect various types of data for each archeological item. Then I generate each as its own post.

    What I was hoping to do was give the user the option of printing a specific item / post as a pdf but also to print many or all as a single pdf, which is what drew me to your plugin.

    Here is an example of a page where, in theory, I’d like a user to be able to print only the post information (drawn from custom fields) without the sidebar and the top bar: http://philipharland.com/greco-roman-associations/cult-table-with-members-of-a-koinon-thiasotai-ca-400-bce/

    Thanks for thinking about this.

    Phil

    Thread Starter Phil H.

    (@pharlandyorkuca)

    So in this case the pdf creator would in theory create a pdf from “Table …… Ναυσίστρατος.” (i.e. from the first word of the item/post title to the the last word of the Greek text, or perhaps the date translated or revised as well).

    Pretty specific 🙂

    Phil

    Thread Starter Phil H.

    (@pharlandyorkuca)

    Each of the types of information in that whole section are drawn from custom fields within ACF (fields such as “publication” “translation” “Greek text” “translator” etc).

    Plugin Author Michael Nelson

    (@mnelson4)

    Thanks for the examples and explanation.
    So I suppose right now you’re using a custom template with your theme which is fetching all those custom fields and putting them in the right place.
    I see that post’s traditional “content” seems to actually be blank, so pretty well all the information about the post is in the ACF data.

    So if PMB Pro just listed all the ACF fields and their values, that would probably be a pretty good start (and if you want a more custom display you could create your own custom template just like you’ve done on the web-view).
    Eg something like

    Table with a List of Society-members (ca. 400 BCE)
    Publication: {{publication ACF field value}}
    Translation: {{translation ACF field value}}
    Greek text: {{greek text ACF field value}}
    Translator: {{translator ACF field value}}

    Would that be helpful for you? Or would you be more likely to write a custom HTML template?

    FYI I have an issue on GitHub tracking requests for ACF integration like this here: https://github.com/mnelson4/printmyblog/issues/26. You’re not the first!

    I think I’ll try to finish up PMB Pro and get it released so everyone can use the existing features it has, then working on this. I’ll add a comment here when I have progress to report.
    I’d suggest you follow that issue on GitHub in case this issue gets archived and closed to new replies.

    Thread Starter Phil H.

    (@pharlandyorkuca)

    Yes, this sounds like something that would work. Yes, all the content I display is in the ACF custom fields and that is the same data that would need to be in a pdf for printing.

    Thanks for this.
    Phil

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Using with custom field content (in this case ACF)?’ is closed to new replies.