Viewing 15 replies - 1 through 15 (of 15 total)
  • A quick look at the plugin page shows that you have to add in the php code to your template. Have you done this?

    *chuckle* I guess it’s not totally automatic like the plugin says that it is. ??

    Thread Starter susiej

    (@susiej)

    Every time I add <?php digg_this_button(); < ?

    I receive a Parse error, and my page doesn’t show up. I’ve tried putting it in the sidebar, and in the post and I get the same error.

    Shouldn’t it be
    <?php digg_this_button(); ?>

    Thread Starter susiej

    (@susiej)

    Thanks. I checked the readme file again, and it seems to be wrong. But I copied your version, and pasted it in the sidebar. No errors, my page shows up, but no button?

    The instructions on the plugin’s site are pretty clear:

    To use this, simply add <?php digg_this(); ?> or <?php digg_this_button(); ?> anywhere in your template (in “the loop”) you want to show the link back to digg.
    (emphasis mine!)
    The sidebar is NOT in the Loop!

    Thread Starter susiej

    (@susiej)

    I added it to the index — but digg is not showing up. Is that because it doesn’t reveal itself in my browser, as I’m the admin?

    Did you add it to The Loop? (on the plugin site “the loop” is a link to the codex explaining what the Loop is…)

    Thread Starter susiej

    (@susiej)

    Yes, I’ve put it in the main index template first, and it didn’t work. So I moved it to the page template, never one worked.

    Paste your index.php with the code added here:
    https://wordpress.pastebin.ca and post back the url.

    Thread Starter susiej

    (@susiej)

    Did you select the Digg category you wanted to use when writing your post? I’m pretty sure that’s the same Digg plug-in I had troubles with, until the creator pointed out to me that the Digg this per post doesn’t show up unless you’ve assigned a Digg category when writing or editing your post.

    I’d move it inside the entry: see >>
    https://wordpress.pastebin.ca/309945

    It seems you’ve implemented the plugin correctly. The reason why the button doesn’t show up however is that your story might not be dugg yet. The button only shows if your story has atleast been dugg once. The one needed digg isn’t hard to get though. You’ll recieve it when you post your article on digg.com. Your posts/articles will not end up automatically on digg.

    Thread Starter susiej

    (@susiej)

    Thanks for all of your help, badge seems to be working. Can I paste the “bookmark me on delicious” badge right after the “digg” badge on the page template?

    Thread Starter susiej

    (@susiej)

    Actually — the dig button only shows up when I click on the story from digg — and it takes me to the page that it’s on. The digg button doesn’t show up on my Home Page — just the page the article is on.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘digg button’ is closed to new replies.