Viewing 2 replies - 1 through 2 (of 2 total)
  • Hmm I could probably make this work, right now though, there’s no way to insert the ID, I’ll add that with the next release.

    1. Locate in sociable.php this line, somewhere around like 655: $post = $wp_query->post;

    2. After that line, add this line: $postid = $post->ID;

    3. Find this line, somewhere around line 692: $url = $site['url'];

    4. After that line, add this line: $url = str_replace('POSTID', $postid, $url);

    5. When making your link, change your URL from this:
    https://www.conerobynight.it/wo/wp-content/plugins/post2pdf/generate.php?post=##GLOBALID##\;Title=TITLE

    to this:

    https://www.conerobynight.it/wo/wp-content/plugins/post2pdf/generate.php?post=POSTID\;Title=TITLE

    It should work, if my assumptions are correct.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Sociable] Pdf icon and function’ is closed to new replies.