Forums

digg button (16 posts)

  1. susiej
    Member
    Posted 5 years ago #

    I downloaded the plug in from http://www.aviransplace.com/index.php/digg-this-wordpress-plugin/
    and loaded into the wp plug in, and activiated the plug-in, but I'm not seeing the digg button anywhere on my page. Does it only show up on other browsers and not my own? http://www.susiej.com
    Thanks

  2. drmike
    Member
    Posted 5 years ago #

    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. :)

  3. susiej
    Member
    Posted 5 years ago #

    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.

  4. MichaelH
    Volunteer
    Posted 5 years ago #

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

  5. susiej
    Member
    Posted 5 years ago #

    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?

  6. moshu
    Member
    Posted 5 years ago #

    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!

  7. susiej
    Member
    Posted 5 years ago #

    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?

  8. moshu
    Member
    Posted 5 years ago #

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

  9. susiej
    Member
    Posted 5 years ago #

    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.

  10. moshu
    Member
    Posted 5 years ago #

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

  11. susiej
    Member
    Posted 5 years ago #

  12. RagManX
    Member
    Posted 5 years ago #

    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.

  13. moshu
    Member
    Posted 5 years ago #

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

  14. Auke
    Member
    Posted 5 years ago #

    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.

  15. susiej
    Member
    Posted 5 years ago #

    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?

  16. susiej
    Member
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags