• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / How do I manually create a social share link?

How do I manually create a social share link?

  • Unknown's avatar
    lielowspark · Member · Feb 11, 2022 at 12:01 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hi there, so on my website I created a custom HTML social share buttons. It’s something I’ve never done before. I created the social share buttons on a template page which will be published once I add new blog posts to my website. So the problem that I’m facing is that I can’t add a specific url to the social share button as the urls will vary when i post blog posts. Therefore I need a shortcode or argument or something that will replace the page url to the current web page url everytime I add a blog post. Basically a way to replace the url of the social share link for each post. Just like on a social share button.

    Can anyone please help me with this? I have searched the internet and I can’t seem to get it right.

    Thanks,
    Dylan

  • Unknown's avatar
    staff-sheva · Staff · Feb 11, 2022 at 4:39 pm
    • Copy link Copy link

    Hi @lielowspark,

    Depending on the code that you used, this might not work on the free plan. If you were looking to create a shortcode, you can do this using a plugin on a Business plan or higher. You can review plan features and pricing here: https://wordpress.com/pricing/

    Otherwise, there are a few other ways to create social sharing button, as well as linking to your social media pages/profiles:

    * https://wordpress.com/support/sharing/
    * https://wordpress.com/support/wordpress-editor/blocks/social-links-block/
    * https://wordpress.com/support/menus/social-links-menu/

    Hope that helps!

  • The topic ‘How do I manually create a social share link?’ is closed to new replies.

Tags

  • blog
  • blogpost
  • post
  • share
  • shortcode
  • social share
  • template
  • url

About this topic

  • In: Support
  • 2 participants
  • 1 reply
  • Last activity 4 years
  • Latest reply from lielowspark

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions