• Resolved anujkmr47

    (@anujkmr47)


    how to remove site title in small blog theme plz tell me

Viewing 1 replies (of 1 total)
  • Theme Author monkey-themes

    (@monkey-themes)

    A possible solution.
    Remove the title on the page, single, and/or lists.

    1) Go to the themes path: wp-content -> themes -> smallblog -> template-parts -> content-heading.php
    2) Open the file content-heading.php with a editor.
    3.1) if you want remove the title on the page and single.

    <?php if ( !is_single() or !is_page() ) : ?>
        <h2 class="the-title">
            <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
                <?php the_title(); ?>
            </a>
        </h2>
    <?php endif; ?>

    3.2) if you want remove the title on the lists.

    <?php if ( is_single() or is_page() ) : ?>
        <header>
            <h1 class="the-title" role="heading">
                <?php the_title(); ?>
            </h1>
        </header>
    <?php endif; ?>

    3.3) Else you want remove both, remove all or comment the script.

    <?php /* if ( is_single() or is_page() ) : ?>
        ...
    <?php endif; */ ?>

Viewing 1 replies (of 1 total)
  • The topic ‘remove site title in small blog’ is closed to new replies.