1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Is there any way to do this?

Discussion in 'WordPress' started by Divvy, Jul 28, 2019.

  1. #1
    Hello guys,

    Can someone give me a little help and advice?

    1- I'm using custom fields in a custom post type:
    Screenshot: https://monosnap.com/file/Vm0R1NazOeH7Y4xqNUldJd61SQkkC7

    2- And I'm using these custom fields too:
    Screenshot: https://monosnap.com/file/X3ikqRBbjR0OCPxeg01Gq61oqT8uxc

    At the moment, I need to check manually the 2nd custom fields, one by one.
    Is there any way to automatically check the 2nd custom fields when the sitename is the same in 1st custom fields?

    For the first custom posts (sitename.com) I'm using the plugin "Advanced Custom Fields".
    Screenshot1: https://monosnap.com/file/Kx2fNDjBSYkV1B64bkMCXbzO41eq4k
    Screenshot2: https://monosnap.com/file/V8jim7mK2KiJe7glZO13gxX4WmY6lo
    Screenshot3: https://monosnap.com/file/pXfFPFtep2q8DcG0spNsAA0gpbpD91
    SEMrush
    And the second (checkboxes) I'm using a code in the functions.php: https://paste2.org/fPZ3DW7b

    Or do you think is better to create SQL query and run every time I want to update these data?
    phpmyadmin sql search: https://monosnap.com/file/wPVaWORpQOQz5IsyH29xRM80udh2PU

    What's the best option for me?

    I'm not a native English speaker, so I don't know if I explained well and if you understand what I need.

    Thank you in advance :)
     
    Divvy, Jul 28, 2019 IP
    SEMrush