What are the Available Post Meta Functions and Parameters for Akkord Slider and how to use them?

 

You can have atmost two Post Meta Fields namely Meta 1, Meta 2  for displaying author and publish date of post/page mentioned in the Akkord slider => settings => Slides => Meta Fields bellow Slide Title section.

The fields are pulled dynamically and you can set what meta information should be displayed in those fields.

Currently there are four Meta Functions that can be used in the settings field.

  1. akkord_get_slide_author
    Meta Function to get author data in Post Meta field. For this function the function parameters can be WordPress ‘author’ object fields. For example

    • field=display_name
    • field=user_login
  2. akkord_get_slide_pub_date
    Meta Function to get the published date of Post/Page in any format in Post Meta field. For this function the function parameters can be any of the format specified in PHP Date Manual . For example

    • format=M j, Y
    • format=Y-m-d
  3. akkord_get_slide_category_name
    Meta Function to get the Post category/categories in Post Meta field. For this function the function parameters can be one of the below two, the first one showing the the first category to which the post belongs and the second one (all) showing all the categories to which the post belongs:-

    • show=first
    • show=all
  4. akkord_get_slide_comments_number
    Meta Function to get the post comments number in the Post Meta field. For this function the function parameters similar to comments_number WordPress function. For example:-

    • zero=No Response&one=1 Response&more=% Responses
    • zero=No Comments&one=1 Comment&more=% comments

Also you can specify what text (with html) you would want to display before and after the meta fields.