Motyw Artisteer + Custom Field Suite
-
Witam
Potrzebuję pomocy z motywem zrobionym w programie Artisteer. Chciałem dodać dodatkowe pola do motywu, ale niestety się rozjeżdża. Czy jest możliwość zmodyfikowania kodu tak by można było dodać te dodatkowe pola?Kod single.php
<?php /** * * single.php * * The single post template. Used when a single post is queried. * */ get_header(); ?> <?php get_sidebar('top'); ?> <?php if (have_posts()) { /* Display navigation to next/previous posts when applicable */ if (theme_get_option('theme_top_single_navigation')) { theme_post_navigation( array( 'next_link' => theme_get_next_post_link('%link »'), 'prev_link' => theme_get_previous_post_link('« %link') ) ); } while (have_posts()) { the_post(); get_template_part('content', 'single'); } /* Display navigation to next/previous posts when applicable */ if (theme_get_option('theme_bottom_single_navigation')) { theme_post_navigation( array( 'next_link' => theme_get_next_post_link('%link »'), 'prev_link' => theme_get_previous_post_link('« %link') ) ); } } else { theme_404_content(); } ?> <?php get_sidebar('bottom'); ?> <?php get_footer(); ?>
Chciałem dodać np.
<?php echo CFS()->get( 'tekst2′ ); ?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- Temat ‘Motyw Artisteer + Custom Field Suite’ jest zamknięty na nowe odpowiedzi.