New and Improved Shortcodes in PublishPress Authors

We’re starting a major set of improvements to the PublishPress Authors plugin. The goal of these upgrades is to add some key new features:

  • More customizable author pages.
  • The ability to display all of your authors on one screen.
  • Better support for the WordPress REST API.
  • More design and layout options for profiles.
  • Categories for Authors, so you can group them into “Writers”, “Photographers”, “Researchers” and other groups.

The first step is to improve the shortcodes in PublishPress Authors. These changes will form the foundation of several more of these upgrades.

In this post, I’ll explain recent changes to the shortcodes in PublishPress Authors. If you want to dig deeper, follow these links:


Shortcodes are easier to find

All of the shortcodes in PublishPress Authors are now available in the “Settings” area of the plugin. Previously, you had to visit the documentation on this website to find the shortcodes.

Shortcode Tabs
Shortcode Tabs

All Shortcodes have specific names

In previous versions of PublishPress Authors, the shortcodes had general names such as these:


                
                    

                    
                    
  • Steve is the founder of PublishPress. He's been working with open source software for over 20 years. Originally from the UK, he now lives in Sarasota in the USA. This profile is generated by the PublishPress Authors plugin.

Authors List

  • Alex Smirnov

    Alex, a WordPress enthusiast from the UK, helps our team by contributing to content creation, documentation, and testing. During his free time, Alex enjoys reading, working out, and taking long walks. He also finds relaxation and inspiration in exploring new books.

  • Anderson Martins

    Anderson has been a developer since 2002. He was born and lives in Maringá, Brazil. He loves to play classical piano, and has a passion for learning new things.

  • Jen Kuo

    Jen is a Content Consultant and Writer at JenKuo.com. She lives in Sydney, Australia and writes a weekly newsletter "Behind The Brand" where she shares her behind-the-scenes process of building a True North Business with purpose, profit, passion and play in the digital economy.

  • Jorge lived in Ecuador and Germany. Now he is back in his homeland of Colombia. He spends his time translating from English and German to Spanish. He loves to learn about open source technology.

  • Mirza is a coffee addict that switches between writing and football watching frenzies. Ever since he met the digital world, the keyboard is his main weapon and refuses to function without headphones and good tunes.

  • Olawale

    Olawale Adesina is a coder who lives in Ilorin, Nigeria. He has been working with PHP for nearly a decade, and has developed for WordPress since 2015.

  • T4su9ehsm U03srcbbfuz Bebadeadceb4 512

    Riza Maulana Ardiyanto, based in Kudus, Indonesia, is a dedicated support specialist at PublishPress. Outside of work, he’s an enthusiastic mobile gamer, always eager to explore new gaming experiences and challenges.

  • Steve is the founder of PublishPress. He's been working with open source software for over 20 years. Originally from the UK, he now lives in Sarasota in the USA. This profile is generated by the PublishPress Authors plugin.

  • Valentin Garcia

    Valentin Garcia is from Jalisco, Mexico. He is the lead designer at PublishPress. He built this website and is working to improve the PublishPress Blocks plugin.

We found that people were running into conflicts with some other plugins that used the same shortcode names. So the PublishPress Authors shortcodes now all have unique names. Your sites will still work if you’re using the old names, but we do recommend updating to the new versions.

[publishpress_author_box]

Authors List

  • Alex Smirnov

    Alex, a WordPress enthusiast from the UK, helps our team by contributing to content creation, documentation, and testing. During his free time, Alex enjoys reading, working out, and taking long walks. He also finds relaxation and inspiration in exploring new books.

  • Anderson Martins

    Anderson has been a developer since 2002. He was born and lives in Maringá, Brazil. He loves to play classical piano, and has a passion for learning new things.

  • Jen Kuo

    Jen is a Content Consultant and Writer at JenKuo.com. She lives in Sydney, Australia and writes a weekly newsletter "Behind The Brand" where she shares her behind-the-scenes process of building a True North Business with purpose, profit, passion and play in the digital economy.

  • Jorge lived in Ecuador and Germany. Now he is back in his homeland of Colombia. He spends his time translating from English and German to Spanish. He loves to learn about open source technology.

  • Mirza is a coffee addict that switches between writing and football watching frenzies. Ever since he met the digital world, the keyboard is his main weapon and refuses to function without headphones and good tunes.

  • Olawale

    Olawale Adesina is a coder who lives in Ilorin, Nigeria. He has been working with PHP for nearly a decade, and has developed for WordPress since 2015.

  • T4su9ehsm U03srcbbfuz Bebadeadceb4 512

    Riza Maulana Ardiyanto, based in Kudus, Indonesia, is a dedicated support specialist at PublishPress. Outside of work, he’s an enthusiastic mobile gamer, always eager to explore new gaming experiences and challenges.

  • Steve is the founder of PublishPress. He's been working with open source software for over 20 years. Originally from the UK, he now lives in Sarasota in the USA. This profile is generated by the PublishPress Authors plugin.

  • Valentin Garcia

    Valentin Garcia is from Jalisco, Mexico. He is the lead designer at PublishPress. He built this website and is working to improve the PublishPress Blocks plugin.


There’s a new Authors Data shortcode

The new “Authors Data” shortcode is a more flexible alternative to the basic Author Box shortcode. With this shortcode you can specify data from the authors attached to the post being viewed.

Steve Burge
Shortcodes Data

Here are some examples of data elements that you can show:

  • display_name
  • first_name
  • last_name
  • ID
  • user_nicename
  • user_email

Let’s see some examples. This shortcode will show only the first name of each author attached to the post:

Steve

This shortcode will show only the first name of each author, but separated with an asterisk:

Burge

This shortcode will show only the WordPress nicename of each author, only from the post with an ID of 32.

steve
PublishPress Authors Icon
  • Steve is the founder of PublishPress. He's been working with open source software for over 20 years. Originally from the UK, he now lives in Sarasota in the USA. This profile is generated by the PublishPress Authors plugin.

Leave a Reply

Your email address will not be published. Required fields are marked *