2ответ(ов) в теме
Здравствуйте! Уже давно приобрела данный плагин но всё бьюсь и никак не получается сделать совместную работу "Advanced comment image" и "Gallery Recall".
Для корректной работы плагина, родительский блок div должен иметь класс demo-gallery.
В Gallery Recall я изменяю:
$content .= '<div id="attach-data-'.$id_attach.'" class="attach-data-grcl"><a class="close-gallery" href="#"></a>';на
$content .= '<div id="attach-data-'.$id_attach.'" class="demo-gallery"><a class="close-gallery" href="#"></a>';
$attachlist = '<ul class="gallery-attachments" id="files">'.$attachlist.'</ul>';на
$attachlist = '<ul class="demo-gallery" id="files">'.$attachlist.'</ul>';
Я дальше не знаю как правильно всё очень криво отображается и многие функции не подхватывает. Подскажите пожалуйста что я не доглядела?
Fatal error: Uncaught Error: Call to undefined function ads_get_box() in /var/www/www-root/data/www/codeseller.ru/wp-content/themes/codeseller/includes/adv.php:15 Stack trace: #0 /var/www/www-root/data/www/codeseller.ru/wp-includes/class-wp-hook.php(310): add_adv_content_after_first_forum_post('pfm-single-post...', '/var/www/www-ro...') #1 /var/www/www-root/data/www/codeseller.ru/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) #2 /var/www/www-root/data/www/codeseller.ru/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /var/www/www-root/data/www/codeseller.ru/wp-content/plugins/wp-recall/functions/files.php(57): do_action('rcl_include_tem...', 'pfm-single-post...', '/var/www/www-ro...') #4 /var/www/www-root/data/www/codeseller.ru/wp-content/plugins/wp-recall/add-on/prime-forum/functions-templates.php(117): rcl_include_template('pfm-single-post...', '/var/www/www-ro...') #5 /var/www/www-root/data/www/codeseller.ru/wp-content/plugins/wp-recall/add-on/prime-forum/themes/prime-first/templates/pfm in /var/www/www-root/data/www/codeseller.ru/wp-content/themes/codeseller/includes/adv.php on line 15