Categories for Custom Type Posts

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Categories for Custom Type Posts

This topic contains 39 replies, has 2 voices, and was last updated by John Pcholy Pcholy John 9 years, 6 months ago.

Viewing 15 posts - 1 through 15 (of 40 total)
  • Author
    Posts
  • #2165
    John Pcholy
    Pcholy John
    Participant

    Hey,

    great plugin!

    we have custom type posts (called “downloads”, please see attached png),

    for them we have Categories (“downloads – product categories”),

    when we select these Categories to be displayed on Frontend – they are not displayed.

    Any advice?

    Thanks!

    • This topic was modified 9 years, 7 months ago by John Pcholy Pcholy John. Reason: admin/sftp access
    #2167
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    I have a feeling that this is a yet unknown bug, if you don’t mind I would like to take a closer look to it. Can you please edit your ticket and add temporary ftp and administrator access? I would like to make some modifications on the search ode, and run a line to line debugging. Unfortunately I cannot reproduce this bug on my test servers, so I don’t know yet why it isn’t working.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #2182
    John Pcholy
    Pcholy John
    Participant

    Done.

    #2183
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    It looks like I have found the problem. It was a very strange bug, it took me almost an hour to find it. Basically something went wrong on saving the values, because a statement ended up being true, while it was false. I don’t know why, usually unexplainable bugs are related to PHP versions, but I don’t know if that’s the case. Anyways by just adding 1 extra line to the code it fixed everything. I’m definitely including this fix in the future updates.

    Thank you for the login details and for the prompt ticket.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #2184
    John Pcholy
    Pcholy John
    Participant

    Thanks a lot Ernest!

    Will you tell us where to add a line (and line itself) or email us updated plugin version?

    #2187
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Of course. Here is the version containing the changes, soon it will be available on codecanyon as well.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #2200
    John Pcholy
    Pcholy John
    Participant

    Thanks!

    #2236
    John Pcholy
    Pcholy John
    Participant

    Ernest,

    we have disable Google Autocomplete in backend – but it is still present in frontend.

    #2237
    John Pcholy
    Pcholy John
    Participant

    Please take a look.

    We added updated admin info for you.

    #2240
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    It’s working on my side. I tried the main page. For example I typed in “mariah”, it usually suggests “mariah carrey” but there are no suggestions. I also tried “iron” (for iron man), “food”, “drink”, but nothing. Are you sure it’s not working?

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #2246
    John Pcholy
    Pcholy John
    Participant

    Ernest,

    I’ve attached Snapshot, I Searched “Iron” – and there are many suggestions below the search bar.

    Any way to remove them?

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    #2248
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    I thought you meant search autocomplete not the keyword suggestions. I have turned them off for you. The option is at “General Options -> Behaviour -> Keyword Suggestion on no Results?” if you need to turn it on any time.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #2249
    John Pcholy
    Pcholy John
    Participant

    Our bet, sorry for confusion.

    Thanks!

    #2257
    John Pcholy
    Pcholy John
    Participant

    For Polaroid Results,

    Is there option to limit the size of Post Title by certain number of characters or words?

    Looks like very long Post Title gets over the border of Polaroid.

    Thanks.

    #2264
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    Only by writing a filter code.
    Put this to your theme functions.php file:

    function asp_shorten_title( $title ) {
        $length = 20;
        $title= (strlen($title) > $length) ? substr($title,0,$length).'...' : $title;
        return $title;
    }
    add_filter( 'asp_result_title_after_prostproc', 'asp_shorten_title' );
    

    This will cut down the title to max 20 characters. You can change the number to anything you want.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 15 posts - 1 through 15 (of 40 total)

You must be logged in to reply to this topic.