Support Forum » User Profile

Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: query post by custom field value #49795
    aryanrajaryanraj
    Participant

    Hi, the tutorial doesn't cover the custom table structure. please provide a relative example and code.

    Thanks

    in reply to: output full image for file upload thumbnail #49730
    aryanrajaryanraj
    Participant

    the issue is from WordPress media function so you can close it.

    in reply to: output full image for file upload thumbnail #49720
    aryanrajaryanraj
    Participant

    No, WordPress automatically generate a thumbnail image from the first page of a PDF filename-pdf.jpg

    This includes FULL and other sizes. Metabox File Upload field shows attachment preview thumbnail but the Thumbnail size it takes from /wp-admin/options-media.php

    My issue is i have disabled the other sizes generation so it only create one preview without cropping for thumbnail. Metabox doesn't seems to respect the default preview file and revert the svg icon.

    If you upload a pdf in Library, you can check the preview and generated sizes via FTP/SFTP. I am looking for a way to show default preview jpg file and not thumbnail size.

    in reply to: output full image for file upload thumbnail #49714
    aryanrajaryanraj
    Participant

    thumbnail for pdfs. unchecking the media thumbnails shows this SVG /wp-includes/images/media/document.svg. i want to use the default filename-pdf.jpg without the cropped/thumbnail version.

    in reply to: Table 'local.wp_mb_relationships' doesn't exist #49679
    aryanrajaryanraj
    Participant

    oh, i don't remember deleting this table but the fix worked. mark this as solved.

    in reply to: Table 'local.wp_mb_relationships' doesn't exist #49677
    aryanrajaryanraj
    Participant

    i don't see it is creating this table wp_mb_relationships. how to fix it?

    in reply to: trigger rwmb_after_save_post manually #49658
    aryanrajaryanraj
    Participant

    I manually uploaded through database using tableplus. I wonder if we can have anything that would click update button of the post so the rwmb_after_save_post run without touching each post.

    in reply to: imported data in custom table not showing in WordPress #49629
    aryanrajaryanraj
    Participant

    mostly the switch is OFF and file upload field is blank.
    sometime the switch is on and file upload is blank.

    in reply to: imported data in custom table not showing in WordPress #49628
    aryanrajaryanraj
    Participant

    Hi, there is a switch which is 0/1, if enabled shows a file upload field. When a book pdf is available, switch manually get ON/1 and file upload appear.

    mostly the switch is on and file upload field is blank.
    sometime the switch is on and file upload is blank.

    Switch field get 0/1 as per the condition but file upload field is not empty. I am using VARCHAR(2048) NULL for this field. should i remove the NULL?

    in reply to: getting post data in custom field #49627
    aryanrajaryanraj
    Participant

    Should i use rwmb_after_save_field or rwmb_after_save_post? also if you could share a function. it would be really useful for us.

    The reason is i don't want to write the book title again as it is already saving in post_title in wp_posts but it is not in custom table so i can export in csv.

    in reply to: imported data in custom table not showing in WordPress #49621
    aryanrajaryanraj
    Participant

    I understand now that it needs the data from wp_posts so that is what i need to import/export also. i am now looking for help regarding Q2 empty value saving NULL.

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