WordPress.org

Support

Support » Plugins and Hacks » COP PDF Attachment Menu » [Plugin: COP PDF Attachment Menu] Can it be used outside the post?

[Plugin: COP PDF Attachment Menu] Can it be used outside the post?

Viewing 1 replies (of 1 total)
  • Plugin Author Trevor Green

    @trevogre

    Sorry for the slow response, apparently I’m not getting the emails from this forum. Have to look into that.

    The default functionality is to use:

    ‘post_parent’ => get_the_ID(),

    That is a shortcode argument so you can use [pdfmenu post_parent=”(post)”]. Or in your php:
    do_shortcode(‘[pdfmenu post_parent='” . $wp_query->post->ID . ‘”‘);

    The plugin could also be changed to use: ‘post_parent’ => $wp_query->post->ID;

    So you can certainly make that change and I believe all you have to do is change the name of the plugin in the file and it won’t get future updates. (I don’t have any planned currently).

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: COP PDF Attachment Menu] Can it be used outside the post?’ is closed to new replies.
Skip to toolbar