Skip to: Meta fields

Team showcase website

Meta fields

When creating a showcase you probably need to show extra information for telephone numbers, position or e-mail. For this extra information (metadata) we can assign custom meta fields.

Admin side

If any meta data is created it will show up in the meta data field in team-showcase->members. Here you can fill in the member info that is needed in the showcase.

Only meta data is shown for the selected team showcase. if no team is selected there will be no meta data fields visible.

Meta data for a member

Config side

When creating a skin folder you can create your own meta fields in the config.php
For this you need to add it


 

This will show a new meta text field in wp-admin that has the label 'Position'

Html side

To load the content from the meta field into the html we need to add two things in the card.php or info.php

In top of the file we add



$member_meta = get_post_meta(get_the_ID(), "aws_ts_member_meta", true)

then in the code itself we can add this code to show the content when it is added into the meta field



 echo ( isset($member_meta["position"]) ? $member_meta["position"] : "" )

Ready to build better team pages?

Try our Beta version

What's so awesome about us?

  • Open source

    Our plugins are 100% open source and developed transparently on Bitbucket. Anyone can join the development and contribute.

  • Works with your theme

    Our plugins are carefully crafted to keep your site fast, the html is easy to read and extend and we provide the option to disable js and css files from the settings page.

  • Well documented

    Our plugins are well documented with in our knowledge base. It’s a great way to find instant answers or read tutorials to almost every question!.

  • Excellent support

    All our plugins come with full support. We’re here to help and offer expert advice on how to get the most out of your plugin.

  • Money back garantee

    We have a very simple refund policy. We will try to fix issues first. If we can't, we will definitely give your money back.

  • Regular updates

    We are regularly working to improve the plugin by adding new features, fixing bugs and keeping updated with the latest WordPress version.

Back To Top