• Resolved sivananthamd

    (@sivananthamd)


    i am using the custom field called cv_file, while i am trying to display the cv_file attachment in list i cant able to do.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Stefan van den Dungen Gronovius

    (@dungengronovius)

    Hi there,

    Can you explain to me what doesn’t work?
    Can’t you see any content or do you get an error?
    Our custom field column just read the value in the data and displays it in the column unless the data is serialized.

    Thread Starter sivananthamd

    (@sivananthamd)

    cv_file field is custom field with attachment type… but this value will be stored in wp_posts table with parent_post_id field. while i choose this field from dropdown i dont see any results in wp_admin… but now i made it work by changing the “/classes/Column/Meta.php (i added the condition for cv_file inside the get_meta_value function)

    Plugin Author Stefan van den Dungen Gronovius

    (@dungengronovius)

    Sorry, but I still don’t understand your use case.
    You say that the cv_file field is a custom field but not stored in post_meta but in the posts table? If that is true, then it is not a custom field at all and it’s understandable that the custom field is not working.

    Please notice that it is bad practice to alter the code in our plugin.
    Instead, you can better alter the value by using the following filter.
    https://www.admincolumns.com/documentation/filter-reference/ac-column-value/

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom field cv_file not loading’ is closed to new replies.