Hello, so it’s very simple to add the Twitter official tweet button where I want it. And of course, for Tweet Text we should be using: <?php the_title(); ?> and <?php the_permalink(); ?> as the URL — and that all works fine.
But I’m looking for a way to have the text be the title and then the category (preferably as a hash tag…) before the URL. However, my php skills prevent me from being able to accomplish this.
Instinct tells me it should be <?php the_title(); ?> #<?php the_category(','); ?>
But that doesn’t work.
If it’s not clear, I want the output to be: “Review of New Record By The Beatles #reviews http://a.bc/def (via @mytwittername)”