• Hey folks,

    I’ve seen similar issues as this around, however, none of those solutions seem to have worked for me. I may be implementing them wrong as I’m not used to implementing php, but I certainly know how to paste things into the functions file, or create a home.php in the themes directory, and nothing has worked so far.

    In short, I have a blog page here: About Equity in the News

    I would like this blog to have a separate title that appears, tagged as Heading 1, just above the list of articles. My attempts to make this happen using various help topics have not met any productive results, outside of the title of the first article appearing oddly in the margins (still need to trace my steps better so I can get rid of that).

    I’m using a theme called Webflow and I’ve done a bit of customization in the style.css file to make things appear just right.

    This is index.php

    <?php
    global $themeple_config;
    
        do_action('themeple_routing_frontpage');
    
        get_template_part('template', 'blog');
    
    ?>
    <h2><?php echo get_the_title($page_id) ?></h2>

    I could give the code for the stylesheet as well, though that’s obviously bigger. I’m not sure what I’m missing and I’m so tired of this project. Please help. Thank you.

Viewing 1 replies (of 1 total)
  • Hello hypester,

    Having a dynamaically generated <H1> title is a bit working the wrong way around, because if theme is well written, it already has an <H1> title, the post title on every post.

    While your idea might have some interest to provide more information or so, it will certainly ruin your SEO efforts for all site because Google sanction heavily pages or posts with double <H1> titles/headings (and not only with WordPress).

    You should reconsider your project, I think,

    Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Blog Title on Posts Page’ is closed to new replies.