WordPress.org

Ready to get started?Download WordPress

Forums

WP to Twitter
[resolved] Change #Hashtag for Tagname into @tag (3 posts)

  1. Imam Herlambang
    Member
    Posted 1 year ago #

    Hello,

    Thanks for great plugin,

    by the way, is there any way to change the default #tags# that will be modified to #hashtag, into @hashtag.

    I'm using twitter username (only username, not include '@' character) for tag in my site. So that when I posted new articles, the default #tags# will be @twitterusername.

    if I can change the code, which line in the code that must be I change?

    Thank You Joe

    http://wordpress.org/extend/plugins/wp-to-twitter/

  2. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    If you're using that tag on every post, you may want to simply place the @reference directly in your template - that would be easier.

    If you want to edit the core, you'd change the function generate_hash_tags in the file wp-to-twitter.php. Just change the # character in that function to an @.

  3. Imam Herlambang
    Member
    Posted 1 year ago #

    If you're using that tag on every post, you may want to simply place the @reference directly in your template - that would be easier.

    I'm only use one author in my site, thanks for this method.

    I prefer to edit the core files,

    Thank You Joe :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.