WordPress Plugin

Custom Tags

How to define custom tags for the status tags dropdown and autocomplete when configuring status text.

Information Icon

We’re still creating our videos and documentation, so some pages may be missing information. Please open a support request for any queries not answered here, and check back for videos and updated documentation soon.

The Custom Tags section provides options for defining any additional status tags to display in the Insert Tag dropdown, which is displayed for each status message in the Status Configuration.

For example, if you’re using Advanced Custom Fields or another Custom Field Plugin / code, which displays specific Custom Fields on a Post Type, you might want to add these to the Insert Tag dropdown, instead of having to remember the manual tag syntax every time.

In the WordPress Administration, click on Social Post Flow in the menu.

Social Post Flow: WordPress Plugin: Admin Menu

Click the Custom Tags tab:

Social Post Flow: WordPress Plugin: Custom Tags

Add Custom Tag

Social Post Flow: WordPress Plugin: Custom Tags: Adding

For the relevant Post Type, click the Add Custom Tag button to add a Custom Tag, completing the following fields:

  • Custom Field Key: The ACF / Custom Field Key.  For example, if you’ve registered an ACF Field called test, set this value to test
  • Custom Field Label: The label to display in the Insert Tag dropdown for this Tag.  In this example, you might set this value to Test
Information Icon

You don’t need to prefix the Custom Field Key with custom_field_, as you would if you were directly entering this tag into a status message.  Social Post Flow will prefix the tag with custom_field_ for you.

Information Icon

Looking to display data from Event, SEO or other Plugins (such as Yoast SEO or The Events Calendar) that store data against Posts? Check the Status Tags documentation to see if Social Post Flow already has native tags registered, as you may be able to use those and not need to register a Custom Field tag here.

Advanced Custom Fields

You can access the value of an Advanced Custom Field by using its Field Name in your status messages.

Taking the below example, where we have a Field Name of test in Advanced Custom Fields:

Social Post Flow: WordPress Plugin: ACF Field

You would use {custom_field_test} in your status messages, where the bold text denotes the Field Name in ACF above.

Information Icon

In your status message, custom_field_ must prefix the Field Name

Alert Icon

Make sure you are using the Field Name.  The Field Label and programmatic Field Key will not work.

Edit Custom Tag

For the relevant Post Type and existing Custom Tag, edit the Custom Field Key / Label fields as necessary.

Delete Custom Tag

For the relevant Post Type and existing Custom Tag, click the Delete link to the right of the Custom Field Label.


Published

Last Updated