Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Forum: Plugins
    In reply to: [Media Credit] show credit
    Thread Starter wellie1975

    (@wellie1975)

    Hi, I couldn’t remap the meta data, so I uploaded only the new design and restructured the live site. Thanks for your time.

    Forum: Plugins
    In reply to: [Media Credit] show credit
    Thread Starter wellie1975

    (@wellie1975)

    Hi, I changed the editor to Gutenberg in my Hello Elementor child theme. Currently the _media_credit values are stored in the existing database. When I connect to the new database, the _media_credit values are not visable. I tried to import the meta_key values into the new database, but this doesn’t work because the post_id’s are different. It there a way to map these values? All images on the new site have currently the absolute path, but the figcaption is not visable. Use https://www.amerikaonly.nl/florida-restaurants/ and try to link the image and show the media credit.

    Forum: Plugins
    In reply to: [Media Credit] show credit
    Thread Starter wellie1975

    (@wellie1975)

    Hi, thank you for the response.

    I exported the _media_credit values and imported them in the wp_postmeta table of the new database. On the page the image is set like <!– wp:image {“id”:43068 …} –><figure><img … class=”43068″>, etc.
    The post_id can be found now in the wp_postmeta table. What can I do to make the media credit visable on the new site?

    Thread Starter wellie1975

    (@wellie1975)

    Yes, It works!

    Go to /wp-content/plugins/gf-entries-in-excel/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/

    Line 181:

    if (strtolower($pFilename) == ‘php://output’ || strtolower($pFilename) == ‘php://stdout’) {
    $pFilename = @tempnam(PHPExcel_Shared_File::sys_get_temp_dir(), ‘phpxltmp’);

    and change the second line to:

    $pFilename = dirname(\__FILE__).’/’. rand(0, getrandmax()) . rand(0, getrandmax()) . “.phpxltmp”;

    Thanks!

    • This reply was modified 4 years, 8 months ago by wellie1975.
    Thread Starter wellie1975

    (@wellie1975)

    If you vote for one contestant, you can’t vote (or like) others. Is this still possible within the settings?

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