Okay
  Public Ticket #171848
Titles on parallax sections e.d.
Closed

Comments

  • Fons started the conversation
    Hi, I was wondering if it is possible to create titles on a parallax section. You have the ability to create a title and a subtitle in the WP dashboard, but when selecting that it should be a parallax section instead of default section the title disappears. But that's not what I want! ;) Hope to hear from you! Fons.
  • Fons replied

    Already fixed it -> add this to the container div from parallax-section.php:

     

    <?php if( get_post_meta( $post->ID, "newave_show_page_title", true ) == "yes" ){ ?>
                    <!-- Section Title -->
                    <div class="section-title">
                        <h1><?php the_title(); ?></h1>
                        <span class="border"></span>
                        <p><?php echo get_post_meta(get_the_ID(), 'newave_page_subtitle', true); ?></p>
                    </div>                
                    <!--/Section Title -->

    <?php } ?>

     

    GREAT! :)