Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Questions Regarding Advanced Title Fields › Reply To: Questions Regarding Advanced Title Fields
Hi Michael,
Sorry about the late response, I did see your requests. I was trying to come up with something for the content type/taxonomy request, but unfortunately I could not find a suitable solution.
Content-Types in Titles
I think I understand this now – you need to ‘separate’ the taxonomy content type filter into two parts based on the taxonomy. Unfortunately this is still not going to be possible. I was thinking of a possible approach, by somehow using the taxonomy field within the terms query, but it is too complicated to make it work on both the filters and the query itself at this state.
Including the Post-Formats in Titles (In Addition to the Content-Types)
I have updated the code. You will notice three new variables there:
– $display_post_format (true) -> If you want to display the post format
– $display_pf_post_types -> array of post types, on which the post format should be visible
– $post_formats -> array of post format slugs -> labels. You can add/edit format slug->label combinations here.
I believe the rest of the points were discussed. Let me know!