• Hi,

    I’m web dev, but new in WordPress. In my WP site have posts with many customs fields (custom fields with ACF plugin).

    But where I can put the php code ? In the theme directory ? In the plugin ?
    And what can be URL in my post page ?

    Can someone help me to start ?
    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You could put it in your theme’s functions.php file, and then call the function in your template for single posts so that it echos that URL with a variable that will enter the Post ID, but then if you switch Themes you’d lose that, so personally I would make it a plugin, if I were you.

    Thread Starter nicopulse

    (@nicopulse)

    Ok thanks ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Code a really custom PDF EXPORT for posts.’ is closed to new replies.