A
A
Alexey2021-11-04 14:13:31
WordPress
Alexey, 2021-11-04 14:13:31

How to properly edit reverse pages in WP?

How to properly edit reverse pages in WP? Content is being pulled <?php echo get_post_meta( $post->ID, 'preview_company_image', true ); ?> <?php echo the_title(); ?> <?php the_content(); ?> I can't understand from where, I start changing one block and others change. Content is pulled from two files and connected:

while ( $posts_query->have_posts() ) {
    $posts_query->the_post();
    $i ++;
    if( $i%2 ) {
        get_template_part( 'components/items/success_story' );
    } else {
        get_template_part( 'components/items/success_story-reverse' );
    }
}

How to do it right so that you can change the content of one block without changing the other, and where does the text and headings come from?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question