• I was wondering if you knew where in Twenty Seventeen theme template I could only load the header and the title for the front page sections.

    I also want to add links to the feature image and the title to their respective pages. But with

    /content-front-page-panels.php
    /content-front-page.php
    /content-page.php

    While then are named quite well. But filtering out the content and just having the featured image and title. Need some assistance as to which lines and how it effects the front page sections loop.

    ps. Yes obviously I would create a child theme first.

Viewing 1 replies (of 1 total)
  • Thread Starter Robert Dall

    (@rdall)

    So I found out that TwentySeventeen was calling the post id for all the panels.

    So with some help from a friend we used get_permalink instead of the_permalink with echoed out the proper link to the post in the

    template-parts/page/content-front-page-panels.php

    template.

    See below:

    <a href="<?php echo get_permalink ( $post->ID ); ?>"><?php the_title( '<h2 class="entry-title">', '</h2>' ); ?></a>

    But also if you only want to show the featured image and the post title you would have to comment out the content around line 43 of the same

    template-parts/page/content-front-page-panels.php

Viewing 1 replies (of 1 total)
  • The topic ‘Front Page Sections editing’ is closed to new replies.