Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Add revisions for portfolio items #639337

    Ismael,
    Thanks for helping with this issue! It is now working perfectly!

    Regards,
    John

    in reply to: Add revisions for portfolio items #638040

    Morining Rikard, I hve added the access information in the private content section.

    Thanks,
    John

    in reply to: Add revisions for portfolio items #637612

    HI, i ADDED THE CODE BUT i AM GETTING THE FOLLOWING ERROR WHEN i OPEN MY WEBSITE:

    Fatal error: Call to undefined function add_filter() in /home/storage/2/69/39/tenstep/public_html/tenstep/wp-includes/functions.php on line 5175

    Below is the last few lines of code from the functions.php file located in the wp-includes file. Am I missing something?

    Thanks,
    John

    —————————————–
    <?php
    }

    /**
    * Parses and formats a MySQL datetime (Y-m-d H:i:s) for ISO8601/RFC3339.
    *
    * Explicitly strips timezones, as datetimes are not saved with any timezone
    * information. Including any information on the offset could be misleading.
    *
    * @since 4.4.0
    *
    * @param string $date_string Date string to parse and format.
    * @return string Date formatted for ISO8601/RFC3339.
    */
    function mysql_to_rfc3339( $date_string ) {
    $formatted = mysql2date( ‘c’, $date_string, false );

    // Strip timezone information
    return preg_replace( ‘/(?:Z|[+-]\d{2}(?::\d{2})?)$/’, ”, $formatted );
    }

    add_filter( ‘avf_portfolio_cpt_args’, ‘enfold_customization_revisions’, 1 );
    function enfold_customization_revisions( $args ) {
    $args[‘supports’] = array( ‘title’, ‘thumbnail’, ‘excerpt’, ‘editor’, ‘comments’, ‘revisions’ );
    return $args;
    }
    ————————————-

    in reply to: MailChimp API not connecting #554088

    Tried to load the code as described, but once done and could not access my site anymore. I would receive a ” Parse error: syntax error, unexpected T_FUNCTION in /home/…/subdomain/wp-content/themes/enfold/functions.php on line 520.

    Once I remove the code via FTP, everthing return to normal. I still have the problem, but my site is ok! Thank god! Not sure what happened, any ideas?

    in reply to: MailChimp API not connecting #553147

    Where do I find the functions,php file? Which folder is it in? Where exactly would I add this code within the functions, php file?

    Thanks in advance for your help!

    in reply to: MailChimp API not connecting #552656

    Has this issue been resolved? I am facing the same problem! http://www,tenstep.com.br/tenstep

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