Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

[SOLVED] Shorten2Ping and Atahualpa


  #1  
Old Feb 21, 2010, 10:16 AM
Fabienne301
 
2 posts · Feb 2010
I am pretty new to WordPress but am learning very quickly. I found a nifty plugin for WordPress which allows me to post an update on my blog and have it sent to Facebook and Twitter so I only have to post once and I cover all my social media. It's called Shorten2Ping and works with Ping.fm.

I have a problem with it. It does post to Twitter and Facebook but the shortened URL through Bit.ly does not appear. So, I have a post which looks like this: Update from MyBlog-Look at this website- . The Bit.ly link is gone. I also cannot get it to show the regular link I would put in.

Why am I writing to you here and not to the guy who did the plug in? Because I read the readme file and found this:
= I want to show the short permalink to my visitors. How can I do this? =

Simply put <code><?php short_permalink(); ?></code> in your theme where you want to show short permalink. You can add the parameter 'linktext', <code><?php short_permalink('linktext'); ?></code> and it will use the short permalink as text for the link too. Or if you have advanced knowledge of WordPress
theme coding, you can get the <code>'short_url'</code> post meta directly and showing it as you like.
So my question is to Atahualpa, where would I put the code to show the short permalink? Do I put it in single.php? If so, where should it go? I am thinking I would use this one (<?php short_permalink('linktext'); ?></code>) just as it is (am I right?).

I am using Atahualpa 3.5.6 and Firefox latest.

Thank you for any help you can give me on this. I find that learning this new thing is delightful, but a bit frustrating at times. So, I appreciate the help.
  #2  
Old Feb 21, 2010, 12:31 PM
Fabienne301
 
2 posts · Feb 2010
I found out what the answer was and so I am posting it in case some other poor soul has the same problem:

I found out what the problem was. By going to Ping.fm and carefully reading what the instructions were, I realized that Ping shortens the URL automatically all by itself. That's right, you don't need to sign up for Bit.ly or any of the others if you are going through Ping.fm.

So, if you are using Shorten2Ping and you are not getting your URL's to show up, go back and take off the setting to shorten the permalinks with any other service, set that to "Nothing" and then give it a try. I think you will find that Ping.fm will shorten them all by itself.

Putting one other shortening service in there (like Bit.ly) just sort of countermands the way that Ping operates and so the link doesn't show up at all.

This worked for me, I hope it works for you. Shorten2Ping is a great plug in. ¡Muchas gracias, Sr. Aguilera!

Bookmarks

Tags
adding permalinks, shortened url's




All times are GMT -6. The time now is 08:36 AM.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.