• Resolved misterhayes

    (@misterhayes)


    My version is working fine, but here’s my question:

    Our blog is hosted by our state affiliate, and the post url has been switched from the title of the post to a number url http://blog.ceaohio.org/wordpress/?p=959 for example. I’m not able to switch the url naming process back.

    So, when the table comes up, I see /p?=959 for the link when it comes to shares and likes. There’s no way for me to remember and correlate those urls with the actual post.

    Is there a way to switch in the code so it displays the post title in the chart instead of the URL?

    This is a great plugin. Thanks for developing it!

    http://wordpress.org/extend/plugins/facebook-share-statistics/

Viewing 3 replies - 1 through 3 (of 3 total)
  • sjixxxy

    (@sjixxxy)

    If you are willing to dig into the source, it might be pretty simple. Just shooting from the cuff here by looking at the source.

    Line 110
    $linkstats['url_display'] = $sUrlDisplay;

    Try changing it to

    $pid = explode('p?=', $sUrlDisplay);
    $linkstats['url_display'] = get_the_title($pid[1]);

    Again. I haven’t tested this.

    Carmine Olivo

    (@carmine-olivo)

    Sjixxxy provided a good solution,

    the display of Titles instead of URLs is just implemented in the current development version:
    http://downloads.wordpress.org/plugin/facebook-share-statistics.zip

    Thank to misterhayes and Sjixxxy

    Thread Starter misterhayes

    (@misterhayes)

    Hey, you’re welcome. Thanks for the change, it’s much appreciated! FSS rocks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Facebook Share Statistics] Switch URLS to post title’ is closed to new replies.