Support Forums

Looking for support? You can access the support system via your account.

Dan Arsic

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Dan Arsic in reply to:
    Display custom meta value in results
    #202442

    Thanks for the support.
    Could you address me to which file is responsible for fetching the ID of Custom field maybe, maybe i can do something to fetch the label as well.
    We can close this thread with your answer.

    All the best.

    Dan Arsic in reply to:
    Display custom meta value in results
    #202305

    ID’s are correct, and yes i would like to get labels(values of the fields).
    Yes, it is seeing it as custom fields in custom meta option, and as well as in taxonomy search option.
    when its in custom meta option, when the option is set to automatically it sees ID’s and when its set to taxonomy it sees the values of those fields as it should.

    Dan Arsic in reply to:
    Display custom meta value in results
    #202271

    Hi,
    Yes it is, but let me explain,
    Example
    I made a CPT Books
    and made an taxonomy Published
    Taxonomy in the post Book is in form of a dropdown field that has options from the taxonomy, hence i think it doesnt detect it as a taxonomy but instead of it detects it as an Custom field. i think thats the problem but am not 100% sure.
    If i use search field in search and filter called taxonomy i dont get any options because they are inputted as an custom meta in the post itself, should i change all of them to be inputted as taxonomy in the post itself or is there an other way, where i can keep my dropdown custom post field in the post. Because i don’t like the option where an editor can check the checkmark of the taxonomy by accident like the book is “not published yet” and book is “published”

    All the best, and thanks for the support

    Dan Arsic in reply to:
    Display custom meta value in results
    #202185

    Thanks for the guidance,
    i found out solution for displaying pods CPT with Search and Filter

    
         $params = array( 
        'where'=>"t.ID = '".get_the_ID()."'" 
    ); 
    
    $mypod = pods( 'nameofthepodyouaretryingtofind', $params ); 
    
    while ( $mypod->fetch() ) { 
      $name = $mypod->display( 'nameofthefieldinthepod.name' );
    	
    }
    
    echo $name;
    

    i have additional question though
    when im configuring my search and filter
    added a post meta field
    under
    Options

    Get Options:
    when its under automatically i get ID’s instead of values
    i need to add option manually and rename them, but that will become a pain once stuff get to pile up and when there is always new stuff to add.
    any suggestions?

    Dan Arsic in reply to:
    Display custom meta value in results
    #202133

    Hi, im using pods for CPT, and search filter plugin is able to search them by their Custom fields. Ill try these solutions you wrote above, hope it works. Will let you know.

Viewing 5 posts - 1 through 5 (of 5 total)