Skip to content
AffiliateWP

AffiliateWP

Join 30,000+ Smart Business Owners who use AffiliateWP to Grow Their Revenue, FASTER!

Get AffiliateWP
See all Features
  • Features
    • Advanced Affiliate Tracking
    • 1-Click Payouts
    • Affiliate Growth Tools
    • Custom Affiliate Dashboard
    • Smart Commission Rules
    • Easy Setup
    • See all Features →
  • Integrations
    • WooCommerce
    • Easy Digital Downloads
    • PayPal
    • WPForms
    • MemberPress
    • GiveWP
    • See all Integrations →
  • Pricing
  • Help Center
    • Documentation
    • Support
  • Testimonials
  • Blog
  • Log In
  • Get AffiliateWP

Blocks for AffiliateWP

Last updated on July 28, 2022 by Andrew Munro
FacebookTweetLinkedInEmail

Blocks is a new free add-on for AffiliateWP that adds (yep, you guessed it) blocks. It provides an improved experience over shortcodes when using the WordPress block editor.

Shortcodes are neat (and aren’t going anywhere) but blocks can provide a visual representation for specific elements when working with AffiliateWP. As an example, instead of seeing the Affiliate Registration shortcode, you’ll see the entire form right within the block editor. Based on AffiliateWP’s settings, it will show or hide specific fields.

In total there are ten blocks, one for each of the shortcodes AffiliateWP currently provides.

Showing an affiliate their referral URL

Have you ever used the Affiliate Referral URL shortcode to display a referral URL to the logged in affiliate?

By using the Affiliate Referral URL block, you’ll now see how the referral URL will appear to affiliates when they view the page. You’ll no longer need to remember all the different shortcode parameters like pretty, format and url.

Just insert the block and configure the block’s options from the sidebar. As you update each option, the preview will instantly update within the editor.

If the user editing the page also happens to be an affiliate, they’ll see their real affiliate ID or username.

The WordPress editor showing the Affiliate Referral URL block
The Affiliate Referral URL block

Restricting content to affiliates (or non affiliates)

Any block added inside the Affiliate Content block will only be visible to logged in (and active) affiliates. There’s also a block for doing the opposite, only showing content to non affiliates.

When any block within the Affiliate Content block is focused, it will show a notice, reminding you who the block’s intended audience is.

The WordPress editor showing the Affiliate Content block
The Affiliate Content block

Give it a spin!

We’re excited at the possibilities blocks allow and we can’t wait to hear any and all feedback from you. There’s certainly a lot more we can do to further improve the experience.

Blocks is available now for all AffiliateWP users, and can be downloaded from within your WordPress admin, via the add-on page, or from the plugin page on WordPress.org.

Enjoy!

Add a Comment Cancel Reply

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

1 comment on “Blocks for AffiliateWP”

  1. Johnny says:
    July 27, 2020 at 12:26 pm

    Ooooh wow!

    Reply
AffiliateWP

Get the #1 Most Powerful WordPress Affiliate Plugin Today

Join 30,000+ Smart Business Owners Who Use AffiliateWP to Grow Their Revenue, FASTER!

Get AffiliateWP Now
  • How to Monetize a WordPress Blog (11 Explosive Strategies)
  • How to Set Up Referral Tracking for Ninja Forms (Guide)
  • Best Affiliate Plugins for MemberPress (2023)
  • How to Use WPForms Lead Forms in Affiliate Marketing
  • How to Set Up Affiliate Tracking for Gravity Forms (2023)

Connect with us:

  • Facebook
  • Twitter

Start Getting More Sales Today with AffiliateWP

Launch your affiliate program today and unlock a new revenue channel to grow your business faster.

Get AffiliateWP Now

Company

  • About
  • Press
  • Testimonials
  • Blog
  • Contact
  • Affiliates
  • Careers
  • Twitter
  • Facebook

Powerful Affiliate Features

  • Easy Setup
  • Advanced Affiliate Tracking
  • Smart Fraud Detection
  • Powerful Affiliate Management
  • Detailed Affiliate Reports
  • 1-Click Payouts
  • Custom Affiliate Dashboard
  • Smart Commission Rules
  • Unlimited Creatives
  • Affiliate Growth Tools
  • Fully Internationalized
  • Fully Customizable

Helpful Links

  • Support
  • Documentation
  • Integrations
  • WordPress Hosting
  • Start a Blog
  • Make a Website
  • Start a Store

Use Cases Section

Ecommerce Affiliate Software for:

  • WooCommerce
  • PayPal
  • WP Simple Pay
  • Easy Digital Downloads

Membership Affiliate Software for:

  • MemberPress
  • Paid Memberships Pro
  • LifterLMS
  • Restrict Content Pro
  • MemberMouse

Form Referral Tracking Software for:

  • WPForms
  • Formidable Forms
  • Gravity Forms
  • Ninja Forms
  • Contact Form 7

Our Brands

Connect with us

  • Twitter
  • Facebook
  • YouTube

Awesome Products Start with an Awesome Team.

Over 20 million sites use our software. We believe in creating awesome user experiences. Whatever the market conditions or current trends, you will always find Awesome Motive leading the way to help our customers gain competitive business advantage and stay ahead of the curve.

  • WPForms
  • OptinMonster
  • MonsterInsights
  • WP Mail SMTP
  • RafflePress
  • SeedProd
  • TrustPulse
  • AIOSEO
  • Smash Balloon
  • Easy Digital Downloads
  • WP Simple Pay
  • PushEngage
  • SearchWP
  • WPBeginner

Copyright ©  Sandhills Development, LLC.

Terms of Service
Privacy Policy
FTC Disclosure
Sitemap
AffiliateWP Coupon
wpbeginner verified

Share this ArticleLike this article? Email it to a friend!

Email sent!