the_expert for Landing page

  • Author
    Posts
  • #40958

    The site only pages! Announcements for pages not. Another lost a permanent link to the full page. The code needs to be fixed, please help.

    /**
     * text area output
     */
    if ( ! function_exists( 'fluida_lptext_output' ) ):
    function fluida_lptext_output( $data ){ ?>
    	<section class="lp-text" id="lp-text-<?php echo esc_attr( $data['id'] ); ?>"<?php if( ! empty( $data['image'] ) ) { ?> style="background-image: url( <?php echo esc_url( $data['image'] ); ?>);" <?php } ?> >
    		<?php if( ! empty( $data['image'] ) ) { ?><div class="lp-text-overlay"></div><?php } ?>
    			<div class="lp-text-inside">
    				<?php if( ! empty( $data['title'] ) ) { ?><h2 class="lp-text-title"><?php echo wp_kses_post( $data['title'] ) ?></h2><?php } ?>
    				<?php if( ! empty( $data['text'] ) ) { ?><div class="lp-text-content"><?php echo do_shortcode( $data['text'] ) ?></div><?php } ?>
    			</div>
    
    	</section><!-- .lp-text-<?php echo esc_attr( $data['id'] ); ?> -->
    <?php
    } // fluida_lptext_output()
    endif;
    • This topic was modified 7 years ago by Viher.
Viewing 1 post (of 1 total)

The topic ‘the_expert for Landing page’ is closed to new replies.