Ребят, подскажите по моему вопросу выше, как поправить ошибки
Ребят, да не будет возвратов. Я с ними работал очень долго, как и с пятью другими фин. агрегаторами, которые слились - им проще так же слиться, учитывая, что 60% рынка они точно уже про..бали.
Это Индекс с внешнего шаблона.
Что там куда прописать или перезелить?
Ребята, такая проблема: может кто-что подскажет-поможет.
Поставил на хост вордпресс, заинсталлил, создал базу-юзера. Стала показываться дефолтная страничка индекса. Далее залил туда скачанную тему и выдало такую ошибку:
Fatal error: Uncaught Error: Call to undefined function smart_casa_get_theme_option() in /storage/ssd2/111/12584111/public_html/index.php:15 Stack trace: #0 {main} thrown in /storage/ssd2/111/12584111/public_html/index.php on line 15
Примечание - пути вообще не мои, и мало того - я такие пути не нашел ни в одном файле на хосте ТоталКоммандером. Они скорее всего принадлежат скачанной теме, но вот где они прописаны, как их поменять на свои или Определить функцию - не знаю
Сам код странички индекс.пхп
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
* Learn more: http://codex.wordpress.org/Template_Hierarchy
* @package WordPress
* @subpackage SMART_CASA
* @since SMART_CASA 1.0
*/
if ( substr(smart_casa_get_theme_option('blog_style'), 0, 7) == 'classic' )
get_template_part( 'index', 'classic' );
else if ( substr(smart_casa_get_theme_option('blog_style'), 0, 7) == 'masonry' )
else if ( substr(smart_casa_get_theme_option('blog_style'), 0, 7) == 'gallery' )
get_template_part( 'index', 'portfolio' );
else if ( substr(smart_casa_get_theme_option('blog_style'), 0, 9) == 'portfolio' )
else if ( substr(smart_casa_get_theme_option('blog_style'), 0, 5) == 'chess' )
get_template_part( 'index', 'chess' );
else
get_template_part( 'index', 'excerpt' );
?>
Помогите - куда копать, что делать? Заранее спасибо!