Support » Plugin: A-Z Listing » Title of the posts

  • Hi there !

    I looked into the forum and doc but I am not sure I find what I have been looking for.

    So far, my listing is displaying the name of the posts, is there a way to change this name into the listing ? (but keeping the same title for the post)

    It would act like an alias.

Viewing 1 replies (of 1 total)
  • Plugin Author Daniel Llewellyn

    (@diddledan)

    Hi,

    You can customise the title before indexing by adding a filter function hooked onto a_z_listing_pre_index_item_title. The function will need to return the new title for each post. It is called once per post with the title, the corresponding WP_Post object, and the type of listing (terms or post. In this case it will be post).

Viewing 1 replies (of 1 total)
  • The topic ‘Title of the posts’ is closed to new replies.